Questions tagged [address-bar]

Address bar, "location bar" or "Omnibox" refers to the bar in web browsers which is used to navigate between pages using URLs.

The address bar, also known as "location bar" or "Omnibox" refers to the bar in web browsers which is used to navigate between pages using URLs.

The most important use of this bar, supported by all browsers, is navigation by entering a URL.
Many browsers support additional features, such as auto-completion and search plugins.

205 questions
10
votes
2 answers

How to get text from Address Bar in Firefox extension

I am building a Firefox Extension. I am using XUL and Javascript to do this. I need to get the text from my Firefox browser's address bar. Please don't get confused with URL where the browser has navigated, its just the text that user enters before…
sumit_batcoder
  • 3,369
  • 1
  • 25
  • 36
9
votes
5 answers

How to remove parameters in URL and display it in address bar without causing redirect in Javascript?

I have found numerous answers on how to extract the URL without the parameters. How do you rewrite the URL in the address bar without causing the page to reload with the new URL? shortURL = top.location.href.substring(0,…
B Seven
  • 44,484
  • 66
  • 240
  • 385
8
votes
4 answers

How can I prevent a form from being submitted more than once within 5 minutes?

I recently found a huge security problem with my PM system that allows users to send a message as much as they want with a for loop in the address bar. Someone put this into the address bar: javascript:for(x=0;x<10000;x++){ $('#compose…
Nathan
  • 11,814
  • 11
  • 50
  • 93
8
votes
3 answers

Hide address bar on fixed positioned views in Safari iOS 15

Our app uses fixed positioned views in order to achieve nice navigation transitions. In the recent update for iOS (15) the address bar went to the bottom of the device. Since we're using fixed positioning and nested scrolls (body is not scrollable…
Darek
  • 191
  • 2
  • 5
8
votes
3 answers

Load remote JavaScript files via the address bar

Is it possible to load remote JavaScript files from the address bar? I have been trying to put this into the address bar: javascript:src='http://depot.com/file.js';funcname(); I'm not using this for bad things. I'm just testing my site, that's all.…
kapitanluffy
  • 1,269
  • 7
  • 26
  • 54
7
votes
4 answers

How to hide address bar using javascript window.open?

I want to disable the address bar using javascript window.open. Also the script should work in IE, Safari and chrome. Any suggestions.
VolleyBall Player
  • 710
  • 3
  • 11
  • 27
7
votes
0 answers

Change or invert colors in Chrome address bar for Mac

I am trying to change or invert the color scheme of my Chrome address bar on Mac. The Themes in the Google Chrome Store do not have this effect. Ideal sweet customized address bar Or even better would be to customize it myself... Anyone know?
6
votes
3 answers

Prevent iPad web app from showing Safari address bar

I have a web app running on Safari on an iPad. I am starting the app from the iPad home page. I want the app to start in full-screen mode, and to continue running in full-screen mode (i.e. not showing the Safari address bar). I have therefore…
Journeyman
  • 10,011
  • 16
  • 81
  • 129
5
votes
3 answers

Execute JavaScript functions in google chrome address bar

I want to execute JavaScript code in address bar of my google chrome javascript:. It works fine with something simple such as: javascript:alert("aaa"); But it doesn't work with more than one alert. I found out that placing everything in brackets…
user8388991
5
votes
1 answer

Javascript: always show Chrome address bar

How to enable "always show" address bar in Chrome on a mobile device using Javascript? In other words, don't hide when the user scrolls down.
Alexander
  • 921
  • 3
  • 12
  • 31
5
votes
4 answers

Disable Chrome address bar autosearch for dev

Developing a web app locally and I just can't get Chrome to actually go to this address, because auto search always kicks in (http://0.0.0.0:5000/api works though, for example). Is there a way to overwrite this behaviour or force Chrome to try a…
kontur
  • 4,934
  • 2
  • 36
  • 62
5
votes
3 answers

Change URL Address make short in PHP

I have Url as: localhost/ab/directory.php?id=200 id=200 is jenny id member how to change it to localhost/ab/jenny is possible? Thanks
Iwan
  • 51
  • 1
  • 1
  • 2
5
votes
3 answers

hide mobile browser address bar on chrome (android)

We have a site, where with a simple JavaScript We hide the address bar on most browsers (safari, and the native android browser) this line of JavaScript works fine for most, but…
Matteo Bononi 'peorthyr'
  • 2,170
  • 8
  • 46
  • 95
5
votes
1 answer

Can a child iframe onload event trigger a URL updation on the parent window and still keep back button functionality on browsers?

The question is on iframes/bookmarkablity and back button functionality. This issue I am facing is how to create iframes with bookmarkable url's without loosing the back button functionality.Lets say all the pages are in the same domain and the…
Jg.
  • 51
  • 1
  • 2
4
votes
0 answers

Analogue of location.hash's hashchange event for pushState

Before the days of the history API, it was common to use window.location.hash to set the hash in the address bar, and onhashchange to listen to the user editing the hash in the address bar manually, both without causing a page reload. Now, with the…
1
2
3
13 14