[WordPress] 外掛分享: Screen Stay Awake

首頁外掛目錄 › Screen Stay Awake
WordPress 外掛 Screen Stay Awake 的封面圖片
70+
安裝啟用
★★★★★
5/5 分(6 則評價)
343 天前
最後更新
問題解決
WordPress 6.2+ PHP 7.4+ v1.0.5 上架:2024-10-27

內容簡介

```html
<!DOCTYPE html>
<html>
<head>
<title>Screen Stay Awake WordPress 外掛介紹</title>
</head>
<body>

<h2>總結:</h2>
<ul>
<li>Screen Stay Awake 外掛會在背景中向訪問者的瀏覽器發送請求,要求保持設備的螢幕亮著並避免自動鎖定。</li>
<li>對食譜網站和其他教學型、資訊型網站很重要,因為訪問者可能在長時間內不與您的網站互動,但仍想看內容。</li>
</ul>

<h2>問題與答案:</h2>

<h3>1. Screen Stay Awake 外掛會向訪問者的瀏覽器發送什麼請求?</h3>
<ul>
<li>Screen Stay Awake 會向訪問者的瀏覽器發送請求,要求保持設備的螢幕亮著並避免自動鎖定。</li>
</ul>

<h3>2. Screen Stay Awake 對哪些網站非常重要?</h3>
<ul>
<li>Screen Stay Awake 對食譜網站和其他教學型、資訊型網站非常重要,因為訪問者可能在長時間內不與網站互動,但仍想閱讀內容。</li>
</ul>

<h3>3. Screen Stay Awake 使用什麼瀏覽器 API 來實現?</h3>
<ul>
<li>Screen Stay Awake 使用 Screen Wake Lock 瀏覽器 API 來實現。</li>
</ul>

<h3>4. 在哪些瀏覽器上可能需要訪問者與網站互動後才能擴展 Wake Lock 請求?</h3>
<ul>
<li>在一些瀏覽器上,例如 iOS Safari,可能需要訪問者與網站互動後才能擴展 Wake Lock 請求。</li>
</ul>

<h3>5. 如何查看 WakeLock: request() 文檔以獲取瀏覽器支持信息?</h3>
<ul>
<li>請查看 WakeLock: request() 文檔以獲取瀏覽器支持信息。</li>
</ul>

</body>
</html>
```

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Screen Stay Awake」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Screen Stay Awake sends a request to your visitor’s browser asking it to keep their device’s screen on and prevent locking. This happens in the background and no user prompt is required. Screen Stay Awake is important for recipe websites and other how-to, informational websites. In these cases a visitor may go long periods without interacting with your site but still want to be able to read your content.
To accomplish this, Screen Stay Awake uses the Screen Wake Lock browser API. The request is sent on page load. Some browsers, such as iOS Safari, require the user to interact with your site prior to honoring the wake lock request. In these cases, Screen Stay Awake will also request the screen stay on after clicks, touches, and scrolls.
For information on browser support, please view the WakeLock: request() Documentation

延伸相關外掛

文章
Filter
Mastodon