From 218934fa2ed1c702a6d3923d2aa2cc6b43c48684 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:43:23 -0500 Subject: initial commit --- files/zh-tw/prism/index.html | 89 ++++++++++++++++++++++ .../index.html" | 21 +++++ .../index.html" | 11 +++ 3 files changed, 121 insertions(+) create mode 100644 files/zh-tw/prism/index.html create mode 100644 "files/zh-tw/prism/\344\270\273\350\246\226\347\252\227/index.html" create mode 100644 "files/zh-tw/prism/\345\256\211\350\243\235\347\250\213\345\274\217/index.html" (limited to 'files/zh-tw/prism') diff --git a/files/zh-tw/prism/index.html b/files/zh-tw/prism/index.html new file mode 100644 index 0000000000..30d3f7d7db --- /dev/null +++ b/files/zh-tw/prism/index.html @@ -0,0 +1,89 @@ +--- +title: Prism +slug: Prism +tags: + - prism +translation_of: Archive/Mozilla/Prism +--- +

Prism 是以 XULRunner 為基礎的極簡化瀏覽器,可以讓網際應用程式不必透過一般瀏覽器介面就能直接執行。Prism 的主要概念是「特定網站專用瀏覽器」,就好比為某個網際應用程式量身訂做的瀏覽器一樣,無需選單、工具列及其他傳統瀏覽器的元件。這類專屬瀏覽器能為其網際應用程式提供與作業系統更緊密的整合,所以能同時擁有一般單機程式與網際應用程式雙方面的好處。

+

好處

+ +

架構概觀

+

Prism 是個 XULRunner 軟體,其中除了 XULRunner 內建的瀏覽器引擎外還包括:

+ + + + + + + + +
+

文件

+
+
+ 常見問題集
+
+  
+
+ 軟體包
+
+ 將網際應用程式的設定、圖示及其他專屬自訂檔「包」在 ZIP 壓縮檔內方便使用。
+
+ 設定
+
+ A webapp bundle should contain a webapp.ini configuration file. The configuration file is a simple, INI-style text file that specifies some parameters about a web application.
+
+ 樣式
+
+ One of Prism's goals is to make web applications feel more like desktop applications. One way to make the illusion seem more real is to use styling (or theming). Prism supports a simple styling system that allows the user to add CSS files to the webapp bundle.
+
+ 主視窗
+
+ Prism provides a simple, scaled down browser window for running web applications. Using configuration files and webapp scripting, the host window can be modified.
+
+ 安裝程式
+
+ 安裝 Prism。
+
+

全部列出…

+
+

社群

+ +

其他東西

+ +

一起搞吧!

+ +

相關主題

+
+
+ XULRunner
+
+
+

 

+

 

+
+  
+

{{ languages( { "en": "en/Prism", "fr": "fr/Prism" } ) }}

diff --git "a/files/zh-tw/prism/\344\270\273\350\246\226\347\252\227/index.html" "b/files/zh-tw/prism/\344\270\273\350\246\226\347\252\227/index.html" new file mode 100644 index 0000000000..d8e06c3a60 --- /dev/null +++ "b/files/zh-tw/prism/\344\270\273\350\246\226\347\252\227/index.html" @@ -0,0 +1,21 @@ +--- +title: 主視窗 +slug: Prism/主視窗 +tags: + - prism +translation_of: Archive/Mozilla/Prism/HostWindow +--- +

Prism 執行網際應用程式時,是以非常簡單的視窗呈現。視窗上仍有一些介面組件(如圖所示),而Prism 可以設定某些介面組件的顯示與否。

+

Image:webrunner-ui.gif

+ +

註:

+ +

{{ languages( { "en": "en/Prism/HostWindow" } ) }}

diff --git "a/files/zh-tw/prism/\345\256\211\350\243\235\347\250\213\345\274\217/index.html" "b/files/zh-tw/prism/\345\256\211\350\243\235\347\250\213\345\274\217/index.html" new file mode 100644 index 0000000000..d3ab5e831a --- /dev/null +++ "b/files/zh-tw/prism/\345\256\211\350\243\235\347\250\213\345\274\217/index.html" @@ -0,0 +1,11 @@ +--- +title: 安裝程式 +slug: Prism/安裝程式 +tags: + - prism +translation_of: Archive/Mozilla/Prism/Installer +--- +

安裝程式需將 *.webapp 檔的關聯程式設定為 Prism,這麼一來雙點 *.webapp 檔時才會自動用 Prism 開啟網際應用程式。 +

目前 Windows 跟 Mac 的安裝程式都可以自動設定關聯。 +

這麼一來還有另一個好處:當點選網頁上的 .webapp 檔時也能自動以 Prism 開啟!不過在 Firefox 中這招只在伺服器將 .webapp 檔做為 application/x-webrunner 送出時才有用,而 IE 倒不會檢查這點。(參考這個例子) +

{{ languages( { "en": "en/Prism/Installer" } ) }} -- cgit v1.2.3-54-g00ecf