diff --git a/NGA_BBS_plugins/MobileSupport/MobileSupport.user.js b/NGA_BBS_plugins/MobileSupport/MobileSupport.user.js
index d2b91a2..8601aeb 100644
--- a/NGA_BBS_plugins/MobileSupport/MobileSupport.user.js
+++ b/NGA_BBS_plugins/MobileSupport/MobileSupport.user.js
@@ -1,7 +1,7 @@
// ==UserScript==
// @name NGA优化摸鱼体验插件-移动端支持
// @namespace https://github.com/lifegpc/userscript/tree/master/NGA_BBS_plugins/MobileSupport
-// @version 1.0.6
+// @version 1.0.7
// @author lifegpc
// @description 支持移动端页面
// @license MIT
@@ -33,7 +33,7 @@
{
key: "showRemark",
title: "显示标签",
- default: false
+ default: true
}],
buttons: [],
beforeSaveSettingFunc(settings) {
@@ -50,7 +50,7 @@
this.pluginSettings['authorMark'] = true;
}
if (typeof this.pluginSettings['showRemark'] === 'string') {
- this.pluginSettings['showRemark'] = false;
+ this.pluginSettings['showRemark'] = true;
}
},
currentThread: {},
@@ -119,8 +119,6 @@
const $ = this.mainScript.libs.$;
const markAndBan = this.mainScript.getModule('MarkAndBan');
if (markAndBan) {
- const currentUid = $el.find("a.userlink").attr("href").split("uid=")[1] + '';
- const currentName = $el.find("a.userlink").text().replace('楼主', '');
$el.find('a.b').each(function () {
const name = $(this).attr('hld-mark-before-name') || $(this).text().replace('[', '').replace(']', '')
const uid = ($(this).attr('href') && $(this).attr('href').indexOf('uid=') > -1) ? $(this).attr('href').split('uid=')[1] + '' : ''
@@ -132,8 +130,16 @@
$(this).after(marksDom);
}
})
+ }
+ }
+ {
+ const $ = this.mainScript.libs.$;
+ const markAndBan = this.mainScript.getModule('MarkAndBan');
+ if (markAndBan) {
+ const currentUid = $el.find("a.userlink").attr("href").split("uid=")[1] + '';
+ const currentName = $el.find("a.userlink").text().replace('楼主', '');
$el.find(".posterInfoLineB").each(function () {
- $(this).prepend(``)
+ $(this).prepend(``)
})
}
}