Description: This code simply replaces any one word/phrase with any other word/phrase. This is good when needing to replace things longer than the censored words list will allow.![]()
Placement: Any footer, depending on what it's needed for.
How To Use: Simply repeat the switchIt() line for each thing that needs replacing.![]()
Code:
- <script type="text/javascript">
- <!--
- /* Switch-It by Cr0w */
- function switchIt(word,word2){
- var f = document.getElementsByTagName("font");
- for(i=0;i<f.length;i++){
- f[i].innerHTML = f[i].innerHTML.replace(word,word2);
- }
- }
- switchIt("WORD TO REPLACE","REPLACEMENT");
- //-->
- </script>