Category Archives: Browser

jQuery 1.7 版,並計畫瘦身 jQuery…

jQuery 1.7 前幾天丟出來了,可以看到很多對 event 操作的改善,包括效能與功能 (新增了 .on() 與 .off()):「jQuery 1.7 Released」。 另外今天又看到瘦身計畫:「Building a Slimmer jQuery」,希望把一些「應該要拿掉」或是「應該要被修正」的問題處理掉… 所以在 jQuery 1.7 標為 Deprecation,預定在下個主版本就會處理掉這些問題。 目前 (對我家) 最主要的影響應該是 .live() 會被拔掉,以及之前有使用 .attr(‘value’) 取 current value (要 current value 應該用 .val() 取得)。 看起來是往好的方面進行…

Posted in Browser, Computer, Murmuring, Network, Programming, Software, WWW | Tagged , , , | Leave a comment

擋掉 Google Plus,加快 Google Reader 速度…

Google Reader 這次改版另外一個為人詬病的問題是「變卡」,主要原因是 Google Plus。 第一個想到的解決是利用 Adblock Plus,將 http://www.google.com/reader/* 以及 https://www.google.com/reader/* 連到 https://plusone.google.com/* 的連線需求都都擋下來。但看了 Adblock Plus 的文件,不知道要怎麼設定… 後來想到的解法是自己寫 Google Chrome Extension,主要是很久沒寫都忘光了,剛好找個實際會用到的功能來寫… 主要是用到 chrome.tabs 與 chrome.experimental.webRequest 兩組 API 組合。其中後面這組 API 必須用 about:flags 打開權限才能使用。 成品在這:「google-reader-faster」,由於用到 Google Chrome 的 Experimental API 所以無法上傳到 Web … Continue reading

Posted in Browser, Computer, GoogleChrome, Murmuring, Network, Programming, Software, WWW | Tagged , , , , , , | 2 Comments

Google Reader 改版,以及「自力救濟」的方法…

Google Reader 這次一改版後,在網路上可以看到一堆人抱怨到翻… 用「google reader site:userscripts.org」,然後設限 24 小時內更新的網頁,果然找到不少人試著用 Greasemonkey 寫了對應的 CSS 修改。目前看起來有兩個還不錯: Google Reader Demarginfier Fix New Google Reader Layout (建議與前面的 Google Reader Demarginfier 一起用) 這兩個 script 在 Google Chrome 上沒問題 (沒測過 Firefox,所以不確定 Firefox 是否正常),安裝後 reload 看起來好不少… 工具類的網站還是要把空間留給資訊用,留白反而讓人不方便…

Posted in Browser, Computer, Firefox, GoogleChrome, Murmuring, Network, RSS, Software, WWW | Tagged , , , , , , | 6 Comments

Ubuntu 下 Google Chrome 看韓文的問題

簡單來說,不要在 Ubuntu 下使用 Google Chrome + 文泉驛看韓文。 開始用 Ubuntu 11.04 當桌機的主力就一直這樣,看韓文版維基百科會出現這樣: 這幾天放假把筆電的 Ubuntu 升級到 11.10 最新版,發現問題還是一樣,重灌 11.10 beta2 後也還是一樣。因為新灌的機器所以就亂搞一通,意外發現切到英文語系後就正常,於是試著找原因,發現是 /etc/fonts/conf.d 下的 69-language-selector-zh-tw.conf 設定造成的。於是對裡面設定值 trial-and-error 後發現是 sans-serif 用了文泉驛,於是韓文就爆炸了… 這是拿掉後正常的樣子: 花了點時間總算能看懂一些 fontconfig 的設定…

Posted in Browser, Computer, GoogleChrome, Linux, Murmuring, Network, OS, Software, WWW | Tagged , , , , | 5 Comments

跑兩個不同 Profile 的 Chrome

因為 Gmail 沒辦法很方便的切換帳號,所以得想辦法讓 cookie 分開存。 試著找套件來做到這件事情,但都不太好處理… 於是決定跑兩個不同 profile 的 Chrome (這樣 cookie 就會分開存了)。 script 長這樣: #!/bin/sh cd $HOME exec chromium-browser –user-data-dir=.config/chromium-2/ & 留個紀錄起來…

Posted in Browser, Computer, GoogleChrome, Mail, Murmuring, Network, Software, WWW | Tagged , , , , | 6 Comments

Google Chrome 的 Cookie 隱私功能…

在 Firefox 裡,我們可以藉由「預設所有的 cookie 都只能是 session only」加上「例外名單」,做出「關閉瀏覽器就把白名單以外的 cookie 清掉」的功能,但在 Google Chrome 裡面,用內建的功能做不到這件事情。(他只能做到關閉時全部清除,沒辦法把白名單清除在外) 剛剛找到一個 extension 實做了這個功能:「Vanilla Cookie Manager」,在每次打開 Google Chrome 時會清除所有白名單以外的 cookie,也算是做到這個功能了… (雖然我比較喜歡在關掉的時候處理) 繼續找 Google Chrome 上對應的套件…

Posted in Browser, Computer, GoogleChrome, Murmuring, Network, Software, WWW | Tagged , , , , , , | Leave a comment

Google +1 按鈕的效率問題

在「Google +1 Button Performance Review」這篇中,Aaron Peters 對 Google +1 按鈕所提供的方法感到疑惑,因為官方所提供的方法效率其實並不好。 首先先拿出官方的 sample: <!– Place this tag in your head or just before your close body tag –> <script type=”text/javascript” src=”http://apis.google.com/js/plusone.js”></script> <!– Place this tag where you want the +1 button … Continue reading

Posted in Browser, Computer, Murmuring, Network, Programming, Software, WWW | Tagged , , , , | 2 Comments

在瀏覽器裡面的「Linux 模擬器」

QEMU 的作者 Fabrice Bellard 寫了一個 javascript-based 的 x86 emulator:「Javascript PC Emulator」,技術細節在「Javascript PC Emulator – Technical Notes」。 其中實做了 486-based CPU,沒有浮點運算能力,另外因為這是 for fun project,所以很多細節沒做 (Linux 開機沒用到的功能都沒做)。以「x86 instruction listings」這邊列出來的指令集,要做到 486 等級,大約 150 條上下? 真是感謝現在的瀏覽器把 javascript 做的這麼快…

Posted in Browser, Computer, Hardware, Murmuring, Software | Tagged , , , , , , , | Leave a comment

Linux 上的 Firefox 將會跑得更快…

這是之前在 Slashdot 上看到的消息,主要是因為 Linux 上的 Firefox 6 (還很久…) 將能夠使用 GCC -O3 編譯:「Firefox On Linux Gets Faster Builds — To Be Fast As Windows」。 在 VirtualBox 裡面裝好 Windows 後用 Firefox 4 (把 extensions 都裝上去),居然比 Linux 下 native Firefox 還快,就有種淡淡地哀愁… 繼續等吧…

Posted in Browser, Computer, Firefox, Linux, Murmuring, Network, OS, Software, WWW | Tagged , , , , | 1 Comment

Firefox 設定「當無法驗證 SSL 憑證是否失效時,視為失效」

兩張圖,都是看滑鼠的那個選項:

Posted in Browser, Computer, Firefox, Murmuring, Network, Security, Software, WWW | Tagged , , , , , | Leave a comment