commit
f32c07763b
|
@ -19,6 +19,7 @@ app
|
||||||
app.html
|
app.html
|
||||||
ehthumbs.db
|
ehthumbs.db
|
||||||
extension
|
extension
|
||||||
|
Home
|
||||||
jsconfig.json
|
jsconfig.json
|
||||||
localStorage.json
|
localStorage.json
|
||||||
main.js
|
main.js
|
||||||
|
|
|
@ -4,7 +4,7 @@ window.config={
|
||||||
FastGit:'https://raw.fgit.cf/libccy/noname-extension/master/',
|
FastGit:'https://raw.fgit.cf/libccy/noname-extension/master/',
|
||||||
GitHub:'https://raw.githubusercontent.com/libccy/noname-extension/master/'
|
GitHub:'https://raw.githubusercontent.com/libccy/noname-extension/master/'
|
||||||
},
|
},
|
||||||
extension_source:'Coding',
|
extension_source:'GitHub Proxy',
|
||||||
forbidai:['ns_liuzhang'],
|
forbidai:['ns_liuzhang'],
|
||||||
forbidai_user:[],
|
forbidai_user:[],
|
||||||
forbidall:[],
|
forbidall:[],
|
||||||
|
|
|
@ -22,17 +22,15 @@ import { Announce } from "./announce/index.js";
|
||||||
import { Channel } from "./channel/index.js";
|
import { Channel } from "./channel/index.js";
|
||||||
import { Experimental } from "./experimental/index.js";
|
import { Experimental } from "./experimental/index.js";
|
||||||
import * as Element from "./element/index.js";
|
import * as Element from "./element/index.js";
|
||||||
|
import { updateURLs } from "./update-urls.js";
|
||||||
|
|
||||||
|
|
||||||
export class Library extends Uninstantable {
|
export class Library extends Uninstantable {
|
||||||
static configprefix = 'noname_0.9_';
|
static configprefix = 'noname_0.9_';
|
||||||
static versionOL = 27;
|
static versionOL = 27;
|
||||||
static updateURLS = {
|
static updateURLS = updateURLs;
|
||||||
coding: 'https://gitcode.net/sinat_33405273/noname/-/raw/',
|
static updateURL = updateURLs.github;
|
||||||
github: 'https://raw.githubusercontent.com/libccy/noname',
|
static mirrorURL = updateURLs.coding;
|
||||||
};
|
|
||||||
static updateURL = 'https://raw.githubusercontent.com/libccy/noname';
|
|
||||||
static mirrorURL = 'https://gitcode.net/sinat_33405273/noname/-/raw/';
|
|
||||||
static hallURL = '47.99.105.222';
|
static hallURL = '47.99.105.222';
|
||||||
static assetURL = assetURL;
|
static assetURL = assetURL;
|
||||||
static userAgent = userAgent;
|
static userAgent = userAgent;
|
||||||
|
@ -1124,7 +1122,7 @@ export class Library extends Uninstantable {
|
||||||
init: 'coding',
|
init: 'coding',
|
||||||
unfrequent: true,
|
unfrequent: true,
|
||||||
item: {
|
item: {
|
||||||
coding: 'CSDN',
|
coding: 'URC',
|
||||||
github: 'GitHub',
|
github: 'GitHub',
|
||||||
},
|
},
|
||||||
onclick: function (item) {
|
onclick: function (item) {
|
||||||
|
@ -11287,7 +11285,6 @@ export class Library extends Uninstantable {
|
||||||
charlotte: true,
|
charlotte: true,
|
||||||
priority: -100,
|
priority: -100,
|
||||||
lastDo: true,
|
lastDo: true,
|
||||||
silent: true,
|
|
||||||
content: function () {
|
content: function () {
|
||||||
player.removeSkill('counttrigger');
|
player.removeSkill('counttrigger');
|
||||||
delete player.storage.counttrigger;
|
delete player.storage.counttrigger;
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
export const updateURLs = {
|
||||||
|
coding: 'https://unitedrhythmized.club/libccy/noname',
|
||||||
|
github: 'https://raw.githubusercontent.com/libccy/noname'
|
||||||
|
};
|
|
@ -14732,6 +14732,6 @@ export class UI extends Uninstantable {
|
||||||
static updateRoundNumber(roundNumber, cardPileNumber) {
|
static updateRoundNumber(roundNumber, cardPileNumber) {
|
||||||
if (ui.cardPileNumber) ui.cardPileNumber.innerHTML = `${roundNumber}轮 剩余牌: ${cardPileNumber}`;
|
if (ui.cardPileNumber) ui.cardPileNumber.innerHTML = `${roundNumber}轮 剩余牌: ${cardPileNumber}`;
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
export const ui = UI;
|
export const ui = UI;
|
||||||
|
|
Loading…
Reference in New Issue