Commit Graph

148 Commits

Author SHA1 Message Date
Hakadao
3d3f57bfc3 feat: notifications drawer
Squashed commit of the following:

commit e0d503ef38c5b8d4b19f81368b53b656e6935ff7
Author: Hakadao <a578457889743@gmail.com>
Date:   Thu Feb 20 16:24:53 2025 +0800

    feat(locales): add translation for notifications page drawer option

commit 5c4e5aab811c3bf73d2cfc983e646edca66dff55
Author: Hakadao <a578457889743@gmail.com>
Date:   Thu Feb 20 16:24:32 2025 +0800

    chore: udpate

commit dd7ff6dfeadd514746e1a10773702387cea3c550
Author: Hakadao <a578457889743@gmail.com>
Date:   Thu Feb 20 16:13:54 2025 +0800

    fix(a-link): disable click event when using modifier key click

commit f4801a040b26d6b084168859f2a1e5b9b32ae178
Author: Hakadao <a578457889743@gmail.com>
Date:   Thu Feb 20 16:06:13 2025 +0800

    feat: enhance notifications drawer functionality with custom URL and click handling

commit 7e63cd4417572a5455c8dbccc447f8fe37d92c02
Author: Hakadao <a578457889743@gmail.com>
Date:   Thu Feb 20 15:36:53 2025 +0800

    chore: update

commit 077c416e1ead6cd9ed249375c6c0c4625b2339ec
Author: Hakadao <a578457889743@gmail.com>
Date:   Thu Feb 20 14:32:28 2025 +0800

    fix: add Teleport to NotificationsDrawer for better app integration

commit 5e17ed34f68677bfc8423ad3e24ea3cc3afa038e
Author: Hakadao <a578457889743@gmail.com>
Date:   Thu Feb 20 14:26:36 2025 +0800

    chore: tweak styles

commit 4536347b12ef9e3d0c2ce06c1395ba89fe44fc51
Author: Hakadao <a578457889743@gmail.com>
Date:   Thu Feb 20 13:52:29 2025 +0800

    feat: improve notifications drawer styles

commit 022ea89eed4ae5c6953445118dec97acb15cf38e
Merge: 17f882e7 7a513921
Author: Hakadao <a578457889743@gmail.com>
Date:   Thu Feb 20 12:30:04 2025 +0800

    Merge branch 'main' into feat/notications-drawer

commit 17f882e7cda0b4d74b916592d526f4b1ad5f921d
Merge: 4d615462 6dd838a8
Author: Hakadao <a578457889743@gmail.com>
Date:   Thu Feb 20 12:18:44 2025 +0800

    feat: update notifications drawer style

commit 4d6154625a
Author: Hakadao <a578457889743@gmail.com>
Date:   Wed Feb 19 18:58:24 2025 +0800

    feat: notifications drawer
