Uncaught SyntaxError: Identifier 'chunkSize' has already been declared
at VM[...] adblock-datacollection-contentscript.js:1
(anonymous) @ VM[...] adblock-datacollection-contentscript.js:1
if I use ngRoute and click on any button [ul>li>a] with attribute href="#!something", it always create error in console (when my website run on localhost (Apache server) and open in chrome with any adblock.)
It's pointing to file: https://gist.github.com/Mlocik97-issues/4d5e392a8cb1b547a25e2a55206620ce
Adblock by BetaFish v3.31.2 [ID: gighmmpiobklfepjocnamgkkbiglidom]
Chrome 67.0.3396.87
AngularJS & ngRoute: 1.7.2
-
but:
if I open my website in firefox (over localhost) -> no error
if I open my website in chrome (not over localhost) -> no error
if I click on normal link -> no error
if I disable adblock or remove adblock-datacollection-contentscript.js file -> no error
How to fix it also in chrome with adblock when my page is on localhost?
I haven't variable or const "chunkSize" in my code.
thanks for answers and sry for my bad English.
SOLVED, it was bug in adblock.