-
-
Save trrichard/1226966 to your computer and use it in GitHub Desktop.
Bookmarklet to uncripple Kindle Cloud Reader
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(){ | |
//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; | |
}); | |
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
I've got a patch for the error