slash icon indicating copy to clipboard operation
slash copied to clipboard

Not working on Firefox

Open russianagent6 opened this issue 1 year ago • 3 comments

Describe the bug

s/xx, (I've tried them all) does not work with the extension installed on firefox. I tried on a chrome instance and it worked on there but that is not my primary browser. My browser is hardened quite a bit so I'm not sure if it's one of those settings that is preventing it from running but just curious on what options do I need to have enabled for it to run.

Steps to reproduce

  1. Go to s/xx
  2. it just opens a search window on my chosen search provider rather than redirecting to the link.

Expected behavior

  1. go to s/xx
  2. go to said website.

Screenshots or additional context

image

russianagent6 avatar Jan 13 '25 15:01 russianagent6

It doesn't seem to be firefox-related, rather more on your default search engine.

I'm using firefox 134.0.1 and can confirm that:

  • with duckduckgoas default search, s/$x doesn't work
  • with google as default search, slash shorthand works

kahnwong avatar Jan 22 '25 10:01 kahnwong

duckduckgo support as default search engine itself is currently broken.

Based on this, extension uses pattern matching like */search?q=..., but duckduckgo format is: duckduckgo.com/?q=search_term. duckduckgo requests are not intercepted.

maxyakovenko avatar Feb 13 '25 12:02 maxyakovenko

Thanks for the feedback, we will adapt to DuckDuckGo later.

johnnyjoygh avatar Feb 14 '25 02:02 johnnyjoygh

Fixed with https://github.com/yourselfhosted/slash/commit/de781c5acb784d6b69ca99fd53c223eb81bcf581

johnnyjoygh avatar May 08 '25 12:05 johnnyjoygh