mshibanami / redirect-web

Repository of the support website for Redirect Web for Safari
https://mshibanami.github.io/redirect-web/
MIT License
32 stars 2 forks source link

JSON import/export of rule set #12

Closed thefranke closed 1 year ago

thefranke commented 1 year ago

Hey, awesome extension!

One thing that would be a neat feature to have is JSON import/export for the rule set. Even better would be if I can import my rules from the Firefox Redirector addon directly.

A sample is here: https://gist.github.com/d6a8137e7bf8c837b64621a3a1f9b9b9#Redirector.json

thefranke commented 1 year ago

I just had a look at the normal files that are exported and noticed they are already JSON containers. I might just make a small script to convert from Redirector to this.

mshibanami commented 1 year ago

Thank you for your feedback, @thefranke. This extension already supports importing/exporting rule files of Redirector. You can just drag and drop the file to the app's window or the menu bar > File > Import Redirect Rules. If you want to export the rules in Redirector's format on Redirect Web, press the Option key on the File menu. then you'll see menu items for that. I hope it will help you.

thefranke commented 1 year ago

Oh wow, fantastic! In that case I'll close this issue, thank you.