星期五, 2月 16, 2007

Bookmarklets 整理

整理出了一些個人認為還不錯用的bookmarklets。

安裝方式:將連結拖放至你的書籤列上。

以下的bookmarklets皆可在Mozilla Firefox上使用:

Force Wrap (強制換行)

Google Cache
(用google cache 檢視目前的頁面)

Text Color (變更頁面文字的顏色)

Page Color (變更頁面背景的顏色)

Coralize (連接大陸
網站過慢時,可以改用coralize)

Highlight Regexp (用正規表示式,反白頁面文字)

FormTextResizer (用滑鼠改變表單中的文字方框大小)


WBR tag test page(Force Wrap test page):http://www.quirksmode.org/oddsandends/wbr.html

來源引用自:
http://www.blogmarks.net/marks/tag/bookmarklet,web
http://userscripts.org/scripts/show/1847

星期四, 2月 15, 2007

Force Wrap - Bookmarklet

http://userscripts.org/scripts/show/1847

Intro:Use <wbr> tag to wrap the long words and refresh the inner html page after it was finished.

Force Wrap (Drag it to your Bookmarks/Favorites)

 
javascript:(function(){var D=document; F(D.body); function F(n){var u,r,c,x; if(n.nodeType==3){ u=n.data.search(/\S{45}/); if(u%3E=0) { r=n.splitText(u+45); n.parentNode.insertBefore(D.createElement(%22WBR%22),r); } }else if(n.tagName!=%22STYLE%22 && n.tagName!=%22SCRIPT%22){for (c=0;x=n.childNodes[c];++c){F(x);}} } })();document.body.innerHTML = document.body.innerHTML; void 0;


Here is the WBR tag test Page:
http://www.quirksmode.org/oddsandends/wbr.html

星期三, 1月 03, 2007

[轉載]讓小紅點支援更多程式,如MSN、Firefox、Opera、mstsc

見原文


本文引用自: 蘋果豬日記V3 » Blog Archive » IBM小紅點的TP4Table.dat修改…

本文引用自: TrackPoint の横スクロール : WheelVkey

本文必須修改 C:\WINDOWS\system32\tp4table.dat

UltraNave 的 tp4table.dat 位置:C:\Program Files\Synaptics\SynTP

請在  ; Pass 0 rules (These rules run first) 的下方加入以下的內容

; OpenOffice
*,*,soffice.bin,*,*,*,WheelStd,0,9

; MSN Messenger
*,*,msnmsgr.exe,*,*,*,WheelStd,0,9

; Firefox
*,*,firefox.exe,*,*,MozillaWindowClass,WheelVkey,0,9

; 遠端桌面連線
*,*,mstsc.exe,*,*,*,WheelVkey,0,9

; Opera
*,*,opera.exe,*,*,*,WheelStd,0,9

星期日, 12月 31, 2006

目前Firefox的設定

產生日期: Tue Jan 23 2007 00:00:19 GMT+0800

User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.8.1.1) Gecko/20061225 BonEcho/2.0.0.1 (pigfoot)

Build ID: 2006122509

啟用擴充套件: [21]
停用擴充套件: [4]擴充套件: 25

已安裝佈景主題: [2]已安裝外掛: (11)
  • Adobe Acrobat
  • Java(TM) 2 Platform Standard Edition 5.0 Update 9
  • Microsoft® DRM
  • Mozilla Default Plug-in
  • PCMan BBS Plugin for Mozilla
  • PCMan's IE Tab Plug-in for Mozilla/Firefox
  • QuickTime Plug-in 6.5.1
  • RealPlayer Version Plugin
  • RealPlayer(tm) G2 LiveConnect-Enabled Plug-In (32-bit)
  • Shockwave Flash
  • Windows Media Player Plug-in Dynamic Link Library

星期五, 10月 27, 2006

泛用adblock plus filters...

放一份在這,免的到時候找不到。

/yimg\.com/(a[^u]|i/(mntl|auction))(swf)?/
/(row\.bc\.|tw\.ard\.)+yahoo/
/[\?\.\+\-/_=&#]\d{0,3}(x|banner(s|\d|id=\d*)?|guanggao|gg|ad(s?view|pop(s?|ups?)|result|s(ense|how|erver|s?ite|s?ide)?|(double|fast)clicks?|[fv](show|click)?|ver(t(ising)?)?|pic(s)?|float|tags?|frame(s)?)?)\d{0,3}([\?\.\+\-\)/_=]|$)/

星期二, 10月 10, 2006

軟體RAID0 操作隨筆..

嗯.. 要玩軟體RAID0可以用 3顆硬碟(3顆為個人建議. os丟在第一顆, 用RAID0組出來的那顆可以用來放資料及temp, swap)
(以下的步驟皆不操作含有os的第一顆硬碟, 並以Win XP Pro的操作為例)
步驟:
1. 選用等型號的兩顆硬碟(這樣才會比較理想)
2. 電腦管理 (開始→執行: compmgmt.msc /s)
3. 點選 存放→管理 刪除那兩顆硬碟的所有分割區
4. 在磁碟機上按滑鼠右鍵 並轉換成動態磁碟管理
5. 選取等量磁區 即大功告成