mirror of
https://github.com/XIU2/UserScript.git
synced 2026-09-07 11:27:41 +00:00
启用 JS 严格模式
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
// @homepageURL https://github.com/XIU2/UserScript
|
||||
// ==/UserScript==
|
||||
|
||||
'use strict';
|
||||
(function() {
|
||||
let style_Add = document.createElement('style');
|
||||
style_Add.innerHTML = `
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
// @homepageURL https://github.com/XIU2/UserScript
|
||||
// ==/UserScript==
|
||||
|
||||
'use strict';
|
||||
(function() {
|
||||
var menu_ALL = [
|
||||
['menu_autoReply', '自动回复', '自动回复', true],
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
// @homepageURL https://github.com/XIU2/UserScript
|
||||
// ==/UserScript==
|
||||
|
||||
'use strict';
|
||||
(function() {
|
||||
var menu_ALL = [
|
||||
['menu_rule', '隐藏版规', '隐藏版规', false]
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
// @homepageURL https://github.com/XIU2/UserScript
|
||||
// ==/UserScript==
|
||||
|
||||
'use strict';
|
||||
(function() {
|
||||
var menu_ALL = [
|
||||
['menu_autoClockIn', '自动签到', '自动签到', true],
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
// @homepageURL https://github.com/XIU2/UserScript
|
||||
// ==/UserScript==
|
||||
|
||||
'use strict';
|
||||
(function() {
|
||||
// 注册脚本菜单
|
||||
GM_registerMenuCommand('反馈 & 欢迎申请支持', function () {window.GM_openInTab('https://github.com/XIU2/UserScript#xiu2userscript', {active: true,insert: true,setParent: true});window.GM_openInTab('https://greasyfork.org/zh-CN/scripts/419215/feedback', {active: true,insert: true,setParent: true});});
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
// @homepageURL https://github.com/XIU2/UserScript
|
||||
// ==/UserScript==
|
||||
|
||||
'use strict';
|
||||
(function() {
|
||||
var menu_ALL = [
|
||||
['menu_runDuringTheDay', '白天保持开启 (比晚上亮一点点)', '白天保持开启', true],
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
// @homepageURL https://github.com/XIU2/UserScript
|
||||
// ==/UserScript==
|
||||
|
||||
'use strict';
|
||||
(function() {
|
||||
var backColor = '#ffffff';
|
||||
var fontColor = '#888888';
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
// @homepageURL https://github.com/XIU2/UserScript
|
||||
// ==/UserScript==
|
||||
|
||||
'use strict';
|
||||
(function() {
|
||||
var menu_streamline = GM_getValue('xiu2_menu_streamline');
|
||||
var menu_streamline_ID, menu_feedBack_ID;
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
// @homepageURL https://github.com/XIU2/UserScript
|
||||
// ==/UserScript==
|
||||
|
||||
'use strict';
|
||||
(function() {
|
||||
var menu_ALL = [
|
||||
['menu_autoSignIn', '自动签到', '自动签到', true],
|
||||
|
||||
@@ -30,6 +30,8 @@
|
||||
// @supportURL https://github.com/XIU2/UserScript
|
||||
// @homepageURL https://github.com/XIU2/UserScript
|
||||
// ==/UserScript==
|
||||
|
||||
'use strict';
|
||||
(function() {
|
||||
var menu_ALL = [
|
||||
['menu_open_fileSha', '自动打开分享链接', '自动打开分享链接', true],
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
// @homepageURL https://github.com/XIU2/UserScript
|
||||
// ==/UserScript==
|
||||
|
||||
'use strict';
|
||||
(function() {
|
||||
var menu_ALL = [
|
||||
['menu_autoClockIn', '自动签到', '自动签到', true],
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
// @homepageURL https://github.com/XIU2/UserScript
|
||||
// ==/UserScript==
|
||||
|
||||
'use strict';
|
||||
(function() {
|
||||
var menu_ALL = [
|
||||
['menu_widescreenDisplay', '宽屏显示', '宽屏显示', true],
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
// @homepageURL https://github.com/XIU2/UserScript
|
||||
// ==/UserScript==
|
||||
|
||||
'use strict';
|
||||
var menu_ALL = [
|
||||
['menu_collapsedAnswer', '一键收起回答', '一键收起回答', true],
|
||||
['menu_collapsedNowAnswer', '收起当前回答/评论(点击两侧空白处)', '收起当前回答/评论', true],
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
// @homepageURL https://github.com/XIU2/UserScript
|
||||
// ==/UserScript==
|
||||
|
||||
'use strict';
|
||||
(function() {
|
||||
let style_Add = document.createElement('style');
|
||||
style_Add.innerHTML = `
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
// @homepageURL https://github.com/XIU2/UserScript
|
||||
// ==/UserScript==
|
||||
|
||||
'use strict';
|
||||
(function() {
|
||||
var menu_ALL = [
|
||||
['menu_autoReply', '自动回复', '自动回复', true],
|
||||
|
||||
Reference in New Issue
Block a user