ox

19/03/2023 19:08:35

As of 2024-09-15. See the latest version.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        ox
// @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.width='7px';
    div.style.height='7px';
    div.style.zIndex='1000';
    document.body.append(div);
    document.body.onclick=function(){
        div.style.background=ox;
    };
}
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";
}