User:Cristinac/Unlinking: Difference between revisions
(→==) |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
</gallery> | </gallery> | ||
[https://vimeo.com/125053588 video] | |||
========================== | ========================== | ||
Latest revision as of 15:01, 29 April 2015
==============
A script that will erase all links on a wikipedia page when the mouse hovers over it.
javascript:(function(){
var newscript =document.createElement('script');
newscript.type='text/javascript';
newscript.async=true;
newscript.src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js';
(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(newscript);
$("a").hover(something);
function something()
{$(this).hide();}
})();