onbeforeunload dilemma: iframe breaking vs. annoying message on refresh/back buttons click
- by Tossapol
I'm implementing a search service called SearchInsideOut. http://bit.ly/97SFyW
This search service simply replaces web page results by full web pages (Yes, I used iframe).
The problem I have to deal with is iframe-breaking pages.
The promising solution I found is using onbeforeunload to let users decide whether to stay or leave my site.
But this…