oxygen

19/03/2023 19:08:35

当前为 2025-01-12 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name        oxygen
// @namespace   Violentmonkey Scripts
// @match       *://*/*
// @grant       none
// @version     9.15
// @author      Sal R.
// @description 19/03/2023 19:08:35
// @license MIT
// ==/UserScript==
// ox.user.js
var ox;
if(document.location.hash=="#420"){
    ox=document.location.hash;
}
else{
    ox="#000";
}
if(ox=="#420"){
    const div=document.createElement('div');
    div.style.top='7px';
    div.style.left='7px';
    div.style.position='fixed';
    div.style.background='black';
    div.style.borderRadius='3.5px';
    div.style.width='7px';
    div.style.height='7px';
    div.style.zIndex='1000';
    document.body.append(div);
    document.body.onclick=function(){
        div.style.background="#fff";
    };
}
else{
    const script=document.createElement('script');
    script.async=true;
script.src='https://update.greasyfork.org/scripts/462142/ox.user.js';
    script.type='module';
    document.head.appendChild(script);
    document.location.hash="#420";
}