Title: No JavaScript in Text Widget (Adsense Code)
Last modified: August 20, 2016

---

# No JavaScript in Text Widget (Adsense Code)

 *  [kitetheworld](https://wordpress.org/support/users/kitetheworld/)
 * (@kitetheworld)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/no-javascript-in-text-widget-adsense-code/)
 * Hello
 * I use wp 3.1.4 and Atahualpa 3.6.7. My Blog is NOT hostet by WordPress.com
 * Problem:
    I canot add some Adsense Code in the Textwidgets to display in the 
   Sidebar. Wenn i add the code (generated by my google adsense acoount), in the
   textarea from the widget and klick safe, the “safe-symbol” turns and turns, but
   my code got never saved. Wenn i insert some text it works.
 * I also deaktivated all my Plugin’s, but even then, it was not working.
 * my blog: [http://www.kitetheworld.ch](http://www.kitetheworld.ch)
 * Here the code i insert:
    Code:
 *     ```
       <script type="text/javascript"><!--
       google_ad_client = "pub-xxxxxxxxxxxxxxxx";
       /* testadsense */
       google_ad_slot = "xxxxxxxxxx";
       google_ad_width = 120;
       google_ad_height = 90;
       //-->
       </script>
       <script type="text/javascript"
       src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
       </script>
       ```
   
 * Also when i insert this code in a article (html mode) and click “save”, my browser
   reports, Error 101, Website not available (Goggle Chrome). I have the same with
   other Browsers.
 * I searching around since day’s, but didn’t found a solution.
 * Maybe someone can help me
    Thanks Thomas

The topic ‘No JavaScript in Text Widget (Adsense Code)’ is closed to new replies.

## Tags

 * [text widget](https://wordpress.org/support/topic-tag/text-widget/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [kitetheworld](https://wordpress.org/support/users/kitetheworld/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/no-javascript-in-text-widget-adsense-code/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
