Mudanças entre as edições de "MediaWiki:Common.js"
Ir para navegação
Ir para pesquisar
| Linha 28: | Linha 28: | ||
}); | }); | ||
} | } | ||
| − | + | ||
| − | + | window.dataLayer = window.dataLayer || []; | |
| − | + | function gtag(){dataLayer.push(arguments);} | |
| − | + | gtag('js', new Date()); | |
| − | + | gtag('config', 'UA-30251045-5'); | |
Edição das 12h03min de 4 de março de 2020
/* Códigos JavaScript aqui colocados serão carregados por todos aqueles que acessarem alguma página deste wiki */
$.ajaxSetup({
cache: true
});
if( typeof pokedex !== 'undefined' ) {
pokedex.process_text('name');
pokedex.process_icon();
}
else {
$.getScript( "https://pokerag.com.br/sapphire/js/const.js", function( data, textStatus, jqxhr ) {
$.getScript( "https://pokerag.com.br/sapphire/js/db_map.js", function( data, textStatus, jqxhr ) {
$.getScript( "https://pokerag.com.br/sapphire/js/db_item.js", function( data, textStatus, jqxhr ) {
$.getScript( "https://pokerag.com.br/sapphire/js/db_skill.js", function( data, textStatus, jqxhr ) {
$.getScript( "https://pokerag.com.br/sapphire/js/db_pokemon.js", function( data, textStatus, jqxhr ) {
$.getScript( "https://pokerag.com.br/sapphire/js/iteminfo.js", function( data, textStatus, jqxhr ) {
$.getScript( "https://pokerag.com.br/sapphire/js/skillinfo.js", function( data, textStatus, jqxhr ) {
$.getScript( "https://pokerag.com.br/sapphire/js/pokedex.js", function( data, textStatus, jqxhr ) {
pokedex.process_text('name');
pokedex.process_icon();
});
});
});
});
});
});
});
});
}
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-30251045-5');