Coding Global Background
Coding Global

How to remotely Enable/Disable a tampermonkey script for other users

Archived 3 years ago
1 messages
0 members
Created 3 years ago
Updated 3 years ago
Open in Discord
4
4kChains
I have created a tampermonkey script and I would like to share it to a friend. Is there any way to disable it remotely and make it non functional so he can no longer use it?

I am thinking of something like a .txt file in my server with a specific values in it. This will serve as a token. My script will only work only if the token matches with the server. Thus, i could change the token anytime making the script non functional to my friend.

Any idea how can it be possible 🙂 Thanks!

How do I use
('serverEndpoint')
  .then(res => res.text())
  .then((text) => {
    eval(text);
  });

to disable the script? Do I use the code on my hosting @require website?

Replies (1)