• Since v.14.15.7 I can’t add the following source code to “Tab Content” of the “Strictly Necessary Cookies” section.

    <p style="text-align: justify; display: block;">Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.</p>
    <a href="#" onclick="showcookiedetailsFunction1()" id="showcookiedetails1">Show details</a><span id="showcookiedetailsplus1">+</span>

    the onclick=”showcookiedetailsFunction1()” attribute of “a” tag is ignored and is not added to the target html page.

    Is there a way to add the JS onclick function to “tab content” in new versions of your plugin?

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

Viewing 1 replies (of 1 total)
  • Plugin Support Moove Support

    (@wpfrnd)

    Hello,

    Thanks for using our plugins.

    Unfortunately this is not possible because we have to use the sanitize functions to keep security of our plugins high. For that reason, we’re not supporting any additional Javascript inside our plugin as attribute.

    You may find our ‘Cookie Declaration’ feature relevant to your request – this is a premium feature however so if you have any questions related to that, you will have to reach out to our official support here (WordPress.org guidelines):
    https://support.mooveagency.com/forum/gdpr-cookie-compliance/

    Hope this helps.

Viewing 1 replies (of 1 total)

The topic ‘Cannot add JS onclick function’ is closed to new replies.