2025-02-20 16:27:13 +08:00
Hakadao
7a51392198 fix: hide Bilibili-Gate homepage to prevent homepage overload 2025-02-20 12:29:26 +08:00
Hakadao
fef00f8b93 feat: support https://music.bilibili.com/pc/music-center/ 2025-01-26 06:42:33 +08:00
Hakadao
138e2f99c5 feat: support https://www.bilibili.com/v/popular/all 2025-01-26 06:29:57 +08:00
Hakadao
1b2fce639c fix: improve top bar visibility hiding mechanism 2025-01-26 06:02:22 +08:00
Hakadao
659e859af6 fix: cannot adapted another watcher later url (#1286)
Some checks are pending
CI / Test (lts/*, ubuntu-latest) (push) Waiting to run
CI / Test (lts/*, windows-latest) (push) Waiting to run
CI / Test (lts/-1, ubuntu-latest) (push) Waiting to run
CI / Test (lts/-1, windows-latest) (push) Waiting to run
close #1286
2025-01-26 04:16:34 +08:00
Hakadao
cdef4a7c90 fix(top-bar): prevent top bar from covering content (#1276)
close #1276
2025-01-19 23:46:24 +08:00
Hakadao
2d29a48578 fix: prevent style conflicts with Bilibili Evolved dark mode 2025-01-12 22:15:19 +08:00
Hakadao
5363cf4a2d fix: prevent top bar from displaying on unexpected pages (#1266)
close #1266
2025-01-12 15:24:48 +08:00
Hakadao
7b293b7d88 feat: support Bilibili Evolved redesign homepage
Some checks are pending
CI / Test (lts/*, ubuntu-latest) (push) Waiting to run
CI / Test (lts/*, windows-latest) (push) Waiting to run
CI / Test (lts/-1, ubuntu-latest) (push) Waiting to run
CI / Test (lts/-1, windows-latest) (push) Waiting to run
2025-01-12 03:35:15 +08:00
胡雨晴
9e3afecf7a fix: top bar displayed on the unexpected pages (#1256) (#1257)
Some checks are pending
CI / Test (lts/*, ubuntu-latest) (push) Waiting to run
CI / Test (lts/*, windows-latest) (push) Waiting to run
CI / Test (lts/-1, ubuntu-latest) (push) Waiting to run
CI / Test (lts/-1, windows-latest) (push) Waiting to run
Co-authored-by: Hakadao <a578457889743@gmail.com>
2025-01-08 10:01:10 +08:00
Hakadao
6d115ad76b fix: cannot support video page inside the drawer 2025-01-07 12:22:18 +08:00
Hakadao
836f60824f chore: correct the grammar 2025-01-06 02:00:50 +08:00
Hakadao
88cfaebb9d fix: top bar displayed on the unexpected pages (#1246,#1247,#1248)
closes #1246 #1247 #1248
2025-01-06 01:56:52 +08:00
Hakadao
1b9555edda fix: video sharing dialog shows the top bar (#1246)
close #1246
2025-01-05 04:25:34 +08:00
Hakadao
dd50659355 fix: top bar covering content (#1235)
resolve #1235
2025-01-02 02:13:23 +08:00
Hakadao
9101bcd57d chore: disable startShadowDOMStyleInjection() 2024-12-23 00:31:06 +08:00
Hakadao
2ebbd63814 fix(adapted-styles): update styles 2024-12-22 18:58:45 +08:00
Hakadao
76d8473aa7 fix: cannot adjust shadow dom styles (#1084)
close #1084
2024-12-22 18:46:39 +08:00
Hakadao
39f0474108 fix: use new history page 2024-12-16 01:52:25 +08:00
Hakadao
6be1309628 refactor: use isInIframe() 2024-12-09 12:05:18 +08:00
Hakadao
06d58d95ab feat(dock): support opening in a new tab && using the Bilibili page 2024-12-09 02:34:15 +08:00
Hakadao
6aff27547a feat: remember last opened page when returning to homepage 2024-10-24 00:07:44 +08:00
Hakadao
6a77821801 chore: remove warning for multiple versions 2024-10-23 01:19:02 +08:00
Hakadao
9a056bb7cb feat: detect and handle have multiple BewlyBewly cases 2024-09-30 14:42:04 +08:00
Hakadao
5d43046a8b chore: disable startShadowDOMStyleInjection() 2024-09-29 00:30:15 +08:00
Hakadao
c7f73ed08c chore: lint 2024-09-21 23:57:51 +08:00
Hakadao
0d3e062bec refactor: move the uno.css import into the main entry 2024-09-21 15:50:21 +08:00
star knight
045e856ed9 fix: style mistake (#1013)
* fix: style mistake

* chore: only apply reset style with the bewly application

* chore: lint

---------

Co-authored-by: Hakadao <a578457889743@gmail.com>
2024-09-18 12:09:45 +08:00
Hakadao
c74a56de6f fix: adjust conditions for skipping startShadowDOMStyleInjection() 2024-09-14 12:33:03 +08:00
Hakadao
6e048e59d7 refactor: startShadowDOMStyleInjection() 2024-09-14 12:08:03 +08:00
Hakadao
f34893d0f4 perf: disable startShadowDOMStyleInjection() 2024-09-14 11:25:32 +08:00
Hakadao
5c1dc39520 refactor: improve startShadowDOMStyleInjection() 2024-09-14 00:22:52 +08:00
Hakadao
85b1072277 fix(adapted-styles): support shadow dom style for comments 2024-09-13 02:16:15 +08:00
Hakadao
bc3b9d283c perf: improve BewlyBewly inject speed 2024-09-10 13:17:16 +08:00
Hakadao
17ef4be09c fix(home-page): banner shaking issue when using the original bilibili homepage 2024-09-01 15:55:54 +08:00
Hakadao
bf4b014bca perf: improve BewlyBewly injection speed on the homepage 2024-09-01 14:50:52 +08:00
Hakadao
37e9fe6ffa fix(top-bar): resolve original top bar showing up before load (#967)
close #967
2024-08-29 01:11:58 +08:00
Hakadao
7083f41221 fix: resolve bilibili's top bar showing up before load (#967)
close #967
2024-08-27 23:54:23 +08:00
Hakadao
9932c77762 chore: support safari (hmmm, i guess?) (#960)
* Add support of Safari

1. Workaround of Safari's bug of not sending cookies when using fetch in background service worker. This fixes https://github.com/hakadao/BewlyBewly/issues/275#issuecomment-1927278492. See: https://stackoverflow.com/questions/78239213/safari-extension-service-worker-not-sending-cookie
2. Add scripts to for Safari specific build and convert it to a Safari web extension.

* Fixed a bug in Safari that when the extension was installed, the page would turn into a white screen

* Safari may fire DOMContentLoaded before the codes get called

* Remove false fix; Ignore extension-safari

* Reduce memory and power usage with a nonpersistent background page on Safari and Firefox, see https://developer.apple.com/documentation/safariservices/safari_web_extensions/optimizing_your_web_extension_for_safari#3743241 and https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Background_scripts

* Build and release Safari extension with Github actions (#585)

* feat: add safari extension build

* fix: safari pathname

* fix: add build branch

* Merge

* Try building Safari extension using GitHub action

Correct versions

Debug

Minor bug fixed

Minor bug fixed

Add scripts to release

Minor bug fixed

Minor bug fixed

Minor bug fixed

---------

Co-authored-by: 梦念逍遥 <2589141604@qq.com>
Co-authored-by: Xiaolin Wang <exgphe@gmail.com>
Co-authored-by: Hakadao <a578457889743@gmail.com>

* fix: safari build (#665)

* chore: update

* chore: update knip.json to ignore "xcrun" binaries

---------

Co-authored-by: Xiaolin Wang <exgphe@gmail.com>
Co-authored-by: exgphe <14009450+exgphe@users.noreply.github.com>
Co-authored-by: 梦念逍遥 <2589141604@qq.com>
2024-08-14 00:24:09 +08:00
Hakadao
d35e710080 chore: Adjust Bilibili homepage top bar color and style 2024-08-12 23:57:15 +08:00
Hakadao
9d01c7f299 feat: add a config to enable original bilibili top bar 2024-08-12 01:32:42 +08:00
Hakadao
036a36dffb chore(adapted-styles): update styles for topic page 2024-07-23 10:48:38 +08:00
Hakadao
03be14e8c0 feat: support dark mode for login page 2024-07-21 17:41:00 +08:00
Hakadao
1364fa1269 feat: add dark mode support for account settings page(帳號中心頁) 2024-07-10 15:55:42 +08:00
Hakadao
50e3c82739 feat: add dark mode support for creative center (#876)
* feat: support creative center dark mode

* feat: improve dark mode support for creative center

* chore: update --bew-filter-force-dark value in variables.scss

* feat: Add dark mode support for creative center page

* chore: remove unused imports in adaptedStyles/index.ts
2024-07-10 01:48:12 +08:00
Hakadao
4ea67a3148 fix: remove white bar appearing on some pages 2024-06-30 14:52:11 +08:00
MidnightCrowing
b9b7fb9765 fix(AdaptedStyles): support unadapted articles page style (#846)
* fix(AdaptedStyles): support unadapted articles page style

* remove pcpreview page support

* 更新 index.ts

* 更新 index.ts

* Update index.ts

---------

Co-authored-by: Hakadao <a578457889743@gmail.com>
2024-06-18 16:53:49 +08:00
hakadao
f1de0d5bfa refactor: use --bew-top-bar-height to set the bewly top bar height 2024-06-16 18:35:07 +08:00
Hakadao
d983c454fd chore(pkg): update deps (#837)
* chore(pkg): update deps

* chore: fix ts error
2024-06-15 19:36:32 +08:00