Title: Kelkoo script bugs
Last modified: August 19, 2016

---

# Kelkoo script bugs

 *  [planetwifi](https://wordpress.org/support/users/planetwifi/)
 * (@planetwifi)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/kelkoo-script-bugs/)
 * Hello Every body,
 * We have a WP plateform which is working as well since 3 years, but since our 
   advertiser have change his script code, we get some problems.
 * The problem is that when we integrated in a post using the “HTML” mode the new
   script :
 * <div id=”kk-widget”>
    <div id=”kk-widget-708863″></div> <script type=”text/javascript”
   >var oKKConf = {“width”: “480”};</script> <script type=”text/javascript”>var 
   m = Math.round(100000000*Math.random()); document.write(‘<sc’ + ‘ript type=”text/
   javascript” src=”[http://fr.widget.kelkoo.com/badge/kw:ipod/id:96927873/tpl:1/rs:2/cs:1/ctm:width/aN:td/aF:1096190/rdm:708863/&#8217](http://fr.widget.kelkoo.com/badge/kw:ipod/id:96927873/tpl:1/rs:2/cs:1/ctm:width/aN:td/aF:1096190/rdm:708863/&#8217);
   + m + ‘”>**</sc’ + ‘ript>’);</script>** </div> <noscript>Faites vos achats sur
   [Kelkoo FR](http://www.kelkoo.fr/) pour trouver les meilleurs produits aux meilleurs
   prix.</noscript>
 * The banners didn’t work. After checking on our Source Code, we notice that the
   code is “reformatted”, the last floating comas (put in BOLD under) is converted
   in # which is the code as well of the floating comas.
 * But it result that the script is not interpreted and our banner is not generated.
 * From code source generated :
 * <div id=”kk-widget”>
    <div id=”kk-widget-708863″></div> <p><script type=”text/
   javascript”>var oKKConf = {“width”: “480”};</script> <script type=”text/javascript”
   >var m = Math.round(100000000*Math.random()); document.write(‘<sc’ + ‘ript type
   =”text/javascript” src=”[http://fr.widget.kelkoo.com/badge/kw:ipod/id:96927873/tpl:1/rs:2/cs:1/ctm:width/aN:td/aF:1096190/rdm:708863/&#8217](http://fr.widget.kelkoo.com/badge/kw:ipod/id:96927873/tpl:1/rs:2/cs:1/ctm:width/aN:td/aF:1096190/rdm:708863/&#8217);
   + m + ‘”>**</sc’ + ‘ript>‘);</script>** </div> <p><noscript>Faites vos achats
   sur [Kelkoo FR](http://www.kelkoo.fr/) pour trouver les meilleurs produits aux
   meilleurs prix.</noscript></p> </div>
 * I was thinking that is was WP that convert this one (why not) in the database
   but when we check in the MySQL we can see as well that the floating coma is noticed
   in the MySQL as like a floating comas.
 * I think it could be a problem with our them but not we have test several others.
 * If some one have an idea or a solution, I will be granted.
 * Best regards.

Viewing 1 replies (of 1 total)

 *  Thread Starter [planetwifi](https://wordpress.org/support/users/planetwifi/)
 * (@planetwifi)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/kelkoo-script-bugs/#post-995686)
 * Addon :
 * Like i have seen the forumm convert the floating coma here is what happend :
 * **Original code inserted in mode HTML in post :**
 * <div id=”kk-widget”>
    <div id=”kk-widget-708863″></div> <p><script type=”text/
   javascript”>var oKKConf = {“width”: “480”};</script> <script type=”text/javascript”
   >var m = Math.round(100000000*Math.random()); document.write(‘<sc’ + ‘ript type
   =”text/javascript” src=”[http://fr.widget.kelkoo.com/badge/kw:ipod/id:96927873/tpl:1/rs:2/cs:1/ctm:width/aN:td/aF:1096190/rdm:708863/&#8217](http://fr.widget.kelkoo.com/badge/kw:ipod/id:96927873/tpl:1/rs:2/cs:1/ctm:width/aN:td/aF:1096190/rdm:708863/&#8217);
   + m + ‘”>**</sc’ + ‘ript>‘);</script>** </div>
 * **Generated code view in code source of the post :**
 * PS : I have added a “blanc” between “&# 8216;” anyway it apply the code of floating
   coma.
 * <div id=”kk-widget”>
    <div id=”kk-widget-708863″></div> <p><script type=”text/
   javascript”>var oKKConf = {“width”: “480”};</script> <script type=”text/javascript”
   >var m = Math.round(100000000*Math.random()); document.write(‘<sc’ + ‘ript type
   =”text/javascript” src=”[http://fr.widget.kelkoo.com/badge/kw:ipod/id:96927873/tpl:1/rs:2/cs:1/ctm:width/aN:td/aF:1096190/rdm:708863/&#8217](http://fr.widget.kelkoo.com/badge/kw:ipod/id:96927873/tpl:1/rs:2/cs:1/ctm:width/aN:td/aF:1096190/rdm:708863/&#8217);
   + m + ‘”>**</sc’ + ‘ript> &# 8216; );</script>** </div>
 * The link of the test page:
 * [http://www.planet-sansfil.com/?page_id=2940](http://www.planet-sansfil.com/?page_id=2940)

Viewing 1 replies (of 1 total)

The topic ‘Kelkoo script bugs’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [planetwifi](https://wordpress.org/support/users/planetwifi/)
 * Last activity: [17 years, 1 month ago](https://wordpress.org/support/topic/kelkoo-script-bugs/#post-995686)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
