Support » Plugin: Smart Cookie Kit » Blocking code instead of ignore

  • Resolved EnFi

    (@enfi)


    Hi Nicola @shark986,
    how are you?
    I have tried again your plugin and I’ve seen many improvements you have done! Congratulations!

    I’ve just have a question, I’ve seen the function <script class=”SCK-Ignore”> /* Your custom Javascript code */ </script> that is used to hide/ignore code.

    My question is, do you think is possible to do the opposite?
    I mean a script that says to the plugin don’t ignore this wrapped code:
    eg. <script class=”SCK-NOT Ignore but block”> /* Your custom Javascript code */ </script>.
    In this way would be much easier to jump from a different cookie plugin and starting to use your great plugin.

    Please let me know what you think.
    Thank you very much!

    Ps. (Ti ho scritto in inglese perché penso potrebbe interessare anche altri, grazie mille!)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author shark986

    (@shark986)

    Hello @enfi,
    I am really thinking how to include the custom script block system.

    The “SCK-Ignore” class is an easy way to implement the “ignore system”, but sincerely I do not like it, because an admin has to implement it in the HTML part of the site and for each script, and it could be not easy to implement. A more usable solution should be a field in the backend to add the script filenames to ignore.
    Thinking to this, probably the two systems could coexist.

    Maybe the same logic could be implemented to the elements to block.

    Nicola

    Plugin Author shark986

    (@shark986)

    Hello @enfi,
    you should check the “support” page of the plugin backend.
    You will notice the FAQ to block custom scripts 🙂
    Nicola

    EnFi

    (@enfi)

    Hello @shark986,
    thank you very much.
    I will try it, soon!
    Have a nice day!
    Kind regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Blocking code instead of ignore’ is closed to new replies.