From 325ad4b08d581f9d27d6d8077adac17a4cb34f25 Mon Sep 17 00:00:00 2001 From: HanYaodong Date: Mon, 5 Feb 2024 23:32:13 +0800 Subject: [PATCH] Remove deArrow related code --- config.json.example | 12 ---------- public/help/index.html | 14 ------------ public/help/styles.css | 25 --------------------- public/options/options.css | 24 -------------------- public/options/options.html | 33 +--------------------------- src/background.ts | 17 +------------- src/help.ts | 29 +----------------------- src/options.ts | 22 ------------------- src/utils/crossExtension.ts | 44 ------------------------------------- 9 files changed, 3 insertions(+), 217 deletions(-) delete mode 100644 src/utils/crossExtension.ts diff --git a/config.json.example b/config.json.example index 98c48187..1912aaee 100644 --- a/config.json.example +++ b/config.json.example @@ -28,17 +28,5 @@ "poi_highlight": "https://wiki.sponsor.ajay.app/w/Highlight", "guidelines": "https://wiki.sponsor.ajay.app/w/Guidelines", "mute": "https://wiki.sponsor.ajay.app/w/Mute_Segment" - }, - "extensionImportList": { - "chromium": [ - "enamippconapkdmgfgjchkhakpfinmaj" - ], - "firefox": [ - "deArrow@ajay.app", - "deArrowBETA@ajay.app" - ], - "safari": [ - "app.ajay.dearrow.extension" - ] } } diff --git a/public/help/index.html b/public/help/index.html index 4e14f186..91e268e9 100644 --- a/public/help/index.html +++ b/public/help/index.html @@ -63,20 +63,6 @@ >.

- -

__MSG_helpPageReviewOptions__

diff --git a/public/help/styles.css b/public/help/styles.css index 29c938af..d1d06f4e 100644 --- a/public/help/styles.css +++ b/public/help/styles.css @@ -324,31 +324,6 @@ svg { color: grey; } -.dearrow-link { - display: flex; - align-items: center; - justify-content: center; - text-decoration: none; - - font-size: 16px; -} - -.dearrow-link img { - width: 35px; - padding: 10px -} - -.dearrow-link .close-button { - opacity: 0; - width: 15px; - filter: invert(0.3); - transition: opacity 0.2s; -} - -.dearrow-link:hover .close-button { - opacity: 1; -} - .hidden { display: none; } \ No newline at end of file diff --git a/public/options/options.css b/public/options/options.css index a0d35977..c29d04df 100644 --- a/public/options/options.css +++ b/public/options/options.css @@ -724,27 +724,3 @@ only screen and (max-width: 1200px) { .promotion-container { width: fit-content; } - -.dearrow-link { - display: flex; - align-items: center; - justify-content: center; - text-decoration: none; -} - -.dearrow-link > img { - width: 40px; - margin-right: 4px; -} - -.dearrow-link .close-button { - opacity: 0; - width: 15px; - filter: invert(0.3); - transition: opacity 0.2s; - margin-left: 10px; -} - -.dearrow-link:hover .close-button { - opacity: 1; -} \ No newline at end of file diff --git a/public/options/options.html b/public/options/options.html index de1e0d61..49537671 100644 --- a/public/options/options.html +++ b/public/options/options.html @@ -61,24 +61,7 @@