Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- JSToolbox Bookmarklets:
- Page Embedder -
- javascript:var url = prompt("What website do you want to embed?");if(url != null){var iframe = document.createElement("iframe");iframe.src = "https://" + url.replaceAll("https://", "");iframe.title = url;iframe.frameBorder = 0;iframe.scrolling = "yes";iframe.style = "position: absolute; overflow: hidden; width: 100%; height: 100%; left: 0; right: 0; top: 0; bottom: 0;";iframe.width = "100%";iframe.height = "100%";document.body = document.createElement("body");document.body.appendChild(iframe);}
- Google (don't retain original content) -
- javascript:var GoogleEmbedScript = document.createElement("script");var GoogleEmbedDiv = document.createElement("div");GoogleEmbedScript.src = "https://cse.google.com/cse.js?cx=7553909a4c94c4d2d";GoogleEmbedDiv.className = "gcse-search";document.body = document.createElement("body");document.body.appendChild(GoogleEmbedScript);document.body.appendChild(GoogleEmbedDiv);
- Google (retain original content) -
- javascript:var GoogleEmbedScript = document.createElement("script");var GoogleEmbedDiv = document.createElement("div");GoogleEmbedScript.src = "https://cse.google.com/cse.js?cx=7553909a4c94c4d2d";GoogleEmbedDiv.className = "gcse-search";document.body.appendChild(GoogleEmbedScript);document.body.appendChild(GoogleEmbedDiv);
- Remove Google Search Embed -
- javascript:document.body.removeChild(document.querySelector("#___gcse_0"));
- Save the Current Body -
- javascript:var storedBody = document.body;
- Load the Saved Body -
- javascript:document.body = storedBody;
- Page Blanker -
- javascript:document.body = document.createElement("body");
- Redirector [You can change the URL!] -
- javascript:document.location.replace("https://google.com");
- Dangerous Bookmarklets:
- Browser Freezer [USE AT YOUR OWN DISCRETION!] -
- javascript:while(true) {console.log(Math.random());}
- Browser Freezer (Full Power) [USE AT YOUR OWN DISCRETION!!!] -
- javascript:while(true) {console.log(Math.random() * Math.random() * Math.random());}
Advertisement
Comments
-
- Thanks to Liviu Dragon on Stack Overflow for making Embedder possible!
Add Comment
Please, Sign In to add comment