Fix washingtonpost.com
This commit is contained in:
parent
94c6236613
commit
77afc610bc
7
wapo.js
7
wapo.js
|
@ -1,13 +1,14 @@
|
|||
// ==UserScript==
|
||||
// @name Washington Post image deblurrer
|
||||
// @name Washington Post image fixer
|
||||
// @version 1
|
||||
// @grant none
|
||||
// @match https://www.washingtonpost.com/*
|
||||
// ==/UserScript==
|
||||
|
||||
function deBlur() {
|
||||
for (let figure of document.getElementsByTagName('figure')) {
|
||||
figure.firstChild.style.filter='';
|
||||
for (let img of document.getElementsByTagName('img')) {
|
||||
img.style.filter='none';
|
||||
img.src = img.getAttribute('data-hi-res-src');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue