-
+
- {{
- historyItem.show_title
- ? historyItem.show_title
- : historyItem.title
- }}
+ {{ historyItem.show_title ? historyItem.show_title : historyItem.title }}
diff --git a/src/contentScripts/views/Home/components/ForYou.vue b/src/contentScripts/views/Home/components/ForYou.vue
index 7ca8158a..29d499cf 100644
--- a/src/contentScripts/views/Home/components/ForYou.vue
+++ b/src/contentScripts/views/Home/components/ForYou.vue
@@ -201,6 +201,7 @@ function jumpToLoginPage() {
:published-timestamp="video.pubdate"
:bvid="video.bvid"
:cid="video.cid"
+ :uri="video.uri"
show-preview
/>
@@ -219,7 +220,8 @@ function jumpToLoginPage() {
:bvid="video.bvid"
:view-str="video.cover_left_text_1"
:danmaku-str="video.cover_left_text_2"
- :cid="video?.player_args?.cid "
+ :cid="video?.player_args?.cid"
+ :uri="video.uri"
show-preview
/>
diff --git a/src/contentScripts/views/WatchLater/WatchLater.vue b/src/contentScripts/views/WatchLater/WatchLater.vue
index f531eda5..aec3ac5d 100644
--- a/src/contentScripts/views/WatchLater/WatchLater.vue
+++ b/src/contentScripts/views/WatchLater/WatchLater.vue
@@ -116,11 +116,9 @@ function jumpToLoginPage() {
@@ -213,8 +210,7 @@ function jumpToLoginPage() {
hover:bg="$bew-theme-color-10"
duration-300
pr-2
- :href="`//space.bilibili.com/${item.owner.mid}`" target="_blank"
- @click.stop=""
+ :href="`//space.bilibili.com/${item.owner.mid}`" target="_blank" rel="noopener noreferrer"
>
diff --git a/src/styles/adaptedStyles/comments.scss b/src/styles/adaptedStyles/comments.scss
index b4ea1661..7b7541ca 100644
--- a/src/styles/adaptedStyles/comments.scss
+++ b/src/styles/adaptedStyles/comments.scss
@@ -57,12 +57,7 @@
color: var(--bew-theme-color-80);
}
- .reply-content-container .reply-content .icon {
- filter: saturate(0) brightness(2)
- drop-shadow(0 0 1px var(--bew-theme-color))
- drop-shadow(0 0 4px var(--bew-theme-color));
- }
-
+ .reply-content-container .reply-content .icon,
.bb-comment .comment-list .list-item .text .jump-img,
.comment-bilibili-fold .comment-list .list-item .text .jump-img,
.bb-comment .comment-list .list-item .text-con .jump-img,
diff --git a/src/styles/main.scss b/src/styles/main.scss
index 39d28c54..74289fff 100644
--- a/src/styles/main.scss
+++ b/src/styles/main.scss
@@ -31,8 +31,12 @@ html.bewly-design > ::-webkit-scrollbar-track {
}
::selection {
- color: white;
- background: var(--bew-theme-color-80);
+ color: var(--bew-text-1);
+ background: var(--bew-fill-2);
+}
+
+.dark ::selection {
+ background: var(--bew-fill-3);
}
html.bewly-design,
diff --git a/src/styles/variables.scss b/src/styles/variables.scss
index 381889db..b729c45e 100644
--- a/src/styles/variables.scss
+++ b/src/styles/variables.scss
@@ -5,8 +5,11 @@
--bew-filter-glass: blur(20px) saturate(180%);
--bew-filter-icon-glow: saturate(0) brightness(2)
- drop-shadow(0 0 2px var(--bew-theme-color))
- drop-shadow(0 0 4px var(--bew-theme-color));
+ drop-shadow(0 0 0.2px white)
+ drop-shadow(0 0 0.5px var(--bew-theme-color))
+ drop-shadow(0 0 0.5px var(--bew-theme-color))
+ drop-shadow(0 0 0.5px var(--bew-theme-color))
+ drop-shadow(0 0 2px var(--bew-theme-color-80));
// #region shadow
--bew-shadow-1: 0 4px 6px -1px rgb(0 0 0 / 0.1),
diff --git a/src/utils/main.ts b/src/utils/main.ts
index b2364bc1..80ed04a9 100644
--- a/src/utils/main.ts
+++ b/src/utils/main.ts
@@ -8,6 +8,7 @@ export function getCookie(name: string): string {
const parts: Array
= value.split(`; ${name}=`)
if (parts.length === 2)
return parts?.pop()?.split(';').shift() || ''
+ return ''
}
/**
@@ -43,7 +44,7 @@ export function removeHttpFromUrl(url: string): string {
}
export function openLinkToNewTab(url: string) {
- window.open(url, '_blank')
+ window.open(url, '_blank', 'noopener noreferrer')
}
/**