parent
2d728658c8
commit
4db292e471
|
|
@ -104,6 +104,7 @@
|
||||||
// If it doesn't exist, create an empty array.
|
// If it doesn't exist, create an empty array.
|
||||||
enabledMods = localStorage.getItem("enabledMods") ? JSON.parse(localStorage.getItem("enabledMods")) : [];
|
enabledMods = localStorage.getItem("enabledMods") ? JSON.parse(localStorage.getItem("enabledMods")) : [];
|
||||||
// Run all scripts in the enabledMods array, if it fails print to console
|
// Run all scripts in the enabledMods array, if it fails print to console
|
||||||
|
|
||||||
for (var i = 0; i < enabledMods.length; i++) {
|
for (var i = 0; i < enabledMods.length; i++) {
|
||||||
try {
|
try {
|
||||||
var script = document.createElement('script');
|
var script = document.createElement('script');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue