ctr+u to open in newtab instead of new window
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)
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)).
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