Last active
August 29, 2015 14:23
-
-
Save devinmancuso/ba9ef6521afc9e2e8679 to your computer and use it in GitHub Desktop.
Remove any spoilers from NBA http://watch.nba.com/nba/ homepage bookmarklet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(e,a,g,h,f,c,b,d){ | |
if(!(f=e.jQuery)||g>f.fn.jquery||h(f)){ | |
c=a.createElement("script"); | |
c.type="text/javascript"; | |
c.src="http://ajax.googleapis.com/ajax/libs/jquery/"+g+"/jquery.min.js"; | |
c.onload=c.onreadystatechange=function(){ | |
if(!b&&(!(d=this.readyState)||d=="loaded"||d=="complete")){ | |
h((f=e.jQuery).noConflict(1),b=1); | |
f(c).remove()}}; | |
a.documentElement.childNodes[0].appendChild(c) | |
} | |
}) | |
(window,document,"1.3.2",function($,L){ | |
$("#slideShow").remove(); | |
$(".videosContainer").remove(); | |
$( ".off" ).addClass( "selected" ); | |
$( ".on" ).removeClass( "selected" ); | |
}); | |
// Props to Ben Alman's bookmarklet boilerplate http://benalman.com/projects/run-jquery-code-bookmarklet/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!function(e,o,t,n,a,d,s,c){(!(a=e.jQuery)||t>a.fn.jquery||n(a))&&(d=o.createElement("script"),d.type="text/javascript",d.src="http://ajax.googleapis.com/ajax/libs/jquery/"+t+"/jquery.min.js",d.onload=d.onreadystatechange=function(){s||(c=this.readyState)&&"loaded"!=c&&"complete"!=c||(n((a=e.jQuery).noConflict(1),s=1),a(d).remove())},o.documentElement.childNodes[0].appendChild(d))}(window,document,"1.3.2",function(e){e("#slideShow").remove(),e(".videosContainer").remove(),e(".off").addClass("selected"),e(".on").removeClass("selected")}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment