Title: script not shown on website
Last modified: July 12, 2022

---

# script not shown on website

 *  Resolved [v3nd0](https://wordpress.org/support/users/v3nd0/)
 * (@v3nd0)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/script-not-shown-on-website/)
 * Hello,
    in the beginning I want to notice that I am not programmer and with wordpress
   I am working just a week 🙂 We are making event sport result and i have script
   to integrate in page but this works only on computer where I am editing page (
   wordpress) and on other devices is show just spinning wheel. code for integration
   is for example:
 *     ```
       <div id="divRRPublish" class="RRPublish"></div>
       <script type="text/javascript" src="https://my.raceresult.com/RRPublish/load.js.php?lang=en"></script>
       <script type="text/javascript">
       <!--
       	var rrp=new RRPublish(document.getElementById("divRRPublish"), 210488, "results");
       	rrp.ShowTimerLogo=true;
       	rrp.ShowInfoText=false;
       -->
       </script>
       ```
   
 * I do not know what is wrong. Please help me how to do it correctly. Thank You
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fscript-not-shown-on-website%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/script-not-shown-on-website/#post-15817570)
 * Hi,
 * Can you confirm that the script you embedded on your page still matches the one
   above?
 * Whereas you’re using `<!--` and `-->` above, I’m seeing `//` in both instances
   when it’s displayed on your page.
 *  Thread Starter [v3nd0](https://wordpress.org/support/users/v3nd0/)
 * (@v3nd0)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/script-not-shown-on-website/#post-15817599)
 * Here are screenshots from page:
 * [page in edit](https://casomierapt.com/wp-content/uploads/2022/07/screen.jpg)
 * and this is what I want and see on my browser:
 * [Screen](https://casomierapt.com/wp-content/uploads/2022/07/screen2.jpg)
    -  This reply was modified 3 years, 9 months ago by [v3nd0](https://wordpress.org/support/users/v3nd0/).
 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/script-not-shown-on-website/#post-15817662)
 * Okay, so it appears WordPress itself is transforming those lines. Without a big
   think and re-write there’s nothing immediate I can do about that.
 * However… I’m not sure why those lines are there anyway.`<!--` and `-->` are used
   to indicate HTML comments, but this is JavaScript. What happens if you remove
   those 2 lines? i.e. it looks like this…
 *     ```
       <div id="divRRPublish" class="RRPublish"></div>
       <script type="text/javascript" src="https://my.raceresult.com/RRPublish/load.js.php?lang=en"></script>
       <script type="text/javascript">
       	var rrp=new RRPublish(document.getElementById("divRRPublish"), 210488, "results");
       	rrp.ShowTimerLogo=true;
       	rrp.ShowInfoText=false;
       </script>
       ```
   
 *  Thread Starter [v3nd0](https://wordpress.org/support/users/v3nd0/)
 * (@v3nd0)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/script-not-shown-on-website/#post-15817733)
 * Without any changes. On mine computer still display as before and on others devices
   still spinning wheel. I am so confused …
 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/script-not-shown-on-website/#post-15817897)
 * Do you know what the difference is between your computer and others? Are you 
   using different browsers, for example?
 * Try visiting your website in Private/Incognito and see if it still works.
 *  Thread Starter [v3nd0](https://wordpress.org/support/users/v3nd0/)
 * (@v3nd0)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/script-not-shown-on-website/#post-15817949)
 * MacOS :
    opera – logged as administrator works safari – without logging not working
   IOS: safari, opera – not logged not working Win: opera – not logged not working
   edge – logged as administrator and work
 * looks like administrator/visitor issue?
 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/script-not-shown-on-website/#post-15817972)
 * Yeah, so looks as if being logged in makes a difference here.
 * At this point, we must part ways. This is not related to the plugin but the code
   which you’re trying to embed and I can’t assist with that.
 * Your best bet here is to go back to wherever you got that code from to ask for
   assistance – I’m guessing it’s clashing in some way with your site set-up. Looking
   at the JS console in my browser I’m seeing this error, for example, which appears
   related to that script…
 * `[Error] TypeError: $.getJSON is not a function. (In '$.getJSON(rrp_server+"/
   RRPublish/data/config.php",{eventid:eventid,page:page,noVisitor:getCookie("ys"
   +eventid)})', '$.getJSON' is undefined)`
 *  Thread Starter [v3nd0](https://wordpress.org/support/users/v3nd0/)
 * (@v3nd0)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/script-not-shown-on-website/#post-15818163)
 * So after additional searching I have to turn off under Divi – Performance – Enqueue
   jQuery Compatibility Script. Just for future if someone will have similar issue.
   Thank a lot for effort and spent time.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘script not shown on website’ is closed to new replies.

 * ![](https://ps.w.org/simple-embed-code/assets/icon.svg?rev=3073981)
 * [Code Embed](https://wordpress.org/plugins/simple-embed-code/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-embed-code/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-embed-code/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-embed-code/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-embed-code/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-embed-code/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [v3nd0](https://wordpress.org/support/users/v3nd0/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/script-not-shown-on-website/#post-15818163)
 * Status: resolved