Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// ==UserScript==
// @name StatusbarInURLBar3.uc.js
// @namespace
// @include main
// @compatibility Firefox 4.0b7
// @note Firefox 3.6, 4.0b6 はこちら
// ==/UserScript==
if (!isElementVisible(gURLBar)) return;//アドレスバーが無かったらストップ
var urlbarIcons = document.getElementById('urlbar-icons');
var statusBar = document.getElementById('status-bar');
statusBar.setAttribute("context", "");//ツールバーのコンテキストメニューがでないように
urlbarIcons.insertBefore(statusBar, urlbarIcons.firstChild);
var style = <![CDATA[
#status-bar {
min-height: 18px !important;
margin: 0px !important;
border: none !important;
background-color: transparent !important;
.urlbar-textbox-container-children {
opacity: 1 !important;
-moz-transition: none !important;
.urlbar-origin-label {
display: none !important;
.urlbar-over-link-box {
background-image: none !important;
padding-left: 4px !important;
var sspi = document.createProcessingInstruction(
'type="text/css" href="data:text/css,' + encodeURI(style) + '"'
document.insertBefore(sspi, document.documentElement);
sspi.getAttribute = function(name) {
return document.documentElement.getAttribute(name);

This comment has been minimized.

Copy link

commented Nov 14, 2010

May be you can combine this style "Show hovered link address at bottom-left " into this script,
the address is

But there is one problem, when you hovered on a long link, such as the google search result's cache address, then the address showed in the locationbar and the statusbar icon will overlap, like this:

Alt text


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.