6b51fa8 Cache wrapping in background script

Authored and Committed by Libor Polčák 4 years ago
    Cache wrapping in background script
    
    A part of issue #40 handling.
    
    Background script caches the wrapping to be applied and also the
    information about CSP presence (#25). The hope is to improve speed and
    consequently, apply wrapping before page scripts kick in. Nevertheless,
    there the messages between background and page scripts is still
    asynchronous. Hence, the possibility to use or store unwrapped objects
    by page scripts early reamins. See #40 for more details.
    
        
file modified
+2 -2
file modified
+5 -3
file modified
+0 -11
file modified
+10 -14
file added
+128
common/inject.js common/borrowed.js
file renamed
+2 -1
file modified
+10 -2
file modified
+3 -197
file modified
+2 -2