19/03/2023 19:08:38
// ==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();
}