stylebot icon indicating copy to clipboard operation
stylebot copied to clipboard

[Bug] Styles are leaking into other sites.

Open JKDos opened this issue 6 months ago • 1 comments

Describe the bug

I have a custom stylesheet, and that style is set to apply to URL: *adme.example.com

Sometimes when navigating to a different website or making a Google Search in chrome, the styles of the page is set to what has been defined in Stylebot for *adme.example.com

I can now prove this because I added this to that *adme.example.com custom style

body:before {
  content: "⭐⭐⭐⭐⭐"
}

Sure enough, you can see a website that has no custom styles is using that stylesheet.

Browser

Chrome - Version 138.0.7204.97 (Official Build) (64-bit)

To Reproduce

Steps to reproduce the behavior:

  • Go to the search bar in chrome.
  • Enter a search term or website
  • Not guaranteed to happen, but eventually you'll end up a Stylebot style where it shouldn't be.

Expected behavior

A style should only apply to the website/URL provided.

Screenshots

Image

JKDos avatar Jul 18 '25 15:07 JKDos

As you didn't provide the full URL: Why the star?

How about *.adme.example.com? See https://stylebot.dev/help/#url-syntax-rules

bttrx avatar Oct 28 '25 15:10 bttrx