Compare commits
No commits in common. "a6c3d9a96de3598740eb18b619e776fa2cae4fc9" and "fab39732c5dbcc37918d3cb12dbec59605782f88" have entirely different histories.
a6c3d9a96d
...
fab39732c5
|
@ -1,7 +1,7 @@
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name tieba page
|
// @name tieba page
|
||||||
// @namespace http://tampermonkey.net/
|
// @namespace http://tampermonkey.net/
|
||||||
// @version 1.025
|
// @version 1.024
|
||||||
// @author fthvgb1
|
// @author fthvgb1
|
||||||
// @match https://tieba.baidu.com/*
|
// @match https://tieba.baidu.com/*
|
||||||
// @match https://tiebac.baidu.com/*
|
// @match https://tiebac.baidu.com/*
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
imgs.forEach(value => {
|
imgs.forEach(value => {
|
||||||
let h = value.dataset.url.replace('tiebapic', 'imgsrc').replace('tiebapic', 'imgsrc');
|
let h = value.dataset.url.replace('tiebapic', 'imgsrc').replace('tiebapic', 'imgsrc');
|
||||||
if (h.indexOf('http://') === 0) {
|
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('/');
|
let tmp = decodeURIComponent(h.split('&src=')[1]).split('/');
|
||||||
tmp = tmp[tmp.length - 1];
|
tmp = tmp[tmp.length - 1];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user