Everyone face the problem when you add the code (adsense for example) in the module/article and after saving, it don’t work. You go to the code and see that some html tags have been deleted. Why is it happening? Because of Joomla html filters and WYSIWYG html editor. Some functions, that are deleting not typical code, are integrated into Joomla and implemented in html filters. That filters are prevent the danger of third party intervention through the unknown html tags. In other words Joomla сares about the safety of your site. The same thing is with WYSIWYG editor, it deletes not typical tags, such as <iframe>, though you can’t add video from online video services or flash video. So to know how to stop cleaning HTML and scripts code in Joomla read the information below:
You can enable or disable text filters for each of group users to prevent danger code pasting on your website.
Choose No filtering from the list of text filter for a needed User group (for example Administrator).
If you use one of the WYSIWYG text editor, in our example TinyMCE, you have to clear tags, that you want to use (<iframe> for example) from the list of Prohibited Elements, or allow to use all tags.
Simple delete needed tags from that field, or just enter empty word to allow using all tags. And don’t forget to save.
After doing this steps all must be fine and now you can add your HTML text and no HTML editor and Joomla text editor wouldn't disturb you. Find more tips and tricks on Joomla tutorials section.