evilpie / add-custom-search-engine

Add a custom search engine to the list of available search engines in Firefox
https://addons.mozilla.org/en-US/firefox/addon/add-custom-search-engine/
Mozilla Public License 2.0
173 stars 13 forks source link

[Feature Request] Ability to export and import an xml #4

Closed FatOrangutan closed 4 years ago

FatOrangutan commented 5 years ago

I'm currently using the OpenSearch XML Preview feature and then manually copy pasting the content into an xml for future use[1]. Then, when I need to import it, I manually copy-paste the relevant data into the fields.

Having a dedicated export and import feature would make it a bit more convenient for me.

[1] This is usually when I need to only slightly tweak a particular engine, say, change some parameters around. As Firefox doesn't offer a way to modify an installed engine, I remove and then re-add the modified one.

evilpie commented 5 years ago

It's a good idea. The only wrinkle is that this extension doesn't necessarily support everything that can be defined in an OpenSearch XML file. (e.g. multiple icons)

atomGit commented 5 years ago

mozlz4-edit might help you

evilpie commented 5 years ago

I have been thinking about this from time to time and I don't think this is going to happen. I don't want to support every single OpenSearch feature, but without it importing is sort of error prone.

evilpie commented 4 years ago

You can view the raw XML when activating the advanced options. Importing is out of scope for this extension.