-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
百度贴吧全能助手加载大图失败 #11
Comments
域 |
e1440f1 |
cc @BANKA2017 |
因为那玩意有一个预请求提前拿到了完整的原图链接 function loadComment(i,tSrc){
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
i.src = JSON.parse(this.responseText).data.img.original.waterurl;
}
};
tSrc = /(\w+)/.exec(tSrc)[0];
xhttp.open("GET", "https://tieba.baidu.com/photo/p?alt=jview&pic_id="+tSrc+"&tid="+tiebaTid, true);
xhttp.send();
} 这边只是简单的对tbpicau进行拼接
|
您之前不是在zulip说 @Starry-ovo 在鸡血神的贴吧管理器开发群里说tbpicau的取值可以随便乱写服务端没有检验吗 |
我又不是贴吧内鬼,即使是我现在说的话,在下一秒都有可能失效 |
|
总之我的评价是:
等以后贴吧运维想起来跑去关闭这个老域了再说(实际上还有很多地方都是引用的imgsrc老域) |
我写的时候是可以用的,只是之后失效了,具体失效时间不清楚 |
环境信息
脚本名称: 百度贴吧全能助手|🌵看贴(楼中楼)无须登录|🌵完全去除各类广告|🌵直接在当前页面查看原图|🌵来无影去无踪
![image](https://user-images.githubusercontent.com/38292992/191395424-812cb104-2b9a-418d-a124-21812121ed67.png)
![image](https://user-images.githubusercontent.com/38292992/191396658-6ada38da-2a7b-4901-86da-2e0595129d93.png)
脚本版本:1.3.1
运行环境:Win10 19044, Edge 105.0.1343.42
出问题链接: https://tieba.baidu.com/p/8031413688?frwh=index, 任意帖子点进去后都有问题
bug内容
点进任意有图片的帖子,单机查看大图,都会出现问题
The text was updated successfully, but these errors were encountered: