when on Mouse Over state on a link the status bar shows the link's location in the status bar like in the following image... is there a way to change\override this to show some desired text...
相关问题
- Views base64 encoded blob in HTML with PHP
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- void before promise syntax
- Keeping track of variable instances
This should work
In ie9 method 1 does not have any effect. Method 2 also defeats the purpose of concealing info, by placing active file path in status bar, rather than customary interpolated uri:
Perhaps there is a way to use method 2. Possibly a proxy link-file location intercept. For example:
where c:\links\anylink links to c:\private\privatefile ...?
Further: 'Con: can't open link in new tab / new window' ... javascript?
Most browsers will block attempts to change the status line by default for security reasons (phishing).
You can try it anyway:
A second approach:
Con: you can't open it in a new tabblad / window using Ctrl + click for example.
onmouseover
orJavaScript
are removed fromckeditor
of blog sites when we try to input to a page more data next time. So I think, this method should work tested by me in Firefox browser.If you must change the status, here is a cross browser solution that works:
<a href=".: This a link" onClick="window.location='myurl.html';return false">
Downside is that it requires Javascript
Change "This is a link" to required text" and change "myurl.html" to the path of the window file.
If you need to open a url using "_blank" you can create a function that opens a new window instead.
Unfortunately ".:" has to appear at the front of the text otherwise it will render as a url. Tested in IE9. (Firefox and other browsers render this differently
For other browser you could alternatively use "link:" then your url. Tested in Firefox.
NB: you can only change window.status for Opera, (and possible IE 6 and earlier), for security reasons as mentioned in other people's suggestions.