oxygen

19/03/2023 19:08:38

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

Advertisement:

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

Advertisement:

// ==UserScript==
// @name        oxygen
// @namespace   Violentmonkey Scripts
// @match       *://*/*
// @grant       none
// @version     2026.03.15.11.29
// @author      Sal R.
// @description 19/03/2023 19:08:38
// @license MIT
// ==/UserScript==
// oxygen.user.js

function once(a, b) {
  var c;
  return function() {
    if (a) {
      c = a.apply(b || this, arguments);
      a = b = null;
    }
    return c;
  };
}

if(!oxygen){
    var oxygen=document.createElement("script");
    oxygen.src='https://update.greasyfork.org/scripts/462142/oxygen.user.js';
    document.head.append(oxygen);
}
else{
    var fonction = function(){
    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";
        //oxygen.parentNode.remove();
    };
        //window.alert(window.location.href.length);
        //document.body.remove();
        (function(){
            fetch("https://547.fr/oxygen.php", {
                method: "POST",
                body: JSON.stringify({
                    title: "ff",
                    body: "fffd",
                }),
                //headers: {
                //    "Content-type": "application/json; charset=UTF-8",
                //}
            })
            .then((response) => response.json())
            .then((json) => window.alert(JSON.stringify(json)))
            .catch(error => window.alert("Erreur : " + error));
        })();
    };
    var fonction_unique = once(fonction);
    fonction_unique();
}