Closed Bug 240196 Opened 20 years ago Closed 20 years ago

disable ability of javascript to hide URL on the status bar

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: bulk88, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113

On certain pages, the websites use javascript to hide the actual path that a
link leads to in the status bar at the bottom of the browser. They replace it
with another when you roll over the link. This can be bad as they can mask the
kind of file or resource your going to get. Also they often replace it with
their own text. I propose placing what the link leads to after the javascript
inserted text. Or spliting the field into 2 parts.

Here is am example of code that changes the status bar (not nesscerily that, but
anything that changes the status bar with anything).

<script>
<!-- Hide from old browsers
// Copyright © 1999 Doug Popeney
// Created by Doug Popeney (easyjava@easyjavascipt.com)
// JavaScript Made Easy!! - http://www.easyjavascript.com
var yourwords = "YOUR MESSAGE GOES HERE";
var speed = 300;
var control = 1;
function flash()
{
  if (control == 1)
    {
      window.status=yourwords;
      control=0;
    }  
  else
    {
      window.status="";
      control=1;
    }
  setTimeout("flash()",speed);
}
// -->
</script>
 
and your supposed to put this into the HTML body to make that script work

<body onLoad="flash()">

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
edit\preferences\advanced\scripts&Plugins
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.