firefox组图
This commit is contained in:
parent
aa30fa16a6
commit
bcf49f1d9d
|
@ -17,6 +17,12 @@
|
||||||
let obs;
|
let obs;
|
||||||
|
|
||||||
function jpg(v) {
|
function jpg(v) {
|
||||||
|
let fimgs = v.querySelectorAll('span[class="wrap pbimgwapper"]>img.BDE_Image');
|
||||||
|
if (fimgs.length > 0) {
|
||||||
|
fimgs.forEach(img => {
|
||||||
|
img.src = img.src.replace('tiebapic', 'imgsrc').replace('tiebapic', 'imgsrc');
|
||||||
|
})
|
||||||
|
}
|
||||||
let imgs = v.querySelectorAll('.pb_img_item:not([data-type="gif"]),[data-class="BDE_Image"]:not([data-type="gif"])');
|
let imgs = v.querySelectorAll('.pb_img_item:not([data-type="gif"]),[data-class="BDE_Image"]:not([data-type="gif"])');
|
||||||
if (imgs.length > 0) {
|
if (imgs.length > 0) {
|
||||||
imgs.forEach(value => {
|
imgs.forEach(value => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user