Blocks websites from using javascript to port scan your computer/network and dynamically blocks all LexisNexis endpoints from running their invasive data collection scripts.
Describe the bug
There is a bug in the way hosts and ports are parsed and appended to the blocked_hosts local storage object. It adds additional \\\\\\\ until RAM is filled and the addon crashes.
Below is an example blocked hosts file with the error. You can cause the bug by going to http://samy.pl/webscan/ and then opening up about:debugging in your browser and viewing the extension storage in the storage tab.
Expected behavior
I believe the issue has to do with how tabs are managed. For example here is the blocked_ports object. See how each tab is numbered.
Here is the blocked_hosts object. See how there is only a single browser tab number which holds all the data. Also no data should be entered into the blocked_hosts object since no lexis nexis domains were requested.
Describe the bug There is a bug in the way hosts and ports are parsed and appended to the
blocked_hosts
local storage object. It adds additional\\\\\\\
until RAM is filled and the addon crashes.Below is an example blocked hosts file with the error. You can cause the bug by going to http://samy.pl/webscan/ and then opening up
about:debugging
in your browser and viewing theextension storage
in the storage tab.blocked_hosts.txt
Expected behavior I believe the issue has to do with how tabs are managed. For example here is the
blocked_ports
object. See how each tab is numbered.Here is the
blocked_hosts
object. See how there is only a single browser tab number which holds all the data. Also no data should be entered into theblocked_hosts
object since no lexis nexis domains were requested.