Compare commits

..

2 Commits

Author SHA1 Message Date
a6c3d9a96d 楼层图片显示 2023-09-25 17:13:24 +08:00
bf45e89dcb 楼层图片显示 2023-09-25 17:13:05 +08:00

View File

@ -1,7 +1,7 @@
// ==UserScript==
// @name tieba page
// @namespace http://tampermonkey.net/
// @version 1.024
// @version 1.025
// @author fthvgb1
// @match https://tieba.baidu.com/*
// @match https://tiebac.baidu.com/*
@ -27,7 +27,7 @@
imgs.forEach(value => {
let h = value.dataset.url.replace('tiebapic', 'imgsrc').replace('tiebapic', 'imgsrc');
if (h.indexOf('http://') === 0) {
h = 'https://image.baidu.com/search/down?url=' + h;
//h = 'https://image.baidu.com/search/down?url=' + h;
}
let tmp = decodeURIComponent(h.split('&src=')[1]).split('/');
tmp = tmp[tmp.length - 1];