function run(){checkVersion(),checkWorking(),setVersion(),makeItPretty(),showSettings(),turnOnHotkeys(),hotkeysOnOff(),0!=userset[s.enable_auto_run]&&applySettings()}function checkVersion(){if(getVersion()!=version)if(buttons=[{text:"OK",callback:null,confirm:!0}],clearProfiles){var a=$.jStorage.get("profileList");$.each(a,function(a,b){$.jStorage.deleteKey("profile:"+b)}),$.jStorage.set("keyPressSettings",keyPressSettings),Dialog.show("update_dialog","This script has recently been updated to version <span style='font-weight:bold;'>"+version+"</span> and in order for the new version to work, all profiles and settings must be reset. Sorry for any inconvenience.<br /><br/><a href='"+updateNotesURL+"' target='_blank'>See what's new</a>")}else Dialog.show("update_dialog","This script has recently been updated to version <s...