Closed thecmod closed 11 years ago
Hey Andreas, if your copy rules looks like this format :
[{"primaryPattern":"http://www.example-one.com/*","setting":"allow","scope":"regular"},{"primaryPattern":"https://www.example-two.com/*","setting":"block","scope":"regular"}]
just go to the QJS options page, and paste your code in the Local storage rules textarea, and then press the Import button.
When the import is done, look at your javascript settings : chrome://settings/contentExceptions#javascript The rules should appear.
If not, please send me a screenshot, and your chrome version.
hey,
when i paste the rules and push the import button, nothing will be imported when i look at the chrome settings. then when switching back to the QJS options tab, the pasted rules have disappeard.
kind regards
chrome 27.0.1453.116 m
image 1: pasting rules image 2: after pressing the import button and the open javascript settings button image 3: going back to the QJS tab
ok, i got it. the problem was that the rules i copied before obviously lost their formatting during this process, i.e. some spaces found their way in - meaning that not every rule was connected to the next one correctly (in the sense of: ..."},{"... - but sometimes it looked like this: ..."}, {"...)
cool ! I will remove spaces before import in the next release to prevent this case ;)
hey,
i accidentally deleted the exception rules in my chrome javascript settings as well as in the QJS options tab.
but i still got a copy of the rules as previously shown in the QJS options tab (local storage rules).
-> how do i get the rules back a) into the local storage of QJS and b) into the Chrome exceptions?