Jump to content

how to change name of title of bar navigation?


w.fonseca

Recommended Posts

w.fonseca

Could someone pass me the css code that changes the title in the browser bar? Because I was able to change the login page, but did not change the home page, as shown in the print.

 

 

 

 

Page Login

58ebebace8e34_pagelogin.png

 

 

 

 

After Login

 

58ebebcc8a8fb_afterlogin.png

Could someone pass me the css code that changes the title in the browser bar? Because I was able to change the login page, but did not change the home page, as shown in the print.

  • Like 1
Link to post
Share on other sites
pir8radio

Could someone pass me the css code that changes the title in the browser bar? Because I was able to change the login page, but did not change the home page, as shown in the print.

 

 

 

 

Page Login

58ebebace8e34_pagelogin.png

 

 

 

 

After Login

 

58ebebcc8a8fb_afterlogin.png

Could someone pass me the css code that changes the title in the browser bar? Because I was able to change the login page, but did not change the home page, as shown in the print.

 

its dynamically updated using javascript now-a-days i believe.  If you are using a reverse proxy you can rewrite it on the fly. 

Link to post
Share on other sites
  • 3 months later...
momosalao

Edit the librarymenu.js file which is in the scripts folder.

 

Search document.title="Emby" then replace it 

Edited by momosalao
  • Like 1
Link to post
Share on other sites
  • 1 year later...

Does someone know where this name comes from? Sadly changing document.title="Emby"  in librarymenu.js is not sufficient to change this. Similarly, the dashboard index.html file changes og:title etc, but still at runtime the page title gets set back to "Emby". Which code is doing that?

Link to post
Share on other sites

We don't have any options for this, sorry

But where does it come from source wise? I'm also happy to patch this in the binary, but I'm not sure where.

Link to post
Share on other sites
Happy2Play

Have you looked at document.title="Emby" in the site.js?

 

Looks like this applies to 4.2+.

Edited by Happy2Play
Link to post
Share on other sites
  • 3 weeks later...

Have you looked at document.title="Emby" in the site.js?

 

Looks like this applies to 4.2+.

thanks, will test that as soon as i upgrade. not sure if there are other factors at play since i've got no "Emby" anywhere in any js file left that influences the title, but maybe in 4.2 that is different. thanks!

Link to post
Share on other sites
  • 1 month later...

Have you looked at document.title="Emby" in the site.js?

 

Looks like this applies to 4.2+.

 

This (document.title="Emby") has been moved to the file "appheader.js" under \Emby-Server\system\dashboard-ui\bower_components\emby-webcomponents\appheader

it took me a while it find this myself but this seemed to work perfect for me.

Edited by davidrye
  • Like 2
Link to post
Share on other sites
  • 9 months later...
Emerson Viana

Could someone pass me the css code that changes the title in the browser bar? Because I was able to change the login page, but did not change the home page, as shown in the print.

 

 

 

 

Page Login

58ebebace8e34_pagelogin.png

 

 

 

 

After Login

 

58ebebcc8a8fb_afterlogin.png

Could someone pass me the css code that changes the title in the browser bar? Because I was able to change the login page, but did not change the home page, as shown in the print.

Link to post
Share on other sites
  • 1 month later...
  • 4 months later...
Maxwellcrafter
On 7/12/2020 at 7:06 AM, kisswdev said:

FOR LINUX SERVER >> /opt/emby-server/system/dashboard-ui >> INDEX.HTML

I found a script that sets it in /opt/emby-server/system/dashboard-ui/modules/appheader/appheader.js, the location that you mentioned seems to only affect the loading screen

Link to post
Share on other sites

I still suggest just using NGINX ahead of emby...  You can rewrite anything on the fly with little to no impact, and you don't have to fix the .js files after every server update.

	    sub_filter_once off;
	    sub_filter_types application/javascript application/x-javascript text/html;
	    sub_filter_last_modified on;
	    sub_filter 'document.title="Emby"'  'document.title="nam"';

image.png.55b656390a80b439231c0cd89456c801.png

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...