百度贴吧图片点击放大

直接在当前页面点击查看原图(包括签名档)。支持图片的多开、拖拽、垂直或水平滚动和缩放旋转

< Feedback on 百度贴吧图片点击放大

Question/comment

§
Posted: 2022/09/01

貌似失效了,点击图片就显示图片已过期

§
Posted: 2022/09/01
            tSrc = /https?:\/\/(\w+)\.baidu\.com\/.+\/(\w+\.[a-zA-Z]{3,4})/.exec(t.src);
            let url = new URL(t.src);
            i.src = tSrc ? `//${tSrc[1]}.baidu.com/forum/pic/item/${tSrc[2]}${url.search}` : t.src;
            i = null;

第92行改为
tSrc = /https?:\/\/(\w+)\.baidu\.com\/.+\/(\w+\.[a-zA-Z]{3,4}\?tbpicau=[\w-_]{46})/.exec(t.src);
应该勉强可用,百度改变了打开大图的地址逻辑

lliwhxAuthor
§
Posted: 2022/09/01
Edited: 2022/09/01

改好了。我之前的确有遇到,但是刷新之后又正常了几天,所以没管。尴尬

Post reply

Sign in to post a reply.