REST API and the location bar

2

2ni

Hi,

I'm creating an AJAX application using a REST API. I would like to
avoid to reload the entire app when the user types a new URL in the
location bar and instead translate it into a XMLHttpRequest.

I think this would be possible if there were any ways to use an
onbeforeunload event handler silently (without the confirm popup) but I
don't think its possible.

Any ideas about this?

Thanks,
Denis Laprise
 
L

Lee

2ni said:
Hi,

I'm creating an AJAX application using a REST API. I would like to
avoid to reload the entire app when the user types a new URL in the
location bar and instead translate it into a XMLHttpRequest.

I think this would be possible if there were any ways to use an
onbeforeunload event handler silently (without the confirm popup) but I
don't think its possible.

Any ideas about this?

I'll uninstall any browser found to allow that.
When I type an URL in the location bar, I don't want there
to be any chance of a malicious web site intercepting it and
taking me to a site that simply *looks* like my bank.
 

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

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top