显示标签为“Browser”的博文。显示所有博文
显示标签为“Browser”的博文。显示所有博文

2009年5月21日星期四

Vimperator

Vimperator是Firefox的一个addon,可以像使用Vim一样来使用浏览器。

以下是一些命令的备忘

CTRL-Z
Disable all Vimperator keys except <Esc> and pass them to the next event handler.
If you also need to pass <Esc> in this mode to the web page, prepend it with <C-v>.

CTRL-V
If you only need to pass a single key to a JavaScript form field or another extension prefix the key with <C-v>.
When Vimperator mode is temporarily disabled with <C-z>, <C-v> will pass the next key to Vimperator instead of the web page.

Opened with the specified search engine if the token looks like a search string and the first word is the name of a search engine.
The short name of a search engine is automatically guessed from its name. If you want to set a custom name, you can change it with :dialog searchengines.

T Works like t but preselects current URL in the :tabopen query.

:tabd[uplicate]
Duplicates current tab.

:wino[pen]
Just like :tabopen but opens the resulting web page(s) in a new window.

p
Open (put) a URL based on the current clipboard contents in the current buffer.

P
Open (put) a URL based on the current clipboard contents in a new buffer. Works like p but opens a new tab.

:ju[mps]
List all jumps aka current tab's history aka session history.

r
Force reloading of the current page.

R
Force reloading of the current page skipping the cache.

<C-c>
Stop loading the current web page.

ZQ
Quit and don't save the session.

ZZ
Quit and save the session.

g<C-g>
Print file information.

[count]gi
Focus last used input field. If there is no last input field, it focuses the first input field. When used with [count] it directly jumps to the [count]th input field.

zz
Set full zoom value of current web page. Zoom value can be between 30 and 300%. If it is omitted, full zoom is reset to 100%.

/{pattern}[/]<CR>
If "\c" appears anywhere in the pattern the whole pattern is handled as though 'ignorecase' is on. "\C" forces case-sensitive matching for the whole pattern.

:noh[lsearch]
Remove the search highlighting.

:buffers [filter]
B
Show a list of buffers (=tabs) matching [filter]. Without [filter] list all tabs.

:tab {cmd}
Execute {cmd} and tell it to output in a new tab. Works only for commands that support it, currently:
:tab help
:tab prefs[!]
:tab addons
:tab downloads

g0
Switch to the first tab.

g$
Switch to the last tab.

u
Undo closing of a tab.

ExtendedHint mode
{mode} can be one of:
;; to focus a link and hover it with the mouse
;? to show information about the element (incomplete)
;s to save its destination
;a to save its destination (prompting for save location)
;f to focus a frame
;F to follow a sequence of <CR>-delimited hints in background tabs
;y to yank its destination location
;Y to yank its text description

:bma[rk]
Add a bookmark.

:bmarks [filter]
List or open multiple bookmarks. Open the message window at the bottom of the screen with all bookmarks which match [filter] either in the title or URL.

m{a-zA-Z}
Set mark at the cursor position. Marks a-z are local to the buffer, whereas A-Z are valid between buffers.

'{a-zA-Z}
Jump to the mark in the current buffer. Marks a-z are local to the buffer, whereas A-Z are valid between buffers.

:marks
Show all location marks of the current web page.

q{0-9a-zA-Z}
Record a key sequence into a macro. Available macros are {0-9a-zA-Z} (uppercase to append). Type q to stop recording.

:mac[ros] [pat]
List recorded macros matching the optional regular expression [pat]. If no regexp is given, list all macros.

:dialog printpreview

<C-a>
Increment last number in URL

<C-x>
Decrement last number in URL

0
Scroll to the absolute left of the document

$
Scroll to the absolute right of the document

gU
Go to the root of the website

:messages
Display previously given messages

:restart
Force the browser to restart

:se[t] all
Show all options.

2008年11月10日星期一

CHM Reader

Firefox 的一个插件,可以在浏览器里打开 *.chm 文件,就像浏览网页一样。

打开 CHM 文件:在工具栏上,文件 -> Open CHM Files
打开左侧目录(书签)栏:查看 -> 侧栏 -> CHM Reader,或 Ctrl + E

2008年6月21日星期六

开始使用Safari

Firefox 3 刚出来的时候,着实兴奋了一阵。然而经过几天的试用,发现还是很吃内存,经常假死。主要是我机器配置实在是太低了,在公司的机器上,即使在虚拟机上跑都还是很爽。没办法,下了个 Safari 试试先。速度还可以,也没那么吃内存。假死过一次,希望是偶然。

也有不爽的地方。标签一溜的黑色,看着很费眼睛。也没有 Firefox 那么多的插件。有些操作习惯、快捷键也有不同。

总之,Safari 和 Firefox 都用,各有其好用的一面。

这篇 Blog 就是在 Safari 下写的。

2008年6月4日星期三

Firefox 3 Download Day

http://www.spreadfirefox.com/en-US/worldrecord/
不待见任何宣传技巧,只是被Firefox 2 的内存泄漏问题折磨得太久了,所谓(对旧的东西)失望越大,(对新的东西)希望就越大。
盼望着,盼望着,多少天过去了,FF3的脚步近了。
官方宣布的时间是"Download Day starts on June 17th at 10 a.m. PDT."
换算成北京时间是2008-6-18 1:00 AM

== 2008-06-19

居然贡献了3次下载量,在公司Linux、Windows各一次,回到家又是一次。
中国的绝对下载量还是不少了,只是考虑到人口基数,一下就摊得很薄了。
北朝鲜的下载量为0。
让我很吃惊的是,伊朗的下载量居然那么大,是中国的1.5倍。
美国还是毫无悬念地排在第一位,贡献了三分之一的下载量。
非洲板块南非一只独秀。

性能方面并没有体会到速度快了很多,可能是我的机器配置太低了吧。内存泄漏的问题好很多了。