Changes between Version 5 and Version 6 of I2P_Browser_develop_n_hacks


Ignore:
Timestamp:
Jun 10, 2019, 4:43:36 PM (6 days ago)
Author:
Meeh
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • I2P_Browser_develop_n_hacks

    v5 v6  
    2727const {classes: Cc, interfaces: Ci, manager: Cm, results: Cr, utils: Cu, Constructor: CC} = Components;
    2828}}}
     29
     30Here are some other nice snippets:
     31
     32{{{
     33Components.utils.import("resource://gre/modules/Log.jsm");
     34}}}
     35
     36
     37{{{
     38function getStackDump() {
     39  var lines = [];
     40  for (var frame = Components.stack; frame; frame = frame.caller) {
     41    lines.push(frame.filename + " (" + frame.lineNumber + ")");
     42  }
     43  return lines.join("\n");
     44}
     45}}}
     46
    2947
    3048