MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
console.log('commons.js'); | |||
setTimeout(function(){$('iframe').each(function(i, elem){console.log(elem);if($(elem).attr('title') === 'Google Anzeigen'){$(elem).remove()}})}, 5000); | setTimeout(function(){$('iframe').each(function(i, elem){console.log(elem);if($(elem).attr('title') === 'Google Anzeigen'){$(elem).remove()}})}, 5000); |
Revision as of 13:20, 26 September 2023
/* Any JavaScript here will be loaded for all users on every page load. */ console.log('commons.js'); setTimeout(function(){$('iframe').each(function(i, elem){console.log(elem);if($(elem).attr('title') === 'Google Anzeigen'){$(elem).remove()}})}, 5000);