Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //RU-Wikipedia blackout URL-bar js-workout
- //Tested on Google Chrome. Firefox' firebug will evaluate this in case of address-bar problems
- //Usage: go to any ru.wikipedia.org article, paste this into address-bar of your browser.
- //Google Chrome will cut "javascript:" pseudo-protocol if you paste this code directly. So be sure to type it in manually.
- javascript:var ids = ['firstHeading','mw-panel','footer','catlinks','bodyContent','mw-dismissable-notice']; while((el=ids.pop())!==undefined){ var element=document.getElementById(el);if (element !== null){element.style.display = 'block'};}false;
- //Anyway, changing 'ru.wikipedia' with 'ru.m.wikipedia' will give you full-blown mobile version which is not blacked out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement