diff --git a/src/js/static-net-filtering.js b/src/js/static-net-filtering.js index acfb5d144..a5973f525 100644 --- a/src/js/static-net-filtering.js +++ b/src/js/static-net-filtering.js @@ -3100,7 +3100,7 @@ const urlTokenizer = new (class { this._hasQuery = 0; // https://www.reddit.com/r/uBlockOrigin/comments/dzw57l/ // Remember: 1 token needs two slots - this._tokens = new Uint32Array(2064); + this._tokens = new Uint32Array(bidiTrie.haystack.length + 16); this.knownTokens = new Uint8Array(65536); this.resetKnownTokens();