Why no WEI?
To quote Greg Farough of the Free Software Foundation:
"Before serving a web page, a server can ask a third-party "verification" service to make sure that the user's browsing environment has not been "tampered" with. A translation of the policy's terminology will help us here: this Google-owned server will be asked to make sure that the browser does not deviate in any way from Google's accepted browser configuration."
This means that the verification service controlled by Google can and will be used to exclude certain configurations of web browser from accessing websites that implement WEI. This will empower Google to refuse attestation to web browsers with advert blocking, web browsers on operating systems other than Windows/Apple/Android, users with stricter privacy preferences, web archiving services, competitors to Google, and anyone else their verification server deems invalid.
We can expect that such power entrusted with one corporation will be used to attack anything that goes against their chief business interest - namely advertising. The effect of this will be a significant detriment to the open web.
What is No-WEI?
The banner will only show for Chrome users. It will explain very briefly and politely why they should consider another browser. There is also a link to an online resource that informs of the dangers posed by WEI.
Finally, there is an option to hide the banner, with this preference stored in localstorage. This option may be switched off; that depends how strongly you feel. To switch off the dismissal option, set
allowDismissal = false in
An example of how the banner will appear may be seen here. This example has UA detection turned off, so will be seen by all browsers.
First download it here: >> No-WEI Stable (Master) <<
example.html in the archive for an example. The exact steps follow anyway:
no-wei.js to your web page assets directory, then include a link to both in all your HTML documents/templates between the
<head> ... </head> tags.
Currently a bit basic but the most obvious way I could make it work without relying upon dependencies. No-WEI's user agent detection simply checks the UA string for telling keywords and then deducts which browser is in use.
We currently show the banner only to Chrome. This may change; we could include other browsers when their position on WEI becomes clear. Currently, no concrete position on WEI has been given for Edge, Opera or Safari (though Safari uses its own equivalent PATs that are allegedly more private).
Vivaldi will usually send the same user agent as Chrome, sorry Vivaldi users, you'll get the banner too. This is also a problem with Brave.
Sample User-Agent sources used for this project; it is MDN's fault if I got any wrong ;)
GET IT (Download latest stable release)
Further details and all my other software may be found at Thransoft.