Permanently setting the status bar text

Posted on 2001-07-18
Last Modified: 2006-11-17

I don't want users to see the url's for anchors in the status bar, but adding the following to each and every anchor adds too much overhead to my page:

<a href="" onclick="status='static status bar text here'"> click me </a>

Is there any alternative, in which I can set the status bar text to be a static value, without adding weight to my page (I don't want to turn off the status bar).


Question by:jonpers
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 10

Expert Comment

ID: 6295554
Sadly, no.
LVL 17

Expert Comment

ID: 6295808
Happily, no. The status bar is there for a reason - some people like to know where they are going before clicking. Even it it were possible it could be bypassed by:

* disabling JavaScript
* viewing source
* "Copy Link Location" and pasting
LVL 53

Accepted Solution

COBOLdinosaur earned 50 total points
ID: 6295883
How about this way.  In the head:

<script language="JavaScript">
   function setStatic()
      status="static text";
then for the on load event:

<body onLoad="x=setInterval('setStatic()',100)">

The urls will flash momentarily, but too fast for anyone to see what
they are.

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 53

Expert Comment

ID: 6295904

Hiding the Url does not buy you anything.  As dorward indicated already it is easy to get around no matter how you do it, and sites that do it just end up marked as the work of amateurs, or sleazy.


Author Comment

ID: 6295936
I'm not trying to stop users seeing the URL at all, it's just that we're using a CMS and the URLS are long and ugly.

I'm probably not going to bother now, but thanks for this which certainly looks like it'd work.

LVL 53

Expert Comment

ID: 6295955
Glad I could help.  Thanks for the A. :^)

LVL 10

Expert Comment

ID: 6296101
What about processor usage?  Running a script, a short one granted, but still running a script every 10th of a second has got to have some detrimental affect.

Good outside the box answer though Cd&.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to combine and minify CSS and JS files 5 36
Bootstrap 3 - Style a dropdown 1 25
Navigation Menu Does Not Show on iPad 4 30
Sending ASP to server side 8 28
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question