X
Πατήστε εδώ για μετάβαση στην έκδοση της ιστοσελίδας για κινητές συσκευές.

Φόρουμ υποστήριξης

Rename "Restore Session" page title

Δημοσιεύτηκε

Hi,

Is it possible to change the "Restore Session" page title using userContent.css (or other means that doesn't need to be added every time I update)?

Thanks.

Hi, Is it possible to change the "Restore Session" page title using userContent.css (or other means that doesn't need to be added every time I update)? Thanks.
Παράθεση

Επιπρόσθετες λεπτομέρειες συστήματος

Εγκατεστημένα αρθρώματα

  • Shockwave Flash 32.0 r0

Εφαρμογή

  • Πλατφόρμα χρήστη: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0

Περισσότερες πληροφορίες

cor-el
  • Top 10 Contributor
  • Moderator
17278 λύσεις 156183 απαντήσεις
Δημοσιεύτηκε

Do you mean the title as shown on the tab and in the title bar? That is not possible AFAIK (WebExtensions do not work with about pages and chrome:// URIs).

Do you mean the title as shown on the tab and in the title bar? That is not possible AFAIK (WebExtensions do not work with about pages and chrome:// URIs). *https://dxr.mozilla.org/mozilla-release/source/browser/components/sessionstore/content/aboutSessionRestore.xhtml
Σάς φάνηκε χρήσιμο;
Παράθεση
Δημοσιεύτηκε

Ιδιοκτήτης ερώτησης

Yes.

I'm not looking for an addon, I was hoping it can be done using userContent.css since I've already customized this page with it, and what I need is to add a few letters to the title.

I've tried ::after selector but I can't get it to work (it works for other elements).

Yes. I'm not looking for an addon, I was hoping it can be done using userContent.css since I've already customized this page with it, and what I need is to ''add'' a few letters to the title. I've tried ::after selector but I can't get it to work (it works for other elements).
Σάς φάνηκε χρήσιμο;
Παράθεση
cor-el
  • Top 10 Contributor
  • Moderator
17278 λύσεις 156183 απαντήσεις
Δημοσιεύτηκε

Is this for the title that shows in the tab?

Is this for the title that shows in the tab?
Σάς φάνηκε χρήσιμο;
Παράθεση
Δημοσιεύτηκε

Ιδιοκτήτης ερώτησης

Yes, I want to add a few letters to it, for example: "Restore Session" becomes "Restore Session - PF1"

Which is why I tried the ::after content.

Yes, I want to add a few letters to it, for example: "Restore Session" becomes "Restore Session - PF1" Which is why I tried the ::after content.
Σάς φάνηκε χρήσιμο;
Παράθεση
cor-el
  • Top 10 Contributor
  • Moderator
17278 λύσεις 156183 απαντήσεις
Δημοσιεύτηκε

Does this code in userChrome.css work for you?

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

.tabbrowser-tab[label^="Restore Session"] .tab-text{visibility:collapse}
.tabbrowser-tab[label^="Restore Session"] .tab-content:after{content:"Restore Session - PF1"}
Does this code in userChrome.css work for you? <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ .tabbrowser-tab[label^="Restore Session"] .tab-text{visibility:collapse} .tabbrowser-tab[label^="Restore Session"] .tab-content:after{content:"Restore Session - PF1"} </nowiki></pre>
Σάς φάνηκε χρήσιμο;
Παράθεση
Δημοσιεύτηκε

Ιδιοκτήτης ερώτησης

The problem is that the window taskbar button is still showing only "Restore Session", which is why I think it must be done using userContent.css (or maybe a script loaded by it?).

Is there another way to do it?


Thank you for your help.

The problem is that the window taskbar button is still showing only "Restore Session", which is why I think it must be done using userContent.css (or maybe a script loaded by it?). Is there another way to do it? Thank you for your help.
Σάς φάνηκε χρήσιμο;
Παράθεση
Κάντε μια ερώτηση

Πρέπει να συνδεθείτε στο λογαριασμό σας για να απαντήσετε στις δημοσιεύσεις. Παρακαλούμε ξεκινήστε μια νέα ερώτηση, αν δεν έχετε ήδη λογαριασμό.