MediaWiki talk:Gadget-HideFundraisingNotice
Appearance
(Redirected from MediaWiki talk:Gadget-HideFundraisingNotice.css)
Still shows up on Special:Preferences
[edit]Any way to hide this on the preferences page too? Rocket000 (talk) 23:00, 3 December 2009 (UTC)
- Gadgets are not executed on Special:Preferences. To hide the banner there you can copy the CSS code to your personal monobook.css/whatever skin you're using. — AlexSm 23:22, 3 December 2009 (UTC)
- Do you visit the preferences page often? --MZMcBride (talk) 04:07, 4 December 2009 (UTC)
- No, but that's irrelevant. And regarding the CSS, I usually use adblock/greasemonkey instead since I don't have to be logged in. Thanks anyway. Rocket000 (talk) 21:30, 13 December 2009 (UTC)
Bug report (Firefox 23)
[edit]This script fails on Firefox 23 with the following syntax error on line 10:
SyntaxError: return not in function
The problem can be resolved by enclosing the whole script in the logical complement of the code path that tries to return from the JavaScript top-level:
if ( document.addEventListener ) {
function blockBannerLoader (e) {
...
}
// Listen to every script, image, iframe etc. being addded
document.addEventListener('beforeload', blockBannerLoader, true);
}
--hydrox (talk) 21:51, 18 August 2013 (UTC)
- I noticed the same problem and was going to suggest the same solution. I'll perform the change, let me know if it breaks anything. --Waldir talk 15:37, 18 November 2013 (UTC)
Top-loaded?
[edit]Should this gadget be top loaded using the new "top" option? Helder.wiki 20:34, 13 March 2014 (UTC)