[WordPress] 外掛分享: Delay Print CSS

首頁外掛目錄 › Delay Print CSS
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
全新外掛
安裝啟用
尚無評分
5709 天前
最後更新
問題解決
WordPress 2.8+ v0.1 上架:2010-08-25

內容簡介

許多瀏覽器在載入 print.css 前都不會顯示您的網頁。Delay Print CSS 外掛可以防止此情況發生。當您的網頁完全渲染(包括 JavaScript、圖像等)後,便會載入列印風格表。

本外掛建議您使用最近一篇部落格文章中介紹的方法,使用 JavaScript 以及非 JavaScript 的後備方案,最後再載入樣式表。

如果您的 WordPress 網站使用 jQuery,則此外掛程式會使用 jQuery 進行樣式表的載入;反之,外掛程式會使用自己的 JavaScript。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.1) 或搜尋安裝

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

原文外掛簡介

Many browsers will not render your webpage until the print.css is loaded. Delay Print CSS prevents this from happening. Once your page has fully rendered (including JavaScript, images, etc) your print stylesheets will be loaded.
Using the methods described in a recent blog post this plugin uses JavaScript, with a non JavaScript fallback, to load your stylesheets last.
If your WordPress site uses jQuery then it is used to load the stylesheets, otherwise the plugin outputs its own JavaScript.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon