Greasy Fork

Greasy Fork is available in English.

css

wen

目前为 2021-10-02 提交的版本。查看 最新版本

// ==UserScript==
// @name         css
// @namespace    http://tampermonkey.net/
// @version      0.12
// @description  wen
// @author       You
// @match        *:///C:/*/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        wen
// ==/UserScript==

(function() {
    'use strict';
javascript: (function () {
    if (typeof hasOutline == "undefined") window.hasOutline = false;
    document.querySelectorAll("*").forEach(item => {
        item.style.outline = window.hasOutline ? "none" : "1px solid #" + (~~(Math.random() * (1 << 24))).toString(16);  });
    window.hasOutline = !window.hasOutline;})();
    // Your code here...
})();