您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Restores the old look of many websites by making things square
- // ==UserScript==
- // @name Squarifier
- // @namespace http://tampermonkey.net/
- // @version 0.0
- // @description Restores the old look of many websites by making things square
- // @author Vacuum_Tube_Gaming
- // @match *://*/*
- // @icon https://pixfeeds.com/images/science/physics/1280-146879596-vacuum-tube.jpg
- // @grant none
- // @license MIT
- // ==/UserScript==
- //most efficient code ever:
- var i = 1;
- function myLoop() {
- setTimeout(function() {
- var all = document.getElementsByTagName("*");
- for (var st=0, max=all.length; st < max; st++) {
- all[st].style.borderRadius = '0px';
- }
- console.log("changed")
- i++;
- if (0 < 1) {
- myLoop();
- }
- }, 1000)
- }
- myLoop();