Skip to content

Instantly share code, notes, and snippets.

@son0fhobs
Last active March 15, 2016 01:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save son0fhobs/8ed281e0f793625faae3 to your computer and use it in GitHub Desktop.
Save son0fhobs/8ed281e0f793625faae3 to your computer and use it in GitHub Desktop.
putlocker-shows
/* show menu */
/* jquerify first */
// bookmarklet
javascript:(function()%7Bfunction%20jqueryLoaded()%7B%24%3DjQuery%3Bvar%20e%3D%24(%22.content-box%22)%2Cr%3D%24(%22body%22)%3Br.children().remove()%2Cr.append(e)%2Ce.css(%7Bposition%3A%22relative%22%2Cmargin%3A%2240px%20auto%22%7D)%2C%24(%22%5Bid%5E%3DMarketGidScriptRoot%5D%22).nextAll().remove()%2C%24(%22%5Bid%5E%3DMarketGidScriptRoot%5D%22).remove()%2C%24(%22.abineContentPanel%22).remove()%2C_adr%3Dnull%2CantiClickjack%3Dnull%7Dif(%22function%22!%3Dtypeof%20jQuery)%7Bvar%20url%3D%22%2F%2Fajax.googleapis.com%2Fajax%2Flibs%2Fjquery%2F1.11.1%2Fjquery.min.js%22%2Cscript%3Ddocument.createElement(%22script%22)%3Bscript.src%3Durl%3Bvar%20head%3Ddocument.getElementsByTagName(%22head%22)%5B0%5D%3Bhead.appendChild(script)%2Cscript.onload%3DjqueryLoaded%7Delse%20jqueryLoaded()%7D)()
if(typeof jQuery !== 'function'){
var url = '//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js';
var script = document.createElement('script');
script.src = url;
var head = document.getElementsByTagName('head')[0];
head.appendChild(script);
script.onload = jqueryLoaded;
}else{
jqueryLoaded();
}
function jqueryLoaded(){
$=jQuery;
var $content = $('.content-box');
var $body = $('body');
$body.children().remove();
$body.append($content);
$content.css({'position':'relative','margin':'40px auto'});
$('[id^=MarketGidScriptRoot]').nextAll().remove();
$('[id^=MarketGidScriptRoot]').remove();
$('.abineContentPanel').remove(); // hidden, not sure
_adr = null;
antiClickjack = null;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment