• Resolved Digital & SEO

    (@digitalandseo)


    It is a very complete plugin that, given the facilities it has, is widely used. It does not surprise me because it is very good.
    But I would like to contribute something that, however little it may be, if you keep it in mind, would help many websites.
    I have been able to verify that even if you accept the cookies policy, the HTML code is still there, css, H4, cookie configuration divs (although in display none or scale 0) … But it is there.
    I have generated a small code that removes that information from the DOM if the cookie is accepted, but it would be good to do it as a base, for agility, SEO and code cleanliness.
    These are the selectors that I remove (at first glance I only saw these, I don’t know if there are any more …):
    # cookie-law-info-bar, # cookie-law-info-again, .cli-modal, .cli-modal-backdrop, # cookie-law-info-table-css
    I hope that you can take into account this minimal contribution to be able to make this wonderful plugin more perfect, if possible.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WebToffee

    (@webtoffee)

    Hi @digitalandseo,

    Thanks for your kind words about the plugin.

    Your analysis as to the further improvement of the plugin and the feedback is noted. We will look into it and adapt possible changes in the plugin in coming updates.

    Thread Starter Digital & SEO

    (@digitalandseo)

    It seems great to me and to all users ??

    Regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘leftover code in DOM when accepting’ is closed to new replies.