How to verify using Greesemonkey script if user is logged in
Good day all coders..
I will be grateful if anyone there can help me with a solution.
What I am trying to achieve.
I have a personalized greesemonkey userscript that I want to offer to our site users. The script works on all websites.
Now, I want the script to verify if the user is logged in to our site or not.
The script should be effective only when the user is logged in.
This has become a privacy concern for us, and its required to prevent from free distribution of the script.
Is there any simple way to achieve?