Tofu
Tofu is the best food all around the world!


Unite 應用推薦 – UJS Manager

主頁: http://unite.opera.com/application/401/
下載: http://unite.opera.com/application/download/401/2.8/
特性:

  • 方便的與他人分享
  • 可置於面板中使用
  • 單擊啟用/禁用/刪除 UserJS
  • 簡單的安裝和更新 UserJS
  • 智能識別 UserJS 頭信息
  • 易於創建或編輯 UserJS
  • 可直接編輯 UserJS 變量

下載安裝後需要指定 UserJS 文件夾,如圖所示:

選定文件夾後 UJS Manager 會列出已存在的 UserJS,如圖所示:

簡單的功能介紹:

  • A) 快速搜索,匹配文件名或 @name 值,僅搜索顯示的名稱,比如顯示文件名時不匹配 @name 值,反之亦然,依賴於顯示設定
  • B) 添加新的 UserJS,點擊轉到編輯介面
  • C) 全局開關,點擊禁用/啟用 UserJS,禁用的 UserJS 文件名後會添加 .xx 後綴
  • D) 顯示設定,可設置排序方式(按名稱或狀態排序),及名稱顯示方式(顯示文件名或 @name 值)
  • E) 添加到面板,點擊添加到面板,此按鈕在面板寬度過寬時亦會顯示
  • F) UserJS 狀態,綠色對勾表示啟用,單擊可禁用
  • G) UserJS 名稱,依賴於顯示設定,默認首選顯示 @name 值
  • H) 分享狀態,此按鈕顯示時表示其他人可訪問您的 Unite 來查看此 UserJS,單擊訪問分享頁面
  • J) 編輯 UserJS 變量
  • K) 顯示 UserJS 頭信息
  • L) 編輯 UserJS,點擊轉到編輯介面
  • M) 分享/取消分享 UserJS
  • N) 刪除 UserJS,點擊彈出確認刪除對話框
  • O) UserJS 狀態,灰色表示禁用,單擊可啟用

注:直接編輯 UserJS 變量功能需要在 UserJS 中添加特殊的注釋,語法如下:

  1. /*@名稱@(bool|int|string)@*/變量值/*@*/

一個例子 (完整 UserJS 已分享,可訪問我的 Unite 查看)

  1.     var font_size = /*Font size (px)@int@*/14/*@*/;
  2.     var font_color = '/*@Font color@string@*/#000/*@*/';
  3.     var bg_color = '/*@Background color@string@*/#FFF/*@*/';
  4.     var opacity = /*@Opacity@int@*/0.9/*@*/;
  5.     var border = /*@Enable border@bool@*/true/*@*/;
  6.     var border_color = '/*@_Border color@string@*/#999/*@*/';

顯示效果如圖:


  1. Notify wampus @

    沙发坐掉,介绍很详细。。。

  2. Notify 卡农 @

    js盲低调路过……Cs最近出来的少了啊

  3. Notify A.shun @

    好像比以前强大多了,介绍很详细啊

Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).