jiacai2050 / gooreplacer.xpi

DEPRECATED. 本仓库采用的 Add-on SDK 技术以废弃。 可参考最新的 WebExtensions 在
https://github.com/jiacai2050/gooreplacer
200 stars 34 forks source link

Use simple-prefs instead of simple-storage for saving rules #16

Closed j-hao closed 8 years ago

j-hao commented 8 years ago
  1. use simple-prefs instead of simple-storage due to ss instability this will hopefully fix issue #13 See detail about ss issue https://bugzilla.mozilla.org/show_bug.cgi?id=1091244
  2. move GooRule to data/js otherwise option page will complain not found it See http://stackoverflow.com/questions/22656494/contentscriptfile-dont-work-in-pagemod and https://developer.mozilla.org/en-US/Add-ons/SDK/Guides/Content_Scripts/Loading_Content_Scripts
  3. add main field in package.json in order to work with jpm