Please move "Pale Moon - Add-ons" text to the end of the tab title Topic is solved

Anything to do with the Pale Moon add-ons website. (addons.palemoon.org)
Not for questions about add-ons themselves!
Forum rules
Important: This board is for specifics regarding the add-ons website (addons.palemoon.org) and not to report extension compatibility issues or discuss different extensions.
Please only post here when your topic is directly related to the add-ons website service so our moderators don't have to move your posts all the time...
Locked
User avatar
letmeindude
Fanatic
Fanatic
Posts: 101
Joined: 2018-10-09, 08:56

Please move "Pale Moon - Add-ons" text to the end of the tab title

Post by letmeindude » 2020-01-08, 16:01

When I open a few tabs I get this:
Image

So why not move that text to the end, so we can see extension names in our tabs without hovering, switching, etc?

User avatar
therube
Board Warrior
Board Warrior
Posts: 1319
Joined: 2018-06-08, 17:02

Re: Please move "Pale Moon - Add-ons" text to the end of the tab title

Post by therube » 2020-01-09, 06:37

(Not what you want, but mouseover on the tab... Should work most everywhere, not only on Pale Moon.

Suppose you could use an extension to modify the page <title> </title>?)

User avatar
karlkracher
Fanatic
Fanatic
Posts: 103
Joined: 2015-12-05, 17:40
Location: palestine

Re: Please move "Pale Moon - Add-ons" text to the end of the tab title

Post by karlkracher » 2020-01-09, 08:07

Well, I see two possibilities

1. Start a discussion with New Tobin Paradigm.

2. Install Greasemonkey (if not already done) and use a script to change the title tag

Code: Select all

// ==UserScript==
// @name        change_pm_addon_title
// @namespace   cpat
// @include     https://addons.palemoon.org/*
// @version     1
// @grant       none
// ==/UserScript==

// greasemonkey for pale moon 3.31.4

document.title = document.title.replace ('Pale Moon - ', '') + ' - Pale Moon';

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 7597
Joined: 2012-10-09, 19:37
Location: Just beyond the Lament Configuration

Re: Please move "Pale Moon - Add-ons" text to the end of the tab title

Post by New Tobin Paradigm » 2020-01-09, 12:02

No.
Image
- Welcome to the worst nightmare of all... reality! -

User avatar
letmeindude
Fanatic
Fanatic
Posts: 101
Joined: 2018-10-09, 08:56

Re: Please move "Pale Moon - Add-ons" text to the end of the tab title

Post by letmeindude » 2020-01-09, 12:28

karlkracher wrote:
2020-01-09, 08:07
1. Start a discussion with New Tobin Paradigm.

2. Install Greasemonkey (if not already done) and use a script to change the title tag
1. No.

2. Thank you, I have Violentmonkey installed in Opera, so that will do it.

User avatar
jars_
Lunatic
Lunatic
Posts: 315
Joined: 2016-12-27, 00:12

Re: Please move "Pale Moon - Add-ons" text to the end of the tab title

Post by jars_ » 2020-01-09, 12:42

This is really annoying tradition\pattern, has taken root on many sites - site name in the begining of tab аnd only then site topic name.

Это действительно очень тупая традиция\шаблон, прижилась на многих сайтах - имя сайта в начале вкладок и только затем, название раздела, страницы.
2. Install Greasemonkey (if not already done) and use a script to change the title tag

Code: Select all

// ==UserScript==
// @name              Correct Title
// @namespace      http://maltekraus.ma.funpic.de/Firefox/
// @description      Korrigiert den Titel von PHPBB-Foren ohne Thread im Titel
// @version            2.0
// @include        http*addons.palemoon.org/*
// @include        http*forum.palemoon.org/*
// @include        http*custombuttons.sourceforge.net/forum/*
// @include        http*apn-spb.ru/*
// @grant                     none
// @run-at	            document-end
// ==/UserScript==
// Made by Malte Kraus, firefox [ad] maltekraus [dot] de

// you may want to change this to fit your needs
// var dividers = [" :: ", " - "];
// разделители имени по которым будет разворот названия
var dividers = [" | ", " :: ", " - ", " • ", " / "];

var title = document.title;
var parts = [];

var i = dividers.length;
while(i--) {
  if(title.indexOf(dividers[i]) != - 1) {
    parts.push(title.substr(0, title.indexOf(dividers[i])));
    title = title.substr(title.indexOf(dividers[i]) + dividers[i].length);
  }
}

parts.push(title);

var threadTitle = document.getElementsByClassName("maintitle");
if(threadTitle.length) {
  threadTitle = threadTitle[threadTitle.length - 1].textContent;
  if(document.title.indexOf(threadTitle) == -1)
    parts.push(threadTitle);
}

parts.reverse();
for(var i = 1, title = parts[0]; i < parts.length; i++) {
  title = title + dividers[i - 1] + parts[i];
}

document.title = title;

// include topic title on phpbb reply pages
if(location.href.indexOf("posting.php?mode=topicreview") != -1) {
  parent.document.title = parts[0] + dividers[1] + parent.document.title;
}



User avatar
letmeindude
Fanatic
Fanatic
Posts: 101
Joined: 2018-10-09, 08:56

Re: Please move "Pale Moon - Add-ons" text to the end of the tab title

Post by letmeindude » 2020-01-09, 13:11

jars_ wrote:
2020-01-09, 12:42
This is really annoying tradition\pattern, has taken root on many sites - site name in the begining of tab аnd only then site topic name.
Maybe they want more people to install Greasemonkey :) Thank you for the script.

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 7597
Joined: 2012-10-09, 19:37
Location: Just beyond the Lament Configuration

Re: Please move "Pale Moon - Add-ons" text to the end of the tab title

Post by New Tobin Paradigm » 2020-01-09, 13:21

That would be an incorrect assumption.
Image
- Welcome to the worst nightmare of all... reality! -

User avatar
moonbat
Board Warrior
Board Warrior
Posts: 1911
Joined: 2015-12-09, 15:45

Re: Please move "Pale Moon - Add-ons" text to the end of the tab title

Post by moonbat » 2020-01-10, 02:35

jars_ wrote:
2020-01-09, 12:42
This is really annoying tradition\pattern, has taken root on many sites - site name in the begining of tab аnd only then site topic name.
It goes back to when the web was originally made up of HTML documents connected by links - the title reflected the page hierarchy going back to the root. This was long before tabbed browsing existed so space wasn't a constraint. Also when you are browsing through your history, it is easier to see entries for a given site at a glance if the page title begins with the site name.

Although these days many sites have completely stopped making the title reflect the current context or section, making it useless. Right click on your history back button and you will just see a long list of 'mywebsite.com' - so you can't jump back to a particular page anymore.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

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

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 7597
Joined: 2012-10-09, 19:37
Location: Just beyond the Lament Configuration

Re: Please move "Pale Moon - Add-ons" text to the end of the tab title

Post by New Tobin Paradigm » 2020-01-10, 03:29

I personally have always used reverse breadcrumb page titles but MCP sites use natural order more in line with the older web as moonbat says.

The point is, I am not the one to convince for Pale Moon and Basilisk site page titles. Moonchild is. I merely stay consistent on the parts I manage. So the answer is no until he says otherwise and I am fine with that.
Image
- Welcome to the worst nightmare of all... reality! -

Locked