()
| 28434 | } |
| 28435 | }); |
| 28436 | function buildDisableKeyPattern() { |
| 28437 | let originPattern = location.origin.replace(/^https?/, "https?").replace(/\./g, "\\."); |
| 28438 | let pathBase = location.pathname.replace(/[^\/]*$/, ""); |
| 28439 | return "^" + originPattern + pathBase; |
| 28440 | } |
| 28441 | function isDisableKeyPatternMatched() { |
| 28442 | let pattern = buildDisableKeyPattern(); |
| 28443 | let list = normalizeDisableKeySites(prefs.floatBar.disableKeySites); |
no outgoing calls
no test coverage detected