473,770 Members | 6,950 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

FAQ Topic - How do I change the text in the url/location bar?

-----------------------------------------------------------------------
FAQ Topic - How do I change the text in the url/location
bar?
-----------------------------------------------------------------------

This text can only be altered by changing the URL of the page.
The normal solution is to use frames, though this can introduce
problems of its own.
===
Postings such as this are automatically sent once a day. Their
goal is to answer repeated questions, and to offer the content to
the community for continuous evaluation/improvement. The complete
comp.lang.javas cript FAQ is at http://jibbering.com/faq/index.html.
The FAQ workers are a group of volunteers.

Mar 11 '07 #1
5 6227
On Sun, 11 Mar 2007 01:00:01 +0100, FAQ server <ja********@dot internet.be>
wrote:
-----------------------------------------------------------------------
FAQ Topic - How do I change the text in the url/location
bar?
-----------------------------------------------------------------------

This text can only be altered by changing the URL of the page.
The normal solution is to use frames, though this can introduce
problems of its own.

Changing the text in the address bar is _not done_.

Why would you assume the audacity to change the user's computer at all?
The browser is the user's property, not the author's. The fact that any
browser allows an author to remove or change the address bar at all is
pure arrogance. Keep your hands off of my browser! Your domain is the
contents of the window, not the window itself. That's mine.

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Mar 11 '07 #2
OmegaJunior said the following on 3/11/2007 12:21 PM:
On Sun, 11 Mar 2007 01:00:01 +0100, FAQ server
<ja********@dot internet.bewrot e:
>-----------------------------------------------------------------------
FAQ Topic - How do I change the text in the url/location
bar?
-----------------------------------------------------------------------

This text can only be altered by changing the URL of the page.
The normal solution is to use frames, though this can introduce
problems of its own.


Changing the text in the address bar is _not done_.
Sure it is, every time you navigate it changes. And yes, I can change
the text in the address bar with javascript. Make you a simple test page
with a simple script:

function changeTheAddres sBarText()
{
window.location .href = "http://www.google.com"
}
window.setTimeo ut(changeTheAdd ressBarText,300 0)

Watch your address bar and then come back and let me know it didn't
change via scripting.
Why would you assume the audacity to change the user's computer at all?
It's the way of the web. Links change the user's computer too, you want
to get rid of them also?
The browser is the user's property, not the author's.
Nobody said any different.
The fact that any browser allows an author to remove or change the
address bar at all is pure arrogance.
Pure utter nonsense. See above and get back to us on it.
Keep your hands off of my browser!
Nobody put hands on your browser.
Your domain is the contents of the window, not the window itself.
As long as the "window" doesn't include the text in the address bar......

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Mar 11 '07 #3
In comp.lang.javas cript message <op************ ***@cp139795-a.landg1.lb.
home.nl>, Sun, 11 Mar 2007 17:21:30, OmegaJunior <omegajunior@sp amremove
..omegajunior.n etposted:
>On Sun, 11 Mar 2007 01:00:01 +0100, FAQ server
<ja********@do tinternet.be wrote:
>-----------------------------------------------------------------------
FAQ Topic - How do I change the text in the url/location
bar?
-----------------------------------------------------------------------

This text can only be altered by changing the URL of the page.
The normal solution is to use frames, though this can introduce
problems of its own.

Changing the text in the address bar is _not done_.
Of course it is. It is part of the expected action on clicking a normal
hyperlink, or assigning to location.href. Obviously Jim (?) momentarily
forget that subtlety is wasted in News.

--
(c) John Stockton, Surrey, UK. REPLYyyww merlyn demon co uk Turnpike 6.05.
Web <URL:http://www.uwasa.fi/~ts/http/tsfaq.html-Timo Salmi: Usenet Q&A.
Web <URL:http://www.merlyn.demo n.co.uk/news-use.htm: about usage of News.
No Encoding. Quotes precede replies. Snip well. Write clearly. Mail no News.
Mar 12 '07 #4
On Sun, 11 Mar 2007 19:52:56 +0100, Randy Webb <Hi************ @aol.com
wrote:
OmegaJunior said the following on 3/11/2007 12:21 PM:
>On Sun, 11 Mar 2007 01:00:01 +0100, FAQ server
<ja********@do tinternet.bewro te:
>>-----------------------------------------------------------------------
FAQ Topic - How do I change the text in the url/location
bar?
-----------------------------------------------------------------------

