MasterOpel

All JSToolbox Bookmarklets!

Sep 22nd, 2024 (edited)
193
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. JSToolbox Bookmarklets:
  2.  
  3.  
  4. Page Embedder -
  5. 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);}
  6.  
  7. Google (don't retain original content) -
  8. 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);
  9.  
  10. Google (retain original content) -
  11. 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);
  12.  
  13. Remove Google Search Embed -
  14. javascript:document.body.removeChild(document.querySelector("#___gcse_0"));
  15.  
  16. Save the Current Body -
  17. javascript:var storedBody = document.body;
  18.  
  19. Load the Saved Body -
  20. javascript:document.body = storedBody;
  21.  
  22. Page Blanker -
  23. javascript:document.body = document.createElement("body");
  24.  
  25. Redirector [You can change the URL!] -
  26. javascript:document.location.replace("https://google.com");
  27.  
  28.  
  29.  
  30. Dangerous Bookmarklets:
  31.  
  32. Browser Freezer [USE AT YOUR OWN DISCRETION!] -
  33. javascript:while(true) {console.log(Math.random());}
  34.  
  35. Browser Freezer (Full Power) [USE AT YOUR OWN DISCRETION!!!] -
  36. javascript:while(true) {console.log(Math.random() * Math.random() * Math.random());}
Advertisement
Comments
Add Comment
Please, Sign In to add comment