w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
ReferenceError: require is not defined

Content scripts do not have access to require. Instead self is already declared.

Just remove the require line from popup.js (but not main.js).

See Communicating using "port".





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.