• Resolved m2ew

    (@m2ew)


    Hi,
    I’m trying to run a javascript request for spam filtering as my clients website (on Webflow) has very little access to server controls. Below is the latest version of the code. I keep hitting 404s on the src url. Is there a javascript method available? I don’t have access to install node.js

    <script> window.addEventListener('DOMContentLoaded', function() { // Create and add the script with the primary domain var script = document.createElement('script'); script.type = 'text/javascript'; script.async = true; script.src = 'https://cleantalk.org/ajax/1/cleantalk_js_api.js?v=' + Math.random(); // Set data attributes for your site key script.setAttribute('data-ct-site-key', 'YOUR_SITE_KEY_HERE'); // Replace with your actual site key // Append to document document.body.appendChild(script); }); </script>

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘JS / JQuery install with Webflow’ is closed to new replies.