Answer the question
In order to leave comments, you need to log in
Whitelist UserScript for Chromium?
We need a UserScript for Chromium that implements a white list ( ie pages from other domains should not be loaded ) for a dozen or two domains (including ajax, etc.).
Answer the question
In order to leave comments, you need to log in
> "When installing Whitelist for Chrome, your browser will warn you that this extension can access your data on all sites, and your browsing history."
---This is also true for userscripts - this is the nature of the scripting language: if you have access to the environment (the window of the site page), then you potentially get and change all the data on it.
The blocking extension, on the other hand, is more convenient because the script in it (background.js) runs before the page loads and can cancel the loading altogether. The userscript is launched at the end of the page (no options, well, or even later). Therefore, in order to prevent loading, it is necessary not to allow opening pages, i.e. analyze links of transitions and forms. In this system - it's very easy to have holes - the script won't be able to catch redirects. So it won't provide security. An extension (or application/app) - on the contrary, it can be built with security, except when malicious pages are caught after allowing them to be opened.
It is not entirely clear why the extension does not fit. Such a warning is for all extensions that have the following in their manifest:
"permissions": ["http://*/*"], etc.
To write such an extension, you need to have such rights.
If there is no trust in the author, then you can write an extension for Chrome yourself using webrequests: developer.chrome.com/extensions/webRequest.html
In my opinion, the simplest and iron option:
1. Register the IP of the required sites in hosts
2. Completely block outgoing connections to tcp / udp port (DNS) through the Windows firewall.
3. Close the local admin with some complex password.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question