We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
现在 template2.html 是内嵌 <script> 替换 url 来获得高清图片,但是这个代码只能产生一大堆类似 https://D:/path/to/img 的错误本地路径的链接。 然而实际上获取贴吧高清图片的代码已经有大佬实现了,只要两行JS,能不能做进功能里,不要通过 template 来实现?
<script>
https://D:/path/to/img
let m = url.match(/^(https?):\/\/(?:imgsrc|imgsa|\w+\.hiphotos)\.(?:bdimg|baidu)\.com\/(?:forum|album)\/.+\/(\w+\.(?:jpg|jpeg|gif|png|bmp|webp))(?:\?.+)?$/i); if(m) { document.location = m[1] + "://imgsrc.baidu.com/forum/pic/item/" + m[2]; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
现在 template2.html 是内嵌
<script>
替换 url 来获得高清图片,但是这个代码只能产生一大堆类似https://D:/path/to/img
的错误本地路径的链接。然而实际上获取贴吧高清图片的代码已经有大佬实现了,只要两行JS,能不能做进功能里,不要通过 template 来实现?
The text was updated successfully, but these errors were encountered: