()
| 70 | } |
| 71 | |
| 72 | function onSettingsUpdated() { |
| 73 | // NOTE(mrmr1993): In FF, the |rules| argument will be garbage collected when the exclusions |
| 74 | // popup is closed. Do NOT store it/use it asynchronously. |
| 75 | ExclusionRegexpCache.clear(); |
| 76 | } |
| 77 | |
| 78 | Settings.addEventListener("change", () => onSettingsUpdated()); |