oxygen

19/03/2023 19:08:35

Från och med 2025-05-24. Se den senaste versionen.

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