Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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