Update Image Loader Placeholder Remover to version 1.4
- Added support for www.wired.com
This commit is contained in:
		
							parent
							
								
									8213219f17
								
							
						
					
					
						commit
						1e7479439a
					
				| 
						 | 
				
			
			@ -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;
 | 
			
		||||
};
 | 
			
		||||
		Loading…
	
		Reference in New Issue