Now that looks like what I needed. Thanks Jmacp! Works perfect for the IMG tags, though the page still loads Flash, IFrames, applets, etc.
This is how GameSpot.com loads flash:
Would there be a way to disable JavaScript in the WebBrowser1 too?Code:<script type="text/javascript"> <!-- user_complete = ""; page_type = "0"; genre = "0"; platform = ""; base_url = "http://www.gamespot.com"; gne_debug = ((typeof(_smarty_console) == "object") || "0" || "" || "") ? "1":"0"; args = "page_type=" + page_type; args += "&genre=" + genre; args += "&platform=" + platform; args += "&base_url=" + base_url; args += "&gne_debug=" + gne_debug; args += "&user_complete=" + user_complete; var MM_contentVersion = 7; tag = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="302" height="352" id="gs_video" name="gs_video" align="middle">'; tag += '<param name="allowScriptAccess" value="always" />'; tag += '<param name="movie" value="http://www.gamespot.com/includes/flash_video/gs_video.swf" />'; tag += '<param name="quality" value="high" /><param name="wmode" value="transparent" />'; tag += '<param name="bgcolor" value="#000000" />'; tag += '<param name="FlashVars" value="' + args + '" />'; tag += '<embed src="http://www.gamespot.com/includes/flash_video/gs_video.swf" FlashVars="' + args + '" quality="high" bgcolor="#000000" wmode="transparent" width="302" height="352" swLiveConnect=true id="gs_video" name="gs_video" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'; tag += '</object>'; embed(tag); //ad call //http://www.gamespot.com/includes/flash_video/get_ad_xml.php?page_type=0 //--> </script>




Reply With Quote