Chrome也支持插件了
前些天发现Chrome也支持插件了,所以特意Google了一番,关于如何使用插件的相关问题,最后发现使用插件的前奏还是比较复杂的,比如升级浏览器到Dev版本,在快捷方式中增加–enable-extensions等。
一切都搞定之后,发现两个常用的软件,和Firefox下的几乎差不多:
1、AdBlock+ v1.1.9
An adblock extension for Google Chrome. Similar to “Remove It Permanently” and “Adblock Plus: Element Hiding Helper” from FireFox.
The extension version is supported AdBlock Plus subscriptions.
For now, only elements hiding rules are supported, because Chrome does not yet have “content policy”.
Hotkeys:
Block element – Alt+B
Block elements – Alt+W
Unblock element – Alt+U
Unblock latest element – Alt+L
Edit styles – Alt+E
Download:
Extension - http://ruzanow.ru/extensions/adblock.crx
Extension beta - http://ruzanow.ru/extensions/beta/adblock.crx
Userscript - http://userscripts.org/scripts/show/46974
I recommend to use Chrome with a switch –enable-local-storage , that content-script could use localStorage instead of cookies.
2、HostTitle
my first extension for Google Chrome. It simply puts the domain of the page you are visiting in the title. This is handy for programs like KeePass that rely on the domain name being in the window title to work.
Yes, the code is suspiciously similar to this userscript. I didn’t like the user script because it’s harder to install, although I’m sure that will be fixed in later releases of Chrome.
Note: Extension support in Chrome is beta. This may or may not crash your browser.
Known Bugs and Further Work:
- Doesn’t work if the page changes its own title after page load: ie: Gmail
- I want to eventually expand this a bit so you can customize the title.