We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

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