From b53d677100a053ab8dab58d76191989d37d0b768 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Thu, 13 Feb 2025 01:45:21 +0800 Subject: [PATCH] chore: nvm --- src/contentScripts/views/App.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/contentScripts/views/App.vue b/src/contentScripts/views/App.vue index 17c61a90..7a3fdac6 100644 --- a/src/contentScripts/views/App.vue +++ b/src/contentScripts/views/App.vue @@ -47,6 +47,9 @@ const handleThrottledReachBottom = useThrottleFn(() => handleReachBottom.value?. const handleThrottledBackToTop = useThrottleFn(() => handleBackToTop(), 1000) const topBarRef = ref() const reachTop = ref(true) +const isSafari = computed(() => + /^(?:(?!chrome|android).)*safari/i.test(navigator.userAgent), +) const iframeDrawerURL = ref('') const showIframeDrawer = ref(false) @@ -319,6 +322,7 @@ provide('BEWLY_APP', {