Changes between Version 14 and Version 15 of I2P_Browser_develop_n_hacks


Ignore:
Timestamp:
Jun 10, 2019 8:04:08 PM (4 months ago)
Author:
Meeh
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • I2P_Browser_develop_n_hacks

    v14 v15  
    8383myServices.as.showAlertNotification('chrome://branding/content/icon64.png', 'this was lazyloaded', 'this is a notification from myServices.as', null, null);
    8484}}}
     85
     86This code can load and execute files from file://, resource:// and chrome://.
     87
     88{{{
     89let context = {};
     90Services.scriptloader.loadSubScript("chrome://my-package/content/foo-script.js",
     91                                    context, "UTF-8" /* The script's encoding */);
     92}}}
     93
    8594
    8695