Commit Graph

129 Commits

Author SHA1 Message Date
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
Stephen Zhou
6cc3b4de9f style: sort imports (#746) 2024-05-11 14:20:56 +08:00
Stephen Zhou
99c0d7d8ee refactor: remove composable auto import (#741) 2024-05-10 19:35:34 +08:00
Stephen Zhou
6f19b29993 fix: sync theme when loading page, close #736 2024-05-10 14:59:25 +08:00
Hakadao
86c8b74015 fix: flash dark theme (#565)
* fix: flash dark mode when using the light theme

* improve color mode transition

---------

Co-authored-by: starknt <1431880400@qq.com>
2024-04-15 00:36:06 +08:00
hakadao
96a85047da feat: support dark mode for watch later, 404 page && adjust the regex rules 2024-03-31 04:31:31 +08:00
Hakadao
3e06c271b6 chore: refactor some code implementations 2024-03-17 21:13:06 +08:00
Hakadao
c06f228a75 fix: bewlybewly does not work on the "www.bilibili.com/index.html" page 2024-03-17 17:46:45 +08:00
Hakadao
fec8adf9d0 perf: improve style loading speed 2024-03-15 01:09:41 +08:00
Hakadao
5d4538b49a fix: 播放全部up视频时失效 #243 2024-01-31 00:03:32 +08:00
Hakadao
fda3469425 fix: exclude the unsupported page (#206) 2024-01-23 01:42:48 +08:00
Hakadao
65bb56c167 Merge pull request #172 from starknt/fix/misc
fix: `global Speed` conflict
2024-01-15 11:24:54 +08:00
Hakadao
10bfc7cdbc fix: resolve 网页链接打开无法跳转到视频页,并且主题失效 #166 2024-01-14 23:48:09 +08:00
Hakadao
e11cc164d5 feat: adapt documentary page && adjust styles 2024-01-14 23:31:08 +08:00
starknt
3985ade643 fix: global Speed conflict 2024-01-12 23:57:27 +08:00
Hakadao
017c1c9d3d feat: adapt articles page (WIP) 2024-01-12 00:22:30 +08:00
Hakadao
72460998e1 fix: some styles affect in unsupported pages 2024-01-09 23:07:49 +08:00
Hakadao
770c8067a7 feat: adjust <a> tag link targe attribute
When open the homepage, top bar links should open in a new tab; when not on the homepage, they should open in the same page
2024-01-09 22:54:33 +08:00
Hakadao
4e1df87889 Merge branch 'dev' into dev-upgrade-eslint-config 2024-01-09 16:19:10 +08:00
Hakadao
b4d5b8ea06 perf: improve styles load performance 2024-01-09 15:55:35 +08:00