Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //ilive.to
- //When on ilive.to on chrome, press F12, and navigate to the 'CONSOLE' tab an past the following below to restore the mouse //clicking functionality to default.
- //Or, you can put this in a userscript, but you will require the meta block and such.
- var body = document.getElementsByTagName("body")[0];
- if (body != undefined){ //bit of a dumb check, but still
- body.oncontextmenu = "return true;"
- body.onselectstart = "return true;"
- body.ondragstart = "return true;"
- body.oncopy = "return true;"
- body.oncut = "return true;"
- console.log("Right click functions restored");
- alert("All mouse click functions restored");
- }else{
- console.log("Body not found");
- alert("Body not found");
- }
Add Comment
Please, Sign In to add comment