PreMiD / Extension-old

🧩 Source code of the official PreMiD extension.
https://premid.app/
Mozilla Public License 2.0
75 stars 28 forks source link

Don't use `.includes` to validate if a tab should be loaded into, maybe use `new URL(...).origin` #243

Closed Link8451 closed 4 months ago

Link8451 commented 7 months ago

Steps to Reproduce

  1. go to https://www.fedex.com/fedextracking/ 2. check currently displayed presence on discord

Expected Behavior

No presence should be shown or previous valid presence should be shown

Actual Behavior

presence shows as being twitter, browsing fedextracking

Page URL

https://www.fedex.com/fedextracking/

Screenshots

image

Operating System

Windows 11 Build 22621

Browser and Version

Microsoft edge version 123.0.2420.65

Additional Comments

before i tested the bug again i made sure there was no twitter tabs open at the time

theusaf commented 7 months ago

Potentially an issue related to the extension rather than the presence itself

Bas950 commented 7 months ago

lol thats a funny one