优化 [NGA] 在 Firefox 浏览器中未登录状态下无法翻页的问题

This commit is contained in:
xiu2
2024-07-21 17:22:44 +08:00
parent eb6d0ece12
commit 53a05739f5
+4 -2
View File
@@ -557,8 +557,9 @@
},
"NGA": {
"host": ["bbs.nga.cn","ngabbs.com","nga.178.com","g.nga.cn"],
"url": "fun.isUrlC(); return (fun.lp() == '/thread.php')",
"url": "fun.isUrlC(); if(!window.__APPEMBED && !window.cookieInterval){window.cookieInterval = setInterval(()=>{if (!window.__APPEMBED) {document.cookie = 'guestJs=' + fun.getCookie('guestJs').replace(/^\\d+/,parseInt(new Date().getTime()/1000)) + ';domain=' + location.host + ';expires=Thu, 18 Dec 2031 12:00:00 GMT; path=/;samesite=none;secure=false';document.cookie = 'lastvisit=' + parseInt(new Date().getTime()/1000+123) + ';samesite=none;secure=false;domain=' + location.host;};},1000)}; return (fun.lp() == '/thread.php')",
"iframe": true,
"gmxhr": true,
"pager": {
"nextL": "#pagebbtm a[title='下一页']",
"pageE": "#topicrows>tbody, #topicrows>script",
@@ -571,10 +572,11 @@
},
"NGA - 帖子内": {
"host": ["bbs.nga.cn","ngabbs.com","nga.178.com","g.nga.cn"],
"url": "return (fun.lp() == '/read.php')",
"url": "/^\\/read\\.php",
"iframe": true,
"history": false,
"thread": true,
"gmxhr": true,
"retry": 1000,
"pager": {
"nextL": "#pagebbtm a[title*='下一页']",