pleek Posted October 25, 2007 Share Posted October 25, 2007 Hello everybody If im loading another site in a frame is there any way that i can block from showing if i know the file path to the file that is showing? Like say another frame of a video or a picture. So i can only show the useful parts of the site??? (kind of how Adblock works with firefox but not only for photos) Thanx in advance Quote Link to comment https://forums.phpfreaks.com/topic/74813-blocking-abjects-in-a-frame/ Share on other sites More sharing options...
ToonMariner Posted October 26, 2007 Share Posted October 26, 2007 You'd have to parse the html and remove any bits you didn't want - to do that you'd need php and a BRILLIANT regular expression... Quote Link to comment https://forums.phpfreaks.com/topic/74813-blocking-abjects-in-a-frame/#findComment-378577 Share on other sites More sharing options...
pleek Posted October 27, 2007 Author Share Posted October 27, 2007 well can anyone help me out with a sample code?? say i want to block just a image?? and i knew the exact file path on the server. could i do that??? Quote Link to comment https://forums.phpfreaks.com/topic/74813-blocking-abjects-in-a-frame/#findComment-379151 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.