# Mettre en liste blanche tout le code à l'intérieur d'une balise div ?

**URL:** <https://meta.discourse.org/t/whitelist-all-the-code-inside-of-a-div-tag/51391>\
**Category:** Support\
**Created:** [Octobre 11, 2016, 9:23 UTC](https://meta.discourse.org/t/whitelist-all-the-code-inside-of-a-div-tag/51391 "2016-10-11T09:23:32Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Alex\_Rabolin](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@Alex\_Rabolin](https://meta.discourse.org/u/Alex_Rabolin)\
**Post date:** [Octobre 11, 2016, 10:05 UTC](https://meta.discourse.org/t/whitelist-all-the-code-inside-of-a-div-tag/51391/3 "2016-10-11T10:05:21Z")

</div>

I manages a kitesurfing site and I’d like to do a weather category.  
With a webcam image and three windows of prevision wind like the pictures.

 ![](https://global.discourse-cdn.com/meta/original/3X/2/6/2682f6c95092d372111fb4763abd08e93d9a43a6.png)

 ![](https://global.discourse-cdn.com/meta/original/3X/5/f/5fafd9de072d26dff87c059b5b73b295a3320ebd.png)

Here’s the code :

**windfinder**

```
    ` <script type="text/javascript" src="https://fr.windfinder.com/widget/forecast/js/lac_des_rousses?unit_wave=m&unit_rain=mm&unit_temperature=c&unit_wind=kts&columns=2&days=4&show_day=1&show_pressure=0&show_waves=0"></script><noscript><a href='https://www.windfinder.com/forecast/lac_des_rousses?utm_source=forecast&utm_medium=web&utm_campaign=homepageweather&utm_content=noscript-forecast'>Wind forecast for Lac des Rousses</a> provided by <a href='https://www.windfinder.com?utm_source=forecast&utm_medium=web&utm_campaign=homepageweather&utm_content=noscript-logo'>windfinder.com</a></noscript>`

```

**meteoblue**

```
      `<iframe src="https://www.meteoblue.com/fr/meteo/widget/daily/les-rousses_france_6455993?geoloc=fixed&days=7&tempunit=CELSIUS&windunit=KNOT&coloured=coloured&pictoicon=1&maxtemperature=1&windspeed=1&windgust=1&winddirection=1&precipitation=1&precipitationprobability=1&spot=1&layout=light" frameborder="0" scrolling="NO" allowtransparency="true" sandbox="allow-same-origin allow-scripts allow-popups" style="width: 378px;height: 360px"></iframe>`

```

**and windguru**

```
          <script src="http://widget.windguru.cz/js/wg_widget.php" type="text/javascript"></script>
          <script language="JavaScript" type="text/javascript">
//<![CDATA[
WgWidget({
s: 218410, odh:8, doh:20, wj:'knots', tj:'c', waj:'m', fhours:72, lng:'fr',
params: ['WINDSPD','GUST','SMER','TMPE','CDC','APCPs'],
first_row:true,
spotname:true,
first_row_minfo:false,
last_row:false,
lat_lon:true,
tz:true,
sun:true,
link_archive:false,
link_new_window:true
},
'wg_target_div_218410_97924000'
);
//]]>
</script>
<div id="wg_target_div_218410_97924000"></div>

```

---

_[View the full topic](https://meta.discourse.org/t/whitelist-all-the-code-inside-of-a-div-tag/51391)._
