This commit is contained in:
the1812 2019-07-22 20:27:20 +08:00
parent 30ae1562aa
commit 224d61fafd
8 changed files with 13 additions and 6 deletions

View File

@ -90,6 +90,8 @@ declare global
type CustomNavbarOrders = { [key in keyof CustomNavbarComponents]: number };
const GM_info: MonkeyInfo;
const unsafeWindow: Window;
const UserAgent: string
const EmptyImageUrl: string
interface Window {
aid: string | undefined
cid: string | undefined

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -104,6 +104,7 @@ function getI18nKey () {
const dq = (selector) => document.querySelector(selector)
const dqa = (selector) => [...document.querySelectorAll(selector)]
const UserAgent = `Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0`
const EmptyImageUrl = 'data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"></svg>'
const customNavbarDefaultOrders = {
blank1: 0,

View File

@ -104,6 +104,7 @@ function getI18nKey () {
const dq = (selector) => document.querySelector(selector)
const dqa = (selector) => [...document.querySelectorAll(selector)]
const UserAgent = `Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0`
const EmptyImageUrl = 'data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"></svg>'
const customNavbarDefaultOrders = {
blank1: 0,

View File

@ -79,3 +79,4 @@ export function getI18nKey () {
export const dq = (selector) => document.querySelector(selector)
export const dqa = (selector) => [...document.querySelectorAll(selector)]
export const UserAgent = `Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0`
export const EmptyImageUrl = 'data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"></svg>'

File diff suppressed because one or more lines are too long

View File

@ -712,9 +712,9 @@ export const regex = new Map([
[/^创作团队(([\d]+)$/, `創作チーム($1`],
[/^共([\d]+)P$/, `合計$1P`],
[/^高清 ([\d]+)P([60]?)([+])?$/, `HD $1P$2$3`],
[/^清晰 ([\d]+)P$/, `クリア $1P`],
[/^流畅 ([\d]+)P$/, `スムーズ $1P`],
[/^无法连接到RPC主机,error=([\d]+)$/, `RPCホストに接続できません、error=$1`],
[/^清晰 ([\d]+)P$/, `$1P`],
[/^流畅 ([\d]+)P$/, `$1P`],
[/^无法连接到RPC主机, error=(.+)$/, `RPCホストに接続できません、error=$1`],
]);
export default {
export: { map, regex },