Update Image Loader Placeholder Remover to version 1.4

- Added support for www.wired.com
This commit is contained in:
blankie 2022-10-24 22:56:35 +07:00
parent 8213219f17
commit 1e7479439a
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 9 additions and 1 deletions

View File

@ -3,7 +3,7 @@
// @namespace blankie-scripts
// @match http*://*/*
// @grant none
// @version 1.3
// @version 1.4
// @author blankie
// @run-at document-end
// @description Removes image loading placeholders
@ -121,11 +121,19 @@ function pcgamer() {
}
}
// https://www.wired.com/
// https://www.wired.com/story/researcher-fooled-a-google-ai-into-thinking-a-rifle-was-a-helicopter/
function wired() {
let style = document.createElement("style");
style.innerText = ".gbVKFf {opacity: 1}";
document.head.appendChild(style);
}
switch (location.host) {
case "closeronline.co.uk": closeronline(); break;
case "www.indiatoday.in": indiatoday(); break;
case "www.vice.com": vice(); break;
case "www.pcgamer.com": pcgamer(); break;
case "www.wired.com": wired(); break;
default: wordpress(); break;
};