Squarifier

Restores the old look of many websites by making things square

  1. // ==UserScript==
  2. // @name Squarifier
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.0
  5. // @description Restores the old look of many websites by making things square
  6. // @author Vacuum_Tube_Gaming
  7. // @match *://*/*
  8. // @icon https://pixfeeds.com/images/science/physics/1280-146879596-vacuum-tube.jpg
  9. // @grant none
  10. // @license MIT
  11. // ==/UserScript==
  12. //most efficient code ever:
  13. var i = 1;
  14. function myLoop() {
  15. setTimeout(function() {
  16.  
  17.  
  18. var all = document.getElementsByTagName("*");
  19.  
  20. for (var st=0, max=all.length; st < max; st++) {
  21. all[st].style.borderRadius = '0px';
  22. }
  23. console.log("changed")
  24.  
  25. i++;
  26. if (0 < 1) {
  27. myLoop();
  28. }
  29. }, 1000)
  30. }
  31.  
  32. myLoop();