99d15c1 Add support for customizing settings for file:// scheme

Authored and Committed by Libor Polčák 2 years ago
    Add support for customizing settings for file:// scheme
    
    Replace wwwRemove by getSiteForURL and centralize the copy&pasted task
    of copying the creation of URL object.
    
    See https://github.com/polcak/jsrestrictor/issues/180 for more details.
    Github: Fixes #180
    
        
file modified
+8 -3
file modified
+1 -1
file modified
+1 -1
file modified
+1 -1