Follow us on Twitter!
Things are more like they are now than they have ever been before. - Dwight D. Eisenhower
Friday, April 18, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 23
Guests Online: 22
Members Online: 1

Registered Members: 82828
Newest Member: uberscon
Latest Articles
View Thread

HellBound Hackers | Computer General | Webmasters Lounge

Author

IFrames


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 18-01-09 21:31
Can anyone tell me how i would disable iframes on my website using html code. The website hoster always puts on iframe content that i don't want. I searched all over and i couldn't find anything. Thanks!




Edited by on 18-01-09 21:52
Author

RE: IFrames


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 18-01-09 21:35
... By having the willpower to not use the iframe tag? Seriously, I think your question needs some revising. Smile


Author

RE: IFrames


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 18-01-09 21:53
Zephyr_Pure wrote:
... By having the willpower to not use the iframe tag? Seriously, I think your question needs some revising. Smile


Revised Pfft




Edited by on 18-01-09 21:53
Author

RE: IFrames

spyware
Member



Posts: 4192
Location: The Netherlands
Joined: 14.04.07
Rank:
God
Warn Level: 90
Posted on 18-01-09 22:02
Use Javascript RegEx to change sourcecode. Check google/w3schools for example code.

It might also be possible to use HTML comment-blocks to comment out their code.

The final option, switch to a better (free) host.



img507.imageshack.us/img507/3580/spynewsig3il1.png
"The chowner of property." - Zeph
[small]
Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.
- Carl Sagan
“Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?” - Ebert
[/s
http://bitsofspy.net
Author

RE: IFrames


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 18-01-09 22:03
HTML alone can't do it. Use Javascript's document.getElementsByTagName('iframe') and a bit of CSS ("display:none") in your Javascript (style.display = 'none') to hide each one.




Edited by on 18-01-09 22:03
Author

RE: IFrames


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 18-01-09 22:23
You could just either comment it out or put a <noscript> tag in front of it. Of course, this might get you in trouble, so just switch hosts.
Author

RE: IFrames


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 19-01-09 00:45
I had the same problem once, you can google it and you should find some answers. I have trouble believing you searched well, try revising your search query. Such as "How to hide adds on 'hosting site'" (as the code will be roughly the same as hiding Iframes).




Edited by on 19-01-09 00:46