gregsadetsky / chrome-dont-add-custom-search-engines

Google Chrome extension that stops sites from adding custom search engines
https://chrome.google.com/webstore/detail/dont-add-custom-search-en/dnodlcololidkjgbpeoleabmkocdhacc
Other
117 stars 12 forks source link

update selectors #27

Closed Procyon-b closed 4 years ago

Procyon-b commented 4 years ago

[Closes #26 –Ed.]

2 selectors have been added.

[type=""] is for a page where the userscript failed, but has since been fixed. It happened once, so it's a good idea to add it.

[type*="search" i] could replace [type="search" i], but I left the old value. It can be simplified in a future release after double-checking that the wildcard doesn't fail on some circumstances.

Procyon-b commented 4 years ago

Possible enhancements: #28

cxw42 commented 4 years ago

@Procyon-b thank you! I'll take a look. The beginning of Hacktoberfest has been very crazy :) .

If you would like an additional Hacktoberfest credit, please feel free to close this PR and open a fresh one with the same changes :D .

cxw42 commented 4 years ago