Update tiaozhuan.js

This commit is contained in:
小赵同学 committed 2024-12-18 19:46:58 +08:00
1 parent f1ae04f862
commit ed7038fec4
1 file changed
+2 -1
+2 -1
View File
@@ -19,7 +19,8 @@ function checkParent(element, classNames) {
!target.href.includes('usj.cc') && !target.href.includes('usj.cc') &&
!target.href.includes('douban.com') && !target.href.includes('douban.com') &&
!target.href.includes('bilibili.com') && !target.href.includes('bilibili.com') &&
!target.href.includes('github.com') && !target.href.includes('https://beian.miit.gov.cn') && !target.href.includes('github.com') &&
!target.href.includes('https://beian.miit.gov.cn') &&
target.hostname !== window.location.hostname) { target.hostname !== window.location.hostname) {
e.preventDefault(); e.preventDefault();
let encodedUrl = btoa(target.href); // Base64 encode the URL let encodedUrl = btoa(target.href); // Base64 encode the URL