Splidejs / splide

Splide is a lightweight, flexible and accessible slider/carousel written in TypeScript. No dependencies, no Lighthouse errors.
https://splidejs.com
MIT License
4.83k stars 418 forks source link

chrome plugins block all javascript because of splide #1322

Open samuelreichor opened 1 month ago

samuelreichor commented 1 month ago

Checks

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 commented 5 days ago

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