tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

setting-members.js (761B)


      1 var exceptions = [];
      2 try { location.href = 1; } catch(e) { exceptions.push('href'); }
      3 try { location.protocol = 1; } catch(e) { exceptions.push('protocol'); }
      4 try { location.host = 1; } catch(e) { exceptions.push('host'); }
      5 try { location.hostname = 1; } catch(e) { exceptions.push('hostname');}
      6 try { location.port = 1; } catch(e) { exceptions.push('port'); }
      7 try { location.pathname = 1; } catch(e) { exceptions.push('pathname'); }
      8 try { location.search = 1; } catch(e) { exceptions.push('search'); }
      9 try { location.hash = 1; } catch(e) { exceptions.push('hash'); }
     10 
     11 postMessage([null, location.href, location.protocol, location.host,
     12             location.hostname, location.port, location.pathname,
     13             location.search, location.hash, exceptions]);