Please tell me how to open the source code in the tab.

Users and developers helping users with technical Pale Moon issues (Windows and other non-Linux O.S.). Please direct questions about the Linux version to the appropriate Linux board.

Moderators: trava90, satrow

Forum rules
This board is for technical/usage questions and troubleshooting for the Pale Moon browser only. The main focus here is on Pale Moon on Windows. Please direct your questions for Linux, Android and Mac to the dedicated boards.
Technical issues and questions not related to the Pale Moon browser should be posted in "technical chat"
Please keep off-topic and general discussion out of this board, thank you!
User avatar
pixy_jp
New to the forum
New to the forum
Posts: 1
Joined: 2019-11-09, 07:31

Please tell me how to open the source code in the tab.

Unread post by pixy_jp » 2019-11-09, 07:48

Please tell me how to open the source code in the tab.

When you open the source code, it will open in a new window.
I want to display it as a tab instead of a window.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 24822
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Please tell me how to open the source code in the tab.

Unread post by Moonchild » 2019-11-09, 07:59

It's not designed to be displayed in a tab since it is not a browser document. The source viewer is its own thing, with its own functionality and own menu.
"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
Image

User avatar
moonbat
Astronaut
Astronaut
Posts: 723
Joined: 2015-12-09, 15:45
Location: Australia

Re: Please tell me how to open the source code in the tab.

Unread post by moonbat » 2019-11-09, 10:43

Moonchild wrote:
2019-11-09, 07:59
It's not designed to be displayed in a tab since it is not a browser document. The source viewer is its own thing, with its own functionality and own menu.
Off-topic:
Obviously s/he's used to Chrome-land (and by extension, post Australis Firefox land) where every desktop UI convention is shat upon by having everything displayed in tabs instead of sane UI elements like dialog boxes for configuration, and separate windows and sidebars.
The irony is that if you're looking at source, it's easier to alt-tab between it and the page you're looking at rather than if it was in a tab. Especially if you have several of them open.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Linux Mint 19.2 Xfce x64 on HP i5 laptop with 4 GB RAM, always latest versions of PM & Basilisk unless specified.

User avatar
SpockFan02
Astronaut
Astronaut
Posts: 505
Joined: 2017-09-24, 16:35
Location: Mak pupulusšum, California

Re: Please tell me how to open the source code in the tab.

Unread post by SpockFan02 » 2019-11-09, 10:49

Open a tab, and in the address bar go to view-source: followed by the URL of the page you want to see the source of, e.g.

Code: Select all

view-source:https://developer.mozilla.org/en-US/docs/Tools/View_source

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 24822
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Please tell me how to open the source code in the tab.

Unread post by Moonchild » 2019-11-09, 11:22

SpockFan02 wrote:
2019-11-09, 10:49
view-source:
In the process you'll lose the menu of the source view window, so you will no longer have access to handy features like "go to line" or the "wrap long lines" and "syntax highlighting" toggles.
"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
Image

User avatar
JustOff
Localization Coordinator
Localization Coordinator
Posts: 1789
Joined: 2015-09-03, 19:47
Location: UA
Contact:

Re: Please tell me how to open the source code in the tab.

Unread post by JustOff » 2019-11-09, 11:36

However, if you don't really care about the extra features mentioned above, there is an extension that automatically opens the source code in the tab.
Here are the add-ons I made in a spare time. That was fun!

Post Reply