moved user location plugin back to assets root so that it's not displayed in the iitc plugins section
This commit is contained in:
@ -191,8 +191,10 @@ public class IITC_WebViewClient extends WebViewClient {
|
||||
}
|
||||
|
||||
// inject the user location script if enabled in settings
|
||||
if (sharedPref.getBoolean("pref_user_loc", false))
|
||||
loadJS(path + "user-location.user.js", !dev_enabled, view);
|
||||
if (sharedPref.getBoolean("pref_user_loc", false)) {
|
||||
path = path.replace("plugins/", "");
|
||||
loadJS(path + "user-location.user.js", !dev_enabled, view);
|
||||
}
|
||||
}
|
||||
|
||||
// read a file into a string
|
||||
|
Reference in New Issue
Block a user