Obfuscate output chunk names in order to bypass adblockers
Unanswered
Mattèo posted this in #help-forum
MattèoOP
Hello, I am creating a site with Next.js and I have a problem with Adblocker. I'm creating an advertising project and some of the scripts needed to run Next.js don't work because of the "ads" keyword. In this case, the blocking property is
The url that is blocked is : https://xxxxxxxx.fr/_next/static/chunks/pages/dashboard/ads/create-cde2c9c47ea81db8.js
That's why I'd like to obfuscate the URL paths of the nextjs scripts. How can I achieve that ?
Thank you and have a nice day !
.fr/*/ads/$domain=~lemde.fr|~yoopies.fr
from the FR Easylist (used by adblockers like uBlock or ABP) https://github.com/easylist/listefrThe url that is blocked is : https://xxxxxxxx.fr/_next/static/chunks/pages/dashboard/ads/create-cde2c9c47ea81db8.js
That's why I'd like to obfuscate the URL paths of the nextjs scripts. How can I achieve that ?
Thank you and have a nice day !