duckduckgo / firefox-zeroclickinfo

Firefox Add-on using the DuckDuckGo Zero-click Info API
Other
85 stars 27 forks source link

Feature request: UI for changing DDG_URL #9

Open d5ve opened 11 years ago

d5ve commented 11 years ago

Hi,

Would it be possible to add UI to the preferences page to set the URL used in DDG searches?

The extension currently sets DDG_URL to https://duckduckgo.com/?q= but I'd prefer to use a localised and non-filtered URL like https://duckduckgo.com/?kp=-1&kl=uk-en&kad=en_GB&q=

Alternatively, if there are some docs about building the extension on OSX, I am happy to just edit the DDG_URL locally.

Cheers,

Dave

mrshu commented 11 years ago

Thanks for your request @d5ve!

Here is a troubling thing about it: the DDG_URL is an artefact from ages when we were able to set the keyword.URL setting. We are no longer allowed to do that by Mozilla.

I would really like to do what you are asking for but there is no possibility to do that at this time. I'll leave this open, just in case that such a possibility shows up.

d5ve commented 11 years ago

I ended up just editing search.xml to add the required params. I only use the awesomebar search, not the actual searchbox. I did notice that firefox (23 beta, osx) is now ignoring keyword.URL for awesomebar searches.

See: https://github.com/d5ve/firefox-zeroclickinfo