ox

19/03/2023 19:08:35

As of 2024-08-27. See the latest version.

// ==UserScript==
// @name        ox
// @namespace   Violentmonkey Scripts
// @match       *://*/*
// @grant       none
// @version     8.27
// @author      Sal R.
// @description 19/03/2023 19:08:35
// @license MIT
// ==/UserScript==
// ox.user.js
var ox;
if(document.location.hash=="#111"){
    ox=true;
}
else{
    ox=false;
}
if(ox){
    const div=document.createElement('div');
    div.style.top='0';
    div.style.left='0';
    div.style.position='fixed';
    div.style.background='black';
    div.style.width='100px';
    div.style.height='100%';
    div.style.zIndex='1000';
    document.body.append(div);
    document.body.onclick=function(){
        div.style.background='#111';
    };
    document.location.hash='';
}
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='111';
}