Fork me on GitHub

Announcement

The oneye project has been discontinued. You might not expect further fixes and support from us. All community related systems are set to read-only mode. Though feel free to download and use oneye as-is or even fork it over at GitHub.

#1 2011-09-14 01:25:34

hknight
Member
Registered: 2011-09-14
Posts: 2

Change title in browser

How can I change the title in the browser from "user@eyeos" to "My Custom Title"?

I use version 1.9.0.3.

Offline

#2 2011-09-14 01:33:39

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: Change title in browser

Hey,

nice to see you here smile .

Just edit eyeOSxxxxxxxxxx/apps/eyeDesk/app.eyecode on line 21. E.g. change

	eyex('runjs',array('js' => 'document.title = %s; window.onbeforeunload = function() { return ""; };','tokens' => array($currentUser . '@' . EYEOS_HOSTNAME)));

to

	eyex('runjs',array('js' => 'document.title = %s; window.onbeforeunload = function() { return ""; };','tokens' => array('My Custom Title')));

Hope this helped?!


Best regards,
Lars Knickrehm

The oneye project.

Offline

Board footer

Powered by FluxBB