removing iframe

Author Message
Max 05/25/2005 03:31 am
i have downloaded a web site to view offline, and now everytime i open it i get a msgbox saying that "the file "C:/Download/rc.amazon.com/e ...." (and a string of characters continue) cannot be found. Please check the location and try again. After i click on ok the page loads fine.

Now i realised that by viewing the source code, i was getting that message because in the source code there is an iframe with the following code:

<iframe marginwidth="0" marginheight="0" width="120" height="240" scrolling="no" frameborder="0"
src="../rcm.amazon.com/e/cm@o=1&l=as1&f=ifr&t=networkclue-20&p=8&asins=B00006B9H8&IS2=1&lt1=_blank"><MAP NAME="boxmap-p8"><AREA SHAPE="RECT"
COORDS="14, 200, 103, 207" HREF="../rcm.amazon.com/e/cm/privacy-policy.html@o=1" ><AREA COORDS="0,0,10000,10000"
HREF="../www.amazon.com/exec/obidos/redirect-home/networkclue-20" ></MAP><img src="../rcm-images.amazon.com/images/G/01/rcm/120x240.gif"
width="120" height="240" border="0" usemap="#boxmap-p8" alt="Shop at Amazon.com"></iframe>

When i deleted this piece of code, i did not get the message anymore on the front page, however, i am still getting it on all the other pages.

Is there any way i can remove this automatically (or not downloading it ), since it is a bit boring having to press ok on the msgbox everytime i view a page, and it is a bit tiresome deleting that piece of code from a thousand pages.

Any suggestions pls ?

Thank You
Oleg Chernavin 05/25/2005 08:02 am
Well, there is no way to remove that tag. We haven`t added a Find-and-Replace feature to Offline Explorer yet. But you can try to find any free mass-replace tools for text files and do that change in all HTML files of a directory.

I just made a search in Google and the first software I found was:

Mass Text Replacer 1.3.2
http://www.softpedia.com/get/Office-tools/Text-editors/Mass-Text-Replacer.shtml

I hope this helps.

Best regards,
Oleg Chernavin
MP Staff
Max 05/25/2005 08:26 am
Hello Oleg,

Many thanks for your suggestion, i`ve downloaded that trial version and i`ve managed to comment the <iframe> tag with <!-- and the </iframe> tag with --> ... now i am no longer getting that alert box.

Thank You.
Oleg Chernavin 05/25/2005 08:30 am
Great!

Oleg.