diff --git a/packages/devtools/client/components/PictureInPictureButton.vue b/packages/devtools/client/components/PictureInPictureButton.vue index ed956c8518..4cc4a44e99 100644 --- a/packages/devtools/client/components/PictureInPictureButton.vue +++ b/packages/devtools/client/components/PictureInPictureButton.vue @@ -2,6 +2,7 @@ const client = useClient() const isInPopup = window.__NUXT_DEVTOOLS_IS_POPUP__ +const isHttps = computed(() => window.location.protocol === 'https:') const showInfo = ref(false) const copy = useCopy() @@ -17,7 +18,7 @@ function popup() {