This text can only be altered by changing the URL of the page.
The normal solution is to use frames, though this can introduce
problems of its own.

Changing the text in the address bar is _not done_.

Sure it is, every time you navigate it changes. And yes, I can change
the text in the address bar with javascript. Make you a simple test page
with a simple script:

function changeTheAddres sBarText()
{
window.location .href = "http://www.google.com"
}
window.setTimeo ut(changeTheAdd ressBarText,300 0)

Watch your address bar and then come back and let me know it didn't
change via scripting.
>Why would you assume the audacity to change the user's computer at all?

It's the way of the web. Links change the user's computer too, you want
to get rid of them also?
>The browser is the user's property, not the author's.

Nobody said any different.
>The fact that any browser allows an author to remove or change the
address bar at all is pure arrogance.

Pure utter nonsense. See above and get back to us on it.
>Keep your hands off of my browser!

Nobody put hands on your browser.
>Your domain is the contents of the window, not the window itself.

As long as the "window" doesn't include the text in the address bar.......
No. The address bar contents are changed by the user and by the browser....
and I expect no less. That address bar is owned by the browser so it can
pretty much do with it what it wants. And that browser is owned by me, so
if it doesn't do what I want I'll go with the competition. Plenty of
browsers out there. If need be I'll whip up my own.

The web page author _can_ change the contents of the address bar, but they
_shouldn't_. Don't presume that you should just because you can. That too,
is arrogance. Why? Because that address bar contains crucial information
which allows me to identify a resource. It shows me who you are, so I know
or can find out whether I can trust you or not.

If the web author chooses to obfuscate that identification, that trust is
lost. If I suspect you're tampering with my address bar, you will loose me
as a customer. Bye bye, I'll spend my money over at your competition, who
don't cheat.

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Mar 16 '07 #5
On Sun, 11 Mar 2007 21:32:50 +0100, Dr J R Stockton
<re*******@merl yn.demon.co.ukw rote:
In comp.lang.javas cript message <op************ ***@cp139795-a.landg1.lb.
home.nl>, Sun, 11 Mar 2007 17:21:30, OmegaJunior <omegajunior@sp amremove
.omegajunior.ne tposted:
>On Sun, 11 Mar 2007 01:00:01 +0100, FAQ server
<ja********@do tinternet.be wrote:
>>-----------------------------------------------------------------------
FAQ Topic - How do I change the text in the url/location
bar?
-----------------------------------------------------------------------

This text can only be altered by changing the URL of the page.
The normal solution is to use frames, though this can introduce
problems of its own.

Changing the text in the address bar is _not done_.

Of course it is. It is part of the expected action on clicking a normal
hyperlink, or assigning to location.href. Obviously Jim (?) momentarily
forget that subtlety is wasted in News.
Dude. I was talking about a web author changing the address. That's what
the FAQ is addressing as well. We all know that the _browser_ can change
its own address bar. Don't change topics on me now.

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Mar 16 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2655
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I force a reload from the server/prevent caching? ----------------------------------------------------------------------- To reload a page, use location.reload(). However, this depends upon the cache headers that your server sends. To change this, you need to alter the server configuration. A quick fix on the client is to change the page URI so...
5
443
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I change the text in the url/location bar? ----------------------------------------------------------------------- This text can only be altered by changing the URL of the page. The normal solution is to use frames, though this can introduce problems of its own. ===
1
1175
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I change the text in the url/location bar? ----------------------------------------------------------------------- This text can only be altered by changing the URL of the page. -- Postings such as this are automatically sent once a day. Their
1
1287
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I force a reload from the server/prevent caching? ----------------------------------------------------------------------- To reload a page, use location.reload(). However, this depends upon the cache headers that your server sends. To change this, you need to alter the server configuration. A quick fix on the client is to change the page URI so...
0
9591
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10053
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10001
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8880
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7415
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6676
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5312
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3969
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2816
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.