Is it possible?
Yes, in theory, it is possible to define a checksum for the index page of a website. If browser vendors wanted to support such a thing, it could definitely be done. Similar mechanisms for SRI and CSP already exist.
It doesn't make any sense. /index.html pages used to be integral parts of the web, back when it was mostly static. ...
Is this a sufficient check?
No, your check is flawed.
An attacker can bypass the validation via e.g.:
This URL resolves to the origin attacker.example, but satisfies url.includes('https://www.trusted.com/').
If not, then how might I do it properly?
E.g. use URL.origin. If url is the URL string, you ...
In my opinion, it's a problem that NoScript cannot solve.
The Cloudfront URL is a unique identifier for namecheap' CDN.
There is nothing to worry about these urls.
Regarding your question why to use such URL: my guess is that they don't use Cloudfront for their entire website (maybe not AWS at all). So they only use Cloudfront for their assets.
Although I don't see it your screenshot if the Cloudfront URL is used ...
Clear SSL Certificate Cache:
Press Windows + R type “inetcpl.cpl” and click ok. This will open Internet Properties.
Switch to the Content tab, then click on Clear SSL state
Now click Apply followed by OK.
Reboot your PC to take effect the changes,
Now open chrome browser and check there is no more errors.
Open up the developer tools on your browser next time you visit a site - even sites not deriving their income from targeted advertising will be accessing resources on public repositories, calling analytics and doing other thngs than just accessing the site you typed in the URL.
The problem is that cookies are browser-wide. So if some script sends a request to a website the session cookies get sent.
If you want to sandbox the websites this would have to mean that cookies are now only for one sandbox and would require that the user explicitly selects a sandbox. Firefox actually has something similar now. It's called containers but ...
Brave developer here. We do not try to conceal whether you have used Tor or not -- that would be a little difficult. We do, however, avoid storing your private browsing history. If you find evidence of your private browsing history stored there, please let us know or file a bug.
You appear to be using a slightly older version of Brave (1.0.0) from before ...