diff --git a/tieba page.js b/tieba page.js index b0083e8..f2f18c9 100644 --- a/tieba page.js +++ b/tieba page.js @@ -1,7 +1,7 @@ // ==UserScript== // @name tieba page // @namespace http://tampermonkey.net/ -// @version 1.023 +// @version 1.024 // @author fthvgb1 // @match https://tieba.baidu.com/* // @match https://tiebac.baidu.com/* @@ -956,7 +956,8 @@ const u = new URL(src) if (u.searchParams.has('src')) { src = decodeURIComponent(u.searchParams.get('src')); - src = 'https://image.baidu.com/search/down?url=' + src; + src = src.replace(/.*\.baidu.com\//, '') + src = 'https://gss0.bdstatic.com/6LZ1dD3d1sgCo2Kml5_Y_D3/' + src; } img.src = src; }