imgfixer/wapo.js

16 lines
333 B
JavaScript
Raw Permalink Normal View History

2022-06-13 18:08:57 +00:00
// ==UserScript==
2022-10-31 09:48:58 +00:00
// @name Washington Post image fixer
2022-06-13 18:08:57 +00:00
// @version 1
// @grant none
// @match https://www.washingtonpost.com/*
// ==/UserScript==
function deBlur() {
2022-10-31 09:48:58 +00:00
for (let img of document.getElementsByTagName('img')) {
img.style.filter='none';
img.src = img.getAttribute('data-hi-res-src');
2022-06-13 18:08:57 +00:00
}
}
deBlur();