为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

ctr+u to open in newtab instead of new window

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 sanqiu

more options

More detais are I have several question here about firefox dev version. i know some addons can get me that. but i hope some one here guides me to the docs or instructions of customizing this.

1. Like the title says i want to view source in new tab by ctr+u, view downloads by ctr+j, not in new window. (why firefox doesn't default to newtab of view-soure:%url% and about:downloads etc by shortcut in TAB AGE)

2. When inspecting a dom node, right click this node we can copy the unique css selector, so what's the way of copy the xpath like in chrome dev tool ?

3. The firefox network monitor records the sent request, but i don't see the monitor logs these being reset connection, these blocked requests (eg by adblock)

4. What's the way of disable the js engine for individual website.

I have googled for days without luck finding satisfied results.

pls help. thanks

More detais are I have several question here about firefox dev version. i know some addons can get me that. but i hope some one here guides me to the docs or instructions of customizing this. 1. Like the title says i want to view source in new tab by ctr+u, view downloads by ctr+j, not in new window. (why firefox doesn't default to newtab of view-soure:%url% and about:downloads etc by shortcut in TAB AGE) 2. When inspecting a dom node, right click this node we can copy the unique css selector, so what's the way of copy the xpath like in chrome dev tool ? 3. The firefox network monitor records the sent request, but i don't see the monitor logs these being reset connection, these blocked requests (eg by adblock) 4. What's the way of disable the js engine for individual website. I have googled for days without luck finding satisfied results. pls help. thanks

由sanqiu于修改

所有回复 (2)

more options

1) You can consider to use the PrefBar extension and create buttons to open the page source and the about:downloads page. PrefBar allows to add a keyboard shortcut to activate a button.

I use this code for the page source with Ctrl+Shift+U:

var url=content.document.location.href, src='view-source:'+url;
gBrowser.selectedTab=gBrowser.addTab(src);

For the about:downloads page you can use:

var src="about:downloads";
gBrowser.selectedTab=gBrowser.addTab(src)

2) and 3) Don't know about these ones.

4) You can use PrefBar for that as well (built-in button: Javascript (Tab)).

more options

cor-el said

1) You can consider to use the PrefBar extension and create buttons to open the page source and the about:downloads page. PrefBar allows to add a keyboard shortcut to activate a button. I use this code for the page source with Ctrl+Shift+U:
var url=content.document.location.href, src='view-source:'+url;
gBrowser.selectedTab=gBrowser.addTab(src);

For the about:downloads page you can use:

var src="about:downloads";
gBrowser.selectedTab=gBrowser.addTab(src)

2) and 3) Don't know about these ones.

4) You can use PrefBar for that as well (built-in button: Javascript (Tab)).

really thanks to your reply, i'll have a try