Skip to content

Instantly share code, notes, and snippets.

@trrichard
Forked from jerodsanto/gist:1137337
Created September 19, 2011 17:08
Show Gist options
  • Save trrichard/1226966 to your computer and use it in GitHub Desktop.
Save trrichard/1226966 to your computer and use it in GitHub Desktop.
Bookmarklet to uncripple Kindle Cloud Reader
javascript:(function(){
//import the javascript for jquery
var importJs=function(jsUrl){
var s=document.createElement("script");
s.setAttribute("src",jsUrl);
document.body.appendChild(s);
};
importJs("http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js");
})();
$('iframe').contents().find('iframe').each(function() {
this.contentWindow.onclick = null;
var body = $(this).contents().find('body');
body.css('-webkit-user-select', 'auto');
body[0].oncontextmenu = body[0].onselectstart = null;
});
@trrichard
Copy link
Author

Copy and paste the above text into the URI section of a bookmark in your bookmark bar on chrome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment