The Chromium circlejerk is back with blinky.js v2.0 and a warning banner in the nav bar, the blinky page was updated to talk about Manifest v3, several improvements were made to article metadata and background colors for browsers' auto dark theme were fixed

master
Gianmarco Gargiulo 2023-11-19 02:23:17 +01:00
parent 91be45cd80
commit 7ccaefb603
8 changed files with 122 additions and 44 deletions

View File

@ -7,28 +7,22 @@ draft: false
rss_ignore: true
---
## Update 2 nov 2023
Google [has announced that by June 2024 Chrome will be fully transitioned to **Manifest v3**](https://developer.chrome.com/en/blog/resuming-the-transition-to-mv3/), which will restrict the capabilities of extensions, **especially ad and tracker blockers** such as [uBlock Origin](https://ublockorigin.com/). These types of extensions work thanks to the Web Request API which will be replaced by the Declarative Net Request API which is much more limited than its predecessor, essentially making ad and tracker blockers **utterly useless**.
**The WEI repository has been archived** and its README file now says they've scrapped the idea and started working on some other DRM-like idea but that's confined to the Android WebView on devices with Google's services. Read more about it [here](https://android-developers.googleblog.com/2023/11/increasing-trust-for-embedded-media.html). I'm still not sure if I will be removing this Chrome block page yet.
Google Chrome retains around **66% of the global web browser market**, Google also has some of the **most popular online platforms and software** like their search engine, YouTube, AdSense, Maps, Gmail, Android and even the open source Chromium browser used as a base by many browsers such as Edge, Brave, Opera and Vivaldi, which means that any significant change that Google does to Chromium could end up downstream to these forks as well. By keeping to use their products, **you're encouraging them to tyrannize the internet**, a place that should be platform agnostic and encourage free exchange of ideas and creations. I don't mean to offend, I'm just saying you should seriously consider switching to the many alternatives so that you don't contribute to Google's monopoly.
---
Ad and tracker blockers are **an essential tool for protecting your privacy while browsing online**, so I heavily suggest you **switch to another browser that's not based on Chromium** in order to keep using more effective Mv2-based extensions, thus preserving your freedom and privacy. I have [this page](/other/swrecommendations) which is a series of software recommendations, including several non-Chromium browsers (under the Browsers section) and some privacy extensions (under the Privacy and security tools section). The uBlock team created [uBlock Origin Lite](https://chrome.google.com/webstore/detail/ublock-origin-lite/ddkjiahejlhfcafbddmgiahcphecmpfh) which is a limited version of uBlock Origin for Chromium derivatives that complies with Mv3, so it cannot be considered a real capable substitute for the regular version.
Google's new [**Web Enviromnent Integrity API**](https://github.com/RupertBenWiser/Web-Environment-Integrity) proposal (and ongoing implementation) is a serious threat to the open internet. It's described as a way to verify the validity and trustworthiness of a client when connecting to a website, but what this really means that it's pretty much **a DRM for the web** since Google could take advantage of it by making popular websites adopt the API and **forcing users of these websites to use Chrome and selected operating systems**. This also means that they're gonna force users to suffer **the Manifest v3 changes that stand in the way of the effectiveness of ad blockers** and get more advanced tracking with **a rate limiting of physical devices feature** [as described in the proposal](https://github.com/RupertBenWiser/Web-Environment-Integrity/blob/main/explainer.md#how-it-works).
Google Chrome retains around **66% of the global web browser market**, Google also has some of the **most popular online platforms** like their search engine, YouTube, AdSense, Maps, Gmail, Android and even the open source Chromium browser used as a base by many browsers such as Edge, Brave, Opera and Vivaldi, which means that any significant change that Google does to Chromium could end up downstream to these forks as well. There's also **Electron-based applications** that could be affected since it's essentially Chromium. By keeping to use their products, **you're encouraging them to tyrannize the internet**, a place that should be platform agnostic and encourage free exchange of ideas and creations. I don't mean to offend, I'm just saying you should seriously consider switching to the many alternatives so that you don't contribute to Google's monopoly.
There has to be a significant pushback for them to revert on the decision (luckily many major browser makers have publicly opposed to WEI), or at least to pretend to revert since part of the reason they're doing this is to **reimplement FLoC but in a more subtle way** (edit 19 Oct. 2023: [that's what they actually did](https://martech.org/google-is-rolling-out-topics-based-tracking-for-chrome/)) with the usual excuse of "ensuring users' security." This is how evil they are.
Here's some articles and videos to learn more about WEI:
- [Ars Technica: Googles nightmare “Web Integrity API” wants a DRM gatekeeper for the web](https://arstechnica.com/gadgets/2023/07/googles-web-integrity-api-sounds-like-drm-for-the-web/)
- [Defective by Design: "Web Environment Integrity" is an all-out attack on the free Internet](https://www.defectivebydesign.org/blog/web_environment_integrity_is_an_all_out_attack_on_free_internet)
- [It's FOSS: Google's New Web Environment Integrity Proposal Dismissed by Brave, Mozilla, and Vivaldi](https://news.itsfoss.com/google-controversial-tracker/)
- [Brodie Robertson (YT): Google's Web Environment Integrity Will Destroy The Web](https://www.youtube.com/watch?v=tm3gH-ycykw)
- [Louis Rossmann (YT): Google's trying to DRM the internet, and we have to make sure they fail](https://www.youtube.com/watch?v=0i0Ho-x7s_U)
- [Switched to Linux (YT): Google's Web DRM Proposal?](https://www.youtube.com/watch?v=ebTw7a5e8A0)
Here's some articles to learn more about Manifest v3:
- [Android Authority: Google's Manifest V3 changes will soon disable uBlock Origin on Chrome](https://www.androidauthority.com/google-chrome-manifest-v3-changes-3386506/)
- [The Verge: Google Chrome changes that could limit ad blockers are coming next year](https://www.theverge.com/2023/11/16/23964509/google-manifest-v3-rollout-ad-blockers)
# Yeah, okay, can you leave me alone?
Disable Javascript (it's used for a lot of garbage anyway), spoof your user agent or **switch to another browser**, my recommendations are [**LibreWolf**](https://librewolf.net) on desktop and [**IceRaven**](https://github.com/fork-maintainers/iceraven-browser) on Android, although [plain Firefox](https://www.mozilla.org/en-US/firefox/browsers/), other derivatives or other browsers should be fine too.
If you want the red banner at the top to go away, disable Javascript (it's used for a lot of garbage anyway), spoof your user agent or **switch to another browser**, my recommendations are [**LibreWolf**](https://librewolf.net) on desktop and [**IceRaven**](https://github.com/fork-maintainers/iceraven-browser) on Android, although [plain Firefox](https://www.mozilla.org/en-US/firefox/browsers/), other derivatives or other non-Chromium browsers should be fine too.
I'm sorry, but I'll keep being annoying to Chrome/Chromium users like you **until Google backs down with the proposal** or maybe I'll just keep doing this even further into the future, depends on my mood. If the proposal were to go through, **you should start to get used to sites blocking your browser like this**, user agent spoofing won't help you then.
Sorry for being annoying, it's just that sometimes you need to be harsh to get a message across, especially to normies who don't care about anything and just cope with whatever anti-consumer change happens in the whole IT industry, since they only care about their dopamine receptors being satisfied.
## I'm not actually using a Chromium derivative but I got a banner at the top telling me to go here / I'm using a Chromium derivative but I didn't get a banner at the top telling me to go here
Report this issue by [contacting me](/contact) or by opening an issue or a pull request on [the site's Git repo](https://git.gianmarco.gg/gianmarco/gmgsite). Refer to the paragraph above to bypass this page.

View File

@ -10,6 +10,8 @@ Wanna get in touch to help with my projects, or to get help with one of my proje
✉️ **Email**: me@gianmarco.gg 🟠 (🟢 if with PGP keys, see below)
✉️ **Fallback email if the main one has issues**: gsoftwares03@gmail.com 🔴 (🟢 if with PGP keys, see below)
🖥️ **Matrix**: [@gianmarco:gianmarco.gg](https://matrix.to/#/@gianmarco:gianmarco.gg) 🟢
Join my stupid random group chat: [#autisticslumber:gianmarco.gg](https://matrix.to/#/#autisticslumber:gianmarco.gg)

View File

@ -1,4 +1,7 @@
// please note,
// blinky.js v2.0, based on GlitchyZorua's nochrm.js from GitHub
// Dexrn: Maybe this should be in a seperate file so that it isnt inline on a bunch of random pages, and if IE doesnt support seperate JS files for whatever reason, I don't think it'll matter here because IE ≠ Chromium
// please note,
// that IE11 now returns undefined again for window.chrome
// and new Opera 30 outputs true for window.chrome
// but needs to check if window.opr is not undefined
@ -12,30 +15,70 @@ var isOpera = typeof window.opr !== "undefined";
var isIEedge = winNav.userAgent.indexOf("Edg") > -1;
var isIOSChrome = winNav.userAgent.match("CriOS");
if (isIOSChrome && !window.location.href.includes("blinky")) {
// fuck off
window.location.replace("/blinky");
if (isIOSChrome) {
// get out of my website
showNavWarn();
} else if(
isChromium !== null &&
typeof isChromium !== "undefined" &&
vendorName === "Google Inc." &&
isOpera === false &&
isIEedge === false &&
!window.location.href.includes("blinky")
isIEedge === false
) {
window.location.replace("/blinky"); // fuck off
showNavWarn(); // get out of my website
} else {
// not Google Chrome
}
// Dexrn: add disallowed ones here.
var disallowedagents = [
'Edg',
'Chrome',
'EdgA',
'OPR'
];
// Dexrn: IDK if you will use this but you can also whitelist certain words in useragents and if the useragent string contains one in this exceptions list then the user will not be redirected
var allowedagents = [
]
var isDisallowed = disallowedagents.some(agent => window.navigator.userAgent.includes(agent));
var isAllowed = allowedagents.some(agent => window.navigator.userAgent.includes(agent));
if (isDisallowed && !isAllowed) {
showNavWarn()
}
// I'm leaving this (the above code for backwards compatiblity with older chromium based shit browsers that don't support navigator.userAgentData.brands
function isChromiumGoFuckYourselfMicrosoftEdge() {
for (brand_version_pair of navigator.userAgentData.brands) {
if (brand_version_pair.brand == "Chromium" && !window.location.href.includes("blinky")){
// fuck off
window.location.replace("/blinky");
for (brand_version_pair of window.navigator.userAgentData.brands) {
if (brand_version_pair.brand == "Chromium"){
// get out of my website
showNavWarn();
}
}
}
isChromiumGoFuckYourselfMicrosoftEdge(); // yeah i know its a fucking hack. but edge pulled my hand.
// ok so apparently fucking microsoft edge was able to bypass this.
// this is a hack, but it should work.
isChromiumGoFuckYourselfMicrosoftEdge();
// shitty code by GlitchyZorua.
// Function for showing the warning in the nav bar
async function showNavWarn() {
if (!window.location.href.includes("blinky")){
await new Promise(resolve => setTimeout(resolve, 2000));
document.getElementById("banner-small").style.display = "flex";
}
}
// Function to close the warning with the disappearing animation
async function hideNavWarn() {
var x = document.getElementById("banner-small")
x.style.animation = "banner-small-disappear .2s ease";
await new Promise(resolve => setTimeout(resolve, 180));
x.style.display = "none";
}
// ITS TWO DIFFERENT FUCKING CHECKS OFC THIS IS GOING TO WORK AAAAAAAA

View File

@ -61,6 +61,44 @@
margin-bottom: 50px;
}
#banner-small { // The small banner for the Chromium warning.
border-radius: 6px;
background-color: #661a16;
color: white;
padding: 3px;
padding-left: 10px;
padding-right: 10px;
width: auto;
height: auto;
display: none; // Default value, blinky.js will change it.
flex-direction: column;
align-items: center;
justify-content: space-between;
margin-left: 20px;
margin-right: 20px;
margin-bottom: 50px;
font-family: Roboto;
animation: banner-small-appear .3s ease;
}
@keyframes banner-small-appear {
0% {
transform: scale(0);
}
100% {
transform: scale(1);
}
}
@keyframes banner-small-disappear {
0% {
transform: scale(1);
}
100% {
transform: scale(0);
}
}
#banner:hover img {
display: none;
}

View File

@ -1701,7 +1701,7 @@ h5,h6{
overflow:inherit;
margin:0 25px 50px;
padding:25px;
background:linear-gradient(140deg,#191b1f,#090a0b);
background:linear-gradient(140deg,#1e1e1e,#090a0b);
border-radius:3px;
& a{
transition:all .2s ease-in-out;
@ -2236,7 +2236,7 @@ h5,h6{
@media (prefers-color-scheme:dark){
body{
color:hsla(0,0%,100%,.75);
background:#191b1f
background:#1e1e1e
}
img{
opacity:.9
@ -2245,7 +2245,7 @@ h5,h6{
background:rgba(0,0,0,0)
}
.post-feed{
background:#191b1f
background:#1e1e1e
}
.post-card,
.post-card:hover{
@ -2261,19 +2261,19 @@ h5,h6{
}
}
.post-card-image{
background:#191b1f
background:#1e1e1e
}
.post-card-title{
color:#e5e5e5
}
.author-avatar,
.static-avatar{
border-color:#191b1f
border-color:#1e1e1e
}
.post-full-content,
.post-template .site-main,
.site-main{
background:#191b1f;
background:#1e1e1e;
}
.post-full-title{
color:hsla(0,0%,100%,.9)
@ -2323,10 +2323,10 @@ h5,h6{
& table{
& td{
&:first-child{
background-image:linear-gradient(90deg,#191b1f 50%,rgba(25,27,31,0));
background-image:linear-gradient(90deg,#1e1e1e 50%,rgba(25,27,31,0));
}
&:last-child{
background-image:linear-gradient(270deg,#191b1f 50%,rgba(25,27,31,0));
background-image:linear-gradient(270deg,#1e1e1e 50%,rgba(25,27,31,0));
}
}
& th{
@ -2351,7 +2351,7 @@ h5,h6{
}
.site-archive-header .no-image{
color:hsla(0,0%,100%,.9);
background:#191b1f;
background:#1e1e1e;
& .site-header-content{
border-bottom-color:#3b404a;
}

View File

@ -13,7 +13,7 @@
<meta name="og:title" property="og:title" content="{{ .Title }}">
<meta property="og:description" content="{{ .Description }}">
<meta name="twitter:description" property="twitter:description" content="{{ .Description }}">
<meta name="og:image" content="https://gianmarco.gg/me.png">
{{ if .Param "thumbnail" }}<meta name="og:image" content="{{ .Params.thumbnail }}">{{ else }}<meta name="og:image" content="/me.png">{{ end }}
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
@ -24,7 +24,7 @@
<link rel="stylesheet" href="{{ $styles.RelPermalink }}" />
<script data-isso="//isso.gianmarco.gg/" data-isso-css-url="{{ $styles.RelPermalink }}" src="//isso.gianmarco.gg/js/embed.min.js"></script>
<!-- <script src="/js/blinky.js"></script> -->
<script src="/js/blinky.js"></script>
</head>
<body class="{{ block "body_class" . }} {{ end }}">

View File

@ -19,7 +19,7 @@
</figure>
{{ end }}
{{ if ne .Params.rss_ignore true }}<p class="breadcrumbs"><b><a href="{{ .CurrentSection.Permalink }}">{{ .Section }}</a></b> <a class="breadcrumbs-slash">/</a> <b>{{ .File.BaseFileName }}</b></p>{{ end }}
{{ if ne .Params.rss_ignore true }}<p class="breadcrumbs"><b><a href="{{ .CurrentSection.Permalink }}">{{ .Section }}</a></b> <span class="breadcrumbs-slash">/</span> <b>{{ .File.BaseFileName }}</b></p>{{ end }}
<h1 class="post-full-title">{{ .Title }}</h1>
{{ if .Param "description" }}
@ -33,7 +33,7 @@
<section class="post-full-byline-meta">
<div class="byline-meta-content">
<time class="byline-meta-date" datetime="{{.Date.Format "2006-31-01"}}"><svg class="byline-meta-symbol" xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 -900 960 960" width="16" fill="currentColor"><path d="M180-80q-24 0-42-18t-18-42v-620q0-24 18-42t42-18h65v-60h65v60h340v-60h65v60h65q24 0 42 18t18 42v620q0 24-18 42t-42 18H180Zm0-60h600v-430H180v430Zm0-490h600v-130H180v130Zm0 0v-130 130Zm300 230q-17 0-28.5-11.5T440-440q0-17 11.5-28.5T480-480q17 0 28.5 11.5T520-440q0 17-11.5 28.5T480-400Zm-160 0q-17 0-28.5-11.5T280-440q0-17 11.5-28.5T320-480q17 0 28.5 11.5T360-440q0 17-11.5 28.5T320-400Zm320 0q-17 0-28.5-11.5T600-440q0-17 11.5-28.5T640-480q17 0 28.5 11.5T680-440q0 17-11.5 28.5T640-400ZM480-240q-17 0-28.5-11.5T440-280q0-17 11.5-28.5T480-320q17 0 28.5 11.5T520-280q0 17-11.5 28.5T480-240Zm-160 0q-17 0-28.5-11.5T280-280q0-17 11.5-28.5T320-320q17 0 28.5 11.5T360-280q0 17-11.5 28.5T320-240Zm320 0q-17 0-28.5-11.5T600-280q0-17 11.5-28.5T640-320q17 0 28.5 11.5T680-280q0 17-11.5 28.5T640-240Z"/></svg> {{.Date.Format "2 January 2006"}}</time>
{{ if ne .Lastmod .Date }}<span class="byline-reading-time"><span class="bull">&bull;</span> <time class="byline-meta-date" datetime="{{.Date.Format "2006-31-01"}}"><svg class="byline-meta-symbol" xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 -900 960 960" width="16" fill="currentColor"><path d="M180-180h44l443-443-44-44-443 443v44Zm614-486L666-794l42-42q17-17 42-17t42 17l44 44q17 17 17 42t-17 42l-42 42Zm-42 42L248-120H120v-128l504-504 128 128Zm-107-21-22-22 44 44-22-22Z"/></svg> {{.Lastmod.Format "2 January 2006"}}</time>{{ end }}
{{ if ne .Lastmod .Date }}<span class="byline-reading-time"><span class="bull">&bull;</span> <time class="byline-meta-date" datetime="{{.Date.Format "2006-31-01"}}"><svg class="byline-meta-symbol" xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 -900 960 960" width="16" fill="currentColor"><path d="M180-180h44l443-443-44-44-443 443v44Zm614-486L666-794l42-42q17-17 42-17t42 17l44 44q17 17 17 42t-17 42l-42 42Zm-42 42L248-120H120v-128l504-504 128 128Zm-107-21-22-22 44 44-22-22Z"/></svg> <a href="https://git.gianmarco.gg/gianmarco/gmgsite/commits/master/content/{{ .Section }}/{{ .File.BaseFileName }}.md">{{.Lastmod.Format "2 January 2006"}}</a></time>{{ end }}
<span class="byline-reading-time"><span class="bull">&bull;</span> <svg class="byline-meta-symbol" xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 -900 960 960" width="16" fill="currentColor"><path d="m627-287 45-45-159-160v-201h-60v225l174 181ZM480-80q-82 0-155-31.5t-127.5-86Q143-252 111.5-325T80-480q0-82 31.5-155t86-127.5Q252-817 325-848.5T480-880q82 0 155 31.5t127.5 86Q817-708 848.5-635T880-480q0 82-31.5 155t-86 127.5Q708-143 635-111.5T480-80Zm0-400Zm0 340q140 0 240-100t100-240q0-140-100-240T480-820q-140 0-240 100T140-480q0 140 100 240t240 100Z"/></svg> {{ .ReadingTime }} min read</span>
<span class="byline-reading-count"><span class="bull">&bull;</span> <svg class="byline-meta-symbol" xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 -960 960 960" width="16" fill="currentColor"><path d="M480-160q-48-38-104-59t-116-21q-42 0-82.5 11T100-198q-21 11-40.5-1T40-234v-482q0-11 5.5-21T62-752q46-24 96-36t102-12q58 0 113.5 15T480-740v506q51-33 107-49.5T700-300q36 0 78.5 7t81.5 29v-505q9.886 3.75 19.443 7.875Q889-757 898-752q10 6 16 15.677 6 9.678 6 20.323v482q0 23-19.5 35t-40.5 1q-37-20-77.5-31T700-240q-60 0-116 21t-104 59Zm60-167v-353l260-260v387L540-327Zm-120 63v-439q-34-19-79-28t-81-9q-47 0-87.5 10T100-704.467V-264q35-17 75.5-26.5t85-9.5q44.5 0 84.5 9.5t75 26.5Zm0 0v-439 439Z"/></svg> {{ .WordCount }} words</span>
{{ if isset .Params "license" }}<span class="byline-reading-count"><span class="bull">&bull;</span> <svg class="byline-meta-symbol" xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 -930 960 960" width="16" fill="currentColor"><path d="M220-80q-24 0-42-18t-18-42v-680q0-24 18-42t42-18h361l219 219v521q0 24-18 42t-42 18H220Zm331-554v-186H220v680h520v-494H551ZM220-820v186-186 680-680Z"/></svg> <a href="/copyright">{{ .Params.license }}</a></span>{{ end }}

View File

@ -7,6 +7,7 @@
{{ end }}
<div class="site-nav-content">
<ul class="nav" role="menu">
<div id="banner-small"><p>Stop using Chromium browsers, Google is trying to kill off ad and tracker blockers! <a href="/blinky"><b>Learn more</b></a> or <a onclick="hideNavWarn()"><b>close</b></a>.</p></div>
{{ range $.Site.Menus.main }}
<li class="nav-home" role="menuitem"><a href="{{ .URL }}">{{- .Name -}}</a></li>
{{ end }}