Introduction
Introduction Statistics Contact Development Disclaimer Help
imgur.js - firefox-fix-web - Firefox extension: fix web
git clone git://git.codemadness.org/firefox-fix-web
Log
Files
Refs
README
LICENSE
---
imgur.js (510B)
---
1 (function() {
2 // not an album page.
3 if (!document.querySelectorAll("div.post-header").length)
4 return;
5
6 var els = Array.from(document.querySelectorAll("div.post-image-c…
7 var html = "";
8 for (var i = 0; i < els.length; i++) {
9 var id = els[i].getAttribute("id") || "";
10 if (!id.length)
11 continue;
12 var url = "https://i.imgur.com/" + id + ".jpg";
13 html += "<a href=\"" + url + "\"><img src=\"" + url + "\…
14 }
15 document.body.innerHTML = html;
16 })();
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.