ceceradio / twitter-block-chain

Chrome extension to block all users on a followers/following page.
MIT License
247 stars 50 forks source link

Unhandled NullPointer in Chrome Extension #78

Closed mardapol closed 4 years ago

mardapol commented 4 years ago

When running the Blockchain in Chrome, the following log appears:

Error in event handler: TypeError: Cannot read property '1' of null NPDHamburg:1 at MobileTwitter.getProfileUsername (chrome-extension://dkkfampndkdnjffkleokegfnibnnjfah/js/blockchain.js:263:88) at isOnTheRightPage (chrome-extension://dkkfampndkdnjffkleokegfnibnnjfah/js/blockchain.js:44:20) at chrome-extension://dkkfampndkdnjffkleokegfnibnnjfah/js/blockchain.js:49:13 at onMessage (chrome-extension://dkkfampndkdnjffkleokegfnibnnjfah/js/browser-polyfill.min.js:869:24)

mardapol commented 4 years ago

After digging deeper into the code, this seems to be caused by pop up blockers. If deactivated, the script works finde.