We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfa40a6 commit 8daec66Copy full SHA for 8daec66
Picviewer CE+/pvcep_rules.js
@@ -819,6 +819,14 @@ var siteInfo = [
819
}
820
return this.src;
821
},
822
+ getExtSrc: function() {
823
+ if (this.getAttribute("reason") == "nsfw") {
824
+ if (!this.firstElementChild) return;
825
+ let img = this.firstElementChild.querySelector("img");
826
+ if (!img) return;
827
+ return img.src.replace(/^https:\/\/preview\.redd\.it\/(.*)\?.*/, "https://i.redd.it/$1");
828
+ }
829
+ },
830
xhr: {
831
url: function(a, p, self) {
832
let aHref = a && a.href;
0 commit comments