sandeep
sandeep

Reputation: 2882

How to Check if Address Bar of Browser is Active/InActive

we are just removed the address bar using Window.Open(....). But now to we need to check if on each page whether address bar is active/on, If Address bar is on/Active we need to redirect to default page.

We Should Not Allow to access few pages with AddressBar ON/ACTIVE.

Any Help regarding this is highly appreciated.

Thanks in Advance.

Upvotes: 1

Views: 1286

Answers (1)

Pekka
Pekka

Reputation: 449415

We Should Not Allow to access Certain parts of the pages with AddressBar ON/ACTIVE.

You might be able to determine how much space is available to you using window.availHeight or similar, but this idea is doomed anyway: Removing the address bar is no longer possible in most modern browsers for phishing reasons.

Upvotes: 2

Related Questions