splide icon indicating copy to clipboard operation
splide copied to clipboard

chrome plugins block all javascript because of splide

Open samuelreichor opened this issue 1 year ago • 1 comments
trafficstars

Checks

  • [X] Not a duplicate.
  • [X] Not a question, feature request, or anything other than a bug report directly related to Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions

Version

4.1.3

Description

Hi we have discovered a bug where two chrome extensions have managed to block all our javascript. More precisely, the imports of splide were no longer resolved and therefore not executed. This only happened when cookies were rejected. The cookietool used is cookiebot. When I removed the imports from splide on the website, the entire javascript worked again. Unfortunately I didn't get a console error either.

Unfortunately I can't really debug into it, but I have created a github repo with a reproduction.

Here are the two chrome extensions: https://chromewebstore.google.com/detail/whatruns/cmkdbmfndkfgebldhnkbfhlneefdaaip?hl=de&utm_source=ext_sidebar https://chromewebstore.google.com/detail/vuejs-devtools/nhdogjmejiglipccpnnnanhbledajbpd

Reproduction Link

https://github.com/samuelreichor/splide-block-reproduction

Steps to Reproduce

  1. git clone
  2. npm install
  3. npm run build
  4. npm run preview (must run on foo.test)
  5. decline cookies (should work fine)
  6. enable one of the chrome extensions above
  7. should not work

Expected Behaviour

I don't know if this topic is in the right place, but you know best about splide and can hopefully debug further. I think the goal is that splide should work with every chrome extension.

btw splide is a banger :)

samuelreichor avatar Aug 13 '24 13:08 samuelreichor

Are there any updates? This destroys our production site and is very annoying?

samuelreichor avatar Sep 09 '24 14:09 samuelreichor