diff --git a/content/blinky/index.md b/content/blinky/index.md index 162bc47..0faeb7b 100644 --- a/content/blinky/index.md +++ b/content/blinky/index.md @@ -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: Google’s 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. diff --git a/content/contact/index.md b/content/contact/index.md index 42277fb..02c71a3 100644 --- a/content/contact/index.md +++ b/content/contact/index.md @@ -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) diff --git a/static/js/blinky.js b/static/js/blinky.js index 178d35d..f91a163 100644 --- a/static/js/blinky.js +++ b/static/js/blinky.js @@ -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 diff --git a/themes/hugo-casper3/assets/scss/custom.scss b/themes/hugo-casper3/assets/scss/custom.scss index 7754f16..b62d0d6 100644 --- a/themes/hugo-casper3/assets/scss/custom.scss +++ b/themes/hugo-casper3/assets/scss/custom.scss @@ -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; } diff --git a/themes/hugo-casper3/assets/scss/main.scss b/themes/hugo-casper3/assets/scss/main.scss index 188dcff..ab26ff5 100644 --- a/themes/hugo-casper3/assets/scss/main.scss +++ b/themes/hugo-casper3/assets/scss/main.scss @@ -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; } diff --git a/themes/hugo-casper3/layouts/_default/baseof.html b/themes/hugo-casper3/layouts/_default/baseof.html index 1c42994..2f4cc2f 100644 --- a/themes/hugo-casper3/layouts/_default/baseof.html +++ b/themes/hugo-casper3/layouts/_default/baseof.html @@ -13,7 +13,7 @@ - + {{ if .Param "thumbnail" }}{{ else }}{{ end }} @@ -24,7 +24,7 @@ - + diff --git a/themes/hugo-casper3/layouts/_default/single.html b/themes/hugo-casper3/layouts/_default/single.html index 4b2ef59..74ab9e1 100644 --- a/themes/hugo-casper3/layouts/_default/single.html +++ b/themes/hugo-casper3/layouts/_default/single.html @@ -19,7 +19,7 @@ {{ end }} - {{ if ne .Params.rss_ignore true }}{{ end }} + {{ if ne .Params.rss_ignore true }}{{ end }}

{{ .Title }}

{{ if .Param "description" }} @@ -33,7 +33,7 @@
- {{ if ne .Lastmod .Date }}