Just thought I'd pass along a work-around that I thought of... works on OS X and I'll need to try Win32 tomorrow (I'm tired now). Assuming you are like me and generating the HTML for the browser to view, modify your <a> HREF's by putting a "#" in front of the URL. Then modify your message handler like so:
Code: Select all
on browserBeforeNavigate pBrowserID, pURL
   global browserCancel
   
   -- hack: invalid URLs on Safari get prefixed with applewebdata://...
   if the platform is "MacOS" then
      put char offset("#", pURL) to -1 of pURL into pURL
   end if
   
   -- launch our own browser instance
   if pURL begins with "mailto:" then
      revMail .....
   else
      -- strip the # sign off the URL
      launch URL char 2 to -1 of pURL
   end if
   
   -- don't actually navigate there in the browser
   put true into browserCancel
end browserBeforeNavigate
In Safari, if the browser gets a URL to an anchor on the page that doesn't exit it just won't even attempt to navigate to it. I don't know if IE will do the same or toss up some kind of error page. 
If you don't generate your own HTML for the browser, but are actually browsing webpages, then I don't know, but I'll keep thinking for ya.
Jeff M.