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
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.

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

747 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now