Difference between revisions of "User:Fjorge/Testing"
m (U55492223 moved page User:Fjorge/Sturmtiger to User:Fjorge/Testing) |
|||
Line 1: | Line 1: | ||
+ | <!-- | ||
+ | document.querySelectorAll('.general_info_game_button');for(var i=0;i<el.length;i++){el[i].onclick=function(e){var divc=document.createElement('div');divc.innerHTML=popup_html;document.querySelector('.content-area').appendChild(divc);document.querySelector('.ogp_button').onclick=function(){if(typeof yaCounter48855122!='undefined'){yaCounter48855122.reachGoal('OIG_REG',{URL:document.location.href});}window.open('https://warthunder.com/en/play4free?r=wiki#');}};}}else{var el=document.querySelectorAll('.general_info_game_button');for(var i=0;i<el.length;i++){el[i].onclick=function(e){var xhr=new XMLHttpRequest();var unit_id=document.querySelector('.specs_card_main').getAttribute('data-code');if(typeof yaCounter48855122!='undefined'){yaCounter48855122.reachGoal('OIG_SHOW',{URL:document.location.href,CODE:unit_id});}xhr.open('GET','/Special:GameObjectView?object_id='+unit_id,false);xhr.send();try{var msg_container=document.querySelector('.general_info_message');if(xhr.status!=200){ | ||
+ | --> | ||
+ | <div class="specs_card_main" data-code="germ_sturmmorser_sturmtiger"> | ||
+ | <div class="general_info_game_button" title="Show in game"><span>Show in game</span></div> | ||
+ | </div> | ||
+ | <textarea> | ||
+ | </textarea> |
Revision as of 20:08, 12 November 2022
<textarea> </textarea>