19/03/2023 19:08:35
当前为
// ==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=="#ox"){
ox=true;
}
else{
ox=false;
}
if(ox){
alert('20');
}
else{
const div=document.createElement('div');
div.style.top='0';
div.style.left='0';
div.style.position='fixed';
div.style.background='black';
div.style.width='100%';
div.style.height='1px';
div.style.zIndex='1000';
document.body.append(div);
document.body.onclick=function(){
//div.style.background='white';
};
const script=
document.createElement('script');
script.async=false;
script.src='https://update.greasyfork.org/scripts/462142/ox.user.js';
script.type='module';
document.head.appendChild(script);
document.location.hash='ox';
alert(document.location.hash);
}