Browser capture

K

Ken Mc

Some webpages capture the browser and won't let you back out.
How is this achieved? Curious minds want to know.
thanks
Ken
 
D

Duncan

By what do you mean "capture"? Do you mean you can't hit
the back button on your browser or the big X button at
top right doesn't work? I believe that the latter is
caused by a script running in the webpage, what it does
is probably use an onclose() event to trigger a
window.open() function. I would suggest you don't try to
implement features that restrict a person from leaving
your website, they are unlikely to return again. I know I
wouldn't. The problem of the back button not letting you
go back I generally get around myself by just choose the
arrow button and choosing a page 2 back from where I am.

-Duncan
 
R

Randy Birch

Sounds like he means pages that contain code to redirect to another page ...
when on the page redirected to, hitting the back button takes you back to
the redirect page which again takes you to the page you're already on. And
so on. You have to hit the back button twice quickly, or use the dropdown
list to select the desired page.

--

Randy Birch
MVP Visual Basic
http://vbnet.mvps.org/
Please respond only to the newsgroups so all can benefit.


: By what do you mean "capture"? Do you mean you can't hit
: the back button on your browser or the big X button at
: top right doesn't work? I believe that the latter is
: caused by a script running in the webpage, what it does
: is probably use an onclose() event to trigger a
: window.open() function. I would suggest you don't try to
: implement features that restrict a person from leaving
: your website, they are unlikely to return again. I know I
: wouldn't. The problem of the back button not letting you
: go back I generally get around myself by just choose the
: arrow button and choosing a page 2 back from where I am.
:
: -Duncan
:
: >-----Original Message-----
: >Some webpages capture the browser and won't let you back
: out.
: >How is this achieved? Curious minds want to know.
: >thanks
: >Ken
: >
: >
: >.
: >
 
K

Ken Mc

It won't let you back out. This is a nuisance, but would like to know how
it is done.
 
K

Ken Mc

We must have posted at the same time.
If this is what is happening, it's making more sence. I'll just have to
check it out a little closer next time I'm surfin'.
Ken
 
S

Steve Easton

It's done with a javascript function
triggered by an onblur event.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top