| Author |
IFrames |
thishacker1
Member
Posts: 12
Location:
Joined: 25.01.08 Rank: Monster |
|
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 thishacker1 on 18-01-09 21:52 |
|
| Author |
RE: IFrames |
Zephyr_Pure
Member

Posts: 2402
Location:
Joined: 15.09.06 Rank: God |
|
... By having the willpower to not use the iframe tag? Seriously, I think your question needs some revising. 
I still check PMs from time to time.


Our responses were moronic, why shouldn't he follow suit? - Futility |
|
| Author |
RE: IFrames |
thishacker1
Member
Posts: 12
Location:
Joined: 25.01.08 Rank: Monster |
|
Zephyr_Pure wrote:
... By having the willpower to not use the iframe tag? Seriously, I think your question needs some revising. 
Revised 

Edited by thishacker1 on 18-01-09 21:53 |
|
| Author |
RE: IFrames |
spyware
Member

Posts: 4190
Location: The Netherlands
Joined: 14.04.07 Rank: God Warn Level: 90
|
|
Use Javascblockedript 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.

"The chowner of property." - Zeph 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 |
|
| Author |
RE: IFrames |
Zephyr_Pure
Member

Posts: 2402
Location:
Joined: 15.09.06 Rank: God |
|
HTML alone can't do it. Use Javascblockedript's document.getElementsByTagName('iframe') and a bit of CSS ("display:none") in your Javascblockedript (style.display = 'none') to hide each one.
I still check PMs from time to time.


Our responses were moronic, why shouldn't he follow suit? - Futility
Edited by Zephyr_Pure on 18-01-09 22:03 |
|
| Author |
RE: IFrames |
hacker2k
Member
Posts: 126
Location:
Joined: 11.07.07 Rank: Active User |
|
|
You could just either comment it out or put a <noscblockedript> tag in front of it. Of course, this might get you in trouble, so just switch hosts. |
|
| Author |
RE: IFrames |
K_I_N_G
Member

Posts: 356
Location: ?
Joined: 04.03.08 Rank: Elite |
|
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 K_I_N_G on 19-01-09 00:46 |
|