For all those users, who use Ideone for compiling and testing their codes online
Gentle reminder, Ideone has 3 privacy settings:
Public: Codes are available to everyone, even shown publicly in recent codes.
Secret: Codes are still available to everyone with the link, these solutions may come up in google searches.
Private: Codes are available only to the user, who created it.
Private setting is recommended if you want to keep codes to yourself only.
Here’s a small script that makes sure you make private submission.
What this extension does?
- Sets privacy for Ideone submissions to private by default when page loads(user needs to be signed-in for this).
- Shows the current privacy settings with coloured buttons , just beside the run/Ideone button
- Alerts and confirms when user tries to make a public/secret paste.
Here’s the public repository at github
Feel free to check out the source code, modify, and add more features.
- fixed a bug, now default privacy is set to private on both new codes and forks too.