1. I don't think browserCancel isn't working anymore because the code below doesn't work.
Code: Select all
on browserBeforeNavigate theBrowserId,theURL
if theBlockedURLS contains theURL then
global browserCancel
put TRUE into browserCancel
end if
end browserBeforeNavigate
Code: Select all
on browserBeforeNavigate theBrowserId,theURL
global browserCancel
put TRUE into browserCancel
end browserBeforeNavigate
Code: Select all
on browserDownloadRequest theBrowserId,theURL
global browserCancel
put TRUE into browserCancel
answer question "Are you sure you want to download" && theURL && "?" with "Cancel" or "Download" titled "Download Request"
if it is "Download" then
ask file "Save" with type "All File Types|"
if it is not empty then
put url theURL into url("binfile:" & it)
end if
end if
end browserDownloadRequest
3. The whole Runtime Revolution environment (development and standalone application) crashes whenever a frame in a loaded page does not exist. For example, if the HTML file contains the code below,
Code: Select all
<html>
<head>
<title>test page</title>
</head>
<body>
<iframe src="http://somesitethatdoesntexist.com">Frames are not enabled in your browser please enable it first.</iframe>
</body>
</html>
It's really frustrating guys so PLEASE HELP ME OUT... I think there're more and more questions that's gonna come up so please don't get tired of answering my questions please?
