File tree 2 files changed +8
-0
lines changed
code/controllers/subsystem 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,13 @@ SUBSYSTEM_DEF(tgui)
30
30
polyfill = " <script>\n [ polyfill] \n </script>"
31
31
basehtml = replacetextEx(basehtml, " <!-- tgui:inline-polyfill -->" , polyfill)
32
32
33
+ / datum / controller/ subsystem/ tgui/ can_vv_get(var_name)
34
+ if (var_name == " basehtml" )
35
+ return FALSE // No security implication here, it just spams the fuck out of the UI
36
+
37
+ return .. ()
38
+
39
+
33
40
/ datum / controller/ subsystem/ tgui/ Shutdown()
34
41
close_all_uis ()
35
42
Original file line number Diff line number Diff line change 340
340
var node = document . createElement ( 'link' ) ;
341
341
node . type = 'text/css' ;
342
342
node . rel = 'stylesheet' ;
343
+ node . crossOrigin = 'anonymous' ;
343
344
node . href = url ;
344
345
// Temporarily set media to something inapplicable
345
346
// to ensure it'll fetch without blocking render
You can’t perform that action at this time.
0 commit comments