Add videogameschronicle.com

This commit is contained in:
Juhani Krekelä 2022-03-30 17:20:58 +03:00
parent 52202fb45c
commit 02d7b17d44
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@
// @match https://kotaku.com/*
// @match https://*.gizmodo.com/*
// @match https://www.latimes.com/*
// @match https://www.videogameschronicle.com/*
// ==/UserScript==
function fixSrcset(element) {
@ -18,6 +19,7 @@ function fixSrcset(element) {
function fixImages() {
for (let img of document.getElementsByTagName('img')) {
fixSrcset(img);
img.style.opacity = 1;
}
for (let img of document.getElementsByTagName('source')) {
fixSrcset(img);