fork from https://addons.mozilla.org/en-US/firefox/addon/isgd-creator/