Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is BetterJsPop error on chrome?

I am getting this error on Chrome with my React.js app. But on Mozilla it is working just fine. Does anybody know what it means or what is this error referring to?

VM1407:20 Uncaught TypeError: Cannot redefine property: BetterJsPop
at Function.defineProperty (<anonymous>)
at inject (<anonymous>:20:10)
at <anonymous>:510:11
at <anonymous>:511:11
like image 522
Alisher Musurmonv Avatar asked May 10 '18 11:05

Alisher Musurmonv


2 Answers

I figured out that it was "Fair Ad Block" chrome extension issue. I disabled and reenabled extensions and found the ad blocker was causing the issue. I removed the extension and my code is running very well again.

like image 131
Alisher Musurmonv Avatar answered Oct 21 '22 02:10

Alisher Musurmonv


It's part of the "Better Js Popunder Script", a JavaScript library to show popup/popunder windows with advertisements (and break your navigation at the same time). I may well be included in some Chrome extensions.

http://code.ptcong.com/better-js-popunder-script/

like image 20
Peter Avatar answered Oct 21 '22 01:10

Peter