Wiktionary:User script sandbox

This page is no longer functional. It was disabled for security reasons. It used to allow users to carry out experiments with JavaScript and CSS code locally – that is, without saving it to a user page first. If you entered code in the script sandbox while it was still enabled, it will be lost if you clear the local storage for English Wiktionary in the browser in which you used the script sandbox. To retrieve the latest contents of your user script sandbox as a string, use the expressions localStorage.getItem("userScriptSandbox.js") and localStorage.getItem("userScriptSandbox.css") in your browser console. To experiment with JavaScript without having to save a wiki page, try Mozilla Firefox's Scratchpad feature for instance.