MCPcopy Index your code
hub / github.com/XIU2/UserScript / discuzThreadM

Function discuzThreadM

Autopage.user.js:1318–1325  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1316 }
1317 // [Discuz! 论坛] 判断手机版帖子内
1318 function discuzThreadM() {
1319 if (getCSS('[id^="pid"]')) {
1320 curSite = DBSite.discuz_m; curSite.pager.pageE = '[id^="pid"], [id^="pid"]+div:not([id="post_new"])'
1321 } else if (getCSS('[id^="post_"]')) {
1322 curSite = DBSite.discuz_m; curSite.pager.pageE = '[id^="post_"]';
1323 }
1324 if (curSite.SiteTypeID !== 0 && location.hostname === 'keylol.com') {curSite.history = false; urlC = true;}
1325 }
1326 function discuz_() {
1327 if (getCSS('body[id="nv_forum"][class^="pg_"][onkeydown*="27"]')) {
1328 switch (getCSS('body[id="nv_forum"][class^="pg_"][onkeydown*="27"]').className) {

Callers 1

discuz_Function · 0.85

Calls 1

getCSSFunction · 0.85

Tested by

no test coverage detected