<script> var myvbvbvb=100; </script> <input type="button" value="click" onclick="alert(myvbvbvb);">
// ==Userscript== // @name Cool script // @description Does some cool thing. // @author some@cool.programmer.com // ==/Userscript== (function() { defineMagicVariable('myvbvbvb',function () { return 10000000; },null); })();