You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Dev/index.js
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,8 @@ function a(){
86
86
if(url&&(url[0]==='?'||url[0]==='!')){
87
87
if(acceptedDev===undefined){
88
88
constsession=GitHubApi.getSessionStorage();
89
-
acceptedDev='I accept unsandboxed sources'===(prompt('By having exclamation (!) and question (?) marks first in the URL you side steps all security features and you do so at your own risk. Only do this to URLs for code that you trust.\n\nWrite "I accept unsandboxed sources" to allow unsandboxed sources.')??'').toLowerCase();
89
+
constpassphrase='I accept unsandboxed sources';
90
+
acceptedDev=(prompt('By having exclamation (!) and question (?) marks first in the URL you side steps all security features and you do so at your own risk. Only do this to URLs for code that you trust.\n\nWrite "'+passphrase+'" to allow unsandboxed sources.')??'').toLowerCase()===passphrase.toLowerCase();
session.externalReplaysAccepted='I accept external replay viewers'===(prompt('External replays are by default blocked for security reasons. do so at your own risk. Only do this to URLs for code that you trust.\n\nWrite "I accept external replays" to allow external replay viewers.')??'').toLowerCase();
session.externalReplaysAccepted=(prompt('External replays are by default blocked for security reasons, since they are outside of AI-Tournaments control. So use them at your own risk. Only do this to URLs for code that you trust.\n\nWrite "'+passphrase+'" to allow external replay viewers.')??'').toLowerCase()===passphrase.toLowerCase();
0 commit comments