Category Archives: Browser

換回 Firefox…

Tweet 用 Google Chrome 用一陣子了,回頭來看看 Firefox 發展的如何… 在 Location bar 輸入網址還是鈍鈍的問題還是沒解,不過很明顯感覺速度跟 Chrome 差不多了… 裝了一卡車套件,用一陣子看看吧 :o

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

Google Chrome Extension 內攔截所有的 url request…

Tweet 之前寫了一個處理 Referer header 的 extension,使用 chrome.experimental.webRequest.onBeforeSendHeaders.addListener 攔截所有的 url 然後處理 Referer header。 之前只需要在 manifest.json 裡面加上 experimental 就可以使用,但是前陣子發現失效。剛剛在「onBeforeSendHeaders listeners aren’t triggering」這個 issue 裡面找到解法:現在需要多加上 <all_urls> 這組權限。

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

把 Google Plus 的數字 icon 藏起來…

Tweet 那個紅色的數字 icon 還蠻妨礙工作的,到 userscripts.org 上翻一翻,果然有人有寫過了 (雖然是沒幾天前):「Go Away! Google Plus」。 PS:隨便丟字進去測試的時候,發現 “test” 第五名是 tw.yahoo.com,這是怎麼了…?

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

Firefox 11 將會支援 SPDY Protocol

Tweet Firefox 預定在 11 (現在是 8) 支援 SPDY Protocol:「(SPDY) Implement SPDY protocol」,除了 Google Chrome 自家瀏覽器支援外,總算有個大的也要支援了… 所以現在除了 Chrome、Kindle Fire 以外,又多了 Firefox 支援… 不過 Apache 與 F5 什麼時候會支援呢… mod-spdy 看起來… 呃…

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

關掉 Mac OS X 上的平滑捲動…

Tweet 起因是想要關掉 Google Chrome 在 Mac OS X 上的平滑捲動,找了半天都沒看到,後來被人提醒,Mac 系統有選項提供平滑捲動,Google Chrome 有平滑捲動可能是由作業系統提供,而非 Google Chrome 自己實作: 關掉後問題就解決了…

Posted in Browser, Computer, GoogleChrome, MacOS, Murmuring, OS, Software | Tagged , , , , , | 2 Comments

安裝 Pretty Beautiful Javascript…

Tweet Pretty Beautiful Javascript,這是安裝前看 jQuery 1.7.0 程式碼的效果: 這是安裝後的效果: 不過 javascript 檔案大一點跑起來就會很慢 XD

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

Mac 下 Google Chrome 的 textarea 預設字型…

Tweet 要編輯維基百科的時候發現字寬好像不太熟悉,多看了幾個站台,發現 Google Chrome 在 Mac 下面對 textarea 預設的字型不是等寬字… 而且預設的套件沒辦法修改 :o 知道問題後,就是要找解法了… 目前的解法是裝 Stylish,對所有站台的 textarea 加上 font-family: monospace;,這樣就可以避免當網站沒有對 textarea 指定 font-family 時看起來很突兀…

Posted in Browser, Computer, GoogleChrome, MacOS, Murmuring, OS, Software | Tagged , , , , , , | Leave a comment

Google Chrome 的 user script 與 Greasemonkey 的不同…

Tweet 實在是睡不著,來整理一些資料… 不知道「User Scripts – The Chromium Projects」這份是否 outdated 了,但至少發現在 Google Chrome 裡面推薦用 @match 設定 url,不過原先的 @include 還是可以用: Support for Greasemonkey-style @include patterns is also implemented for compatibility, but @match is preferred. 在 Greasemonkey 的「Metadata Block – GreaseSpot」說明中則是用 @include 設定,直到 … Continue reading

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

jQuery 1.7 版,並計畫瘦身 jQuery…

Tweet 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 速度…

Tweet 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 所以無法上傳到 … Continue reading

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