Reputation: 44852
I know you can use the manifest for contentscripts.. but is there any way I can import local javascript files into popup.html?
Upvotes: 0
Views: 781
Reputation: 40169
Since your popup.html is an extension page, then it is a normal HTML page. You can add an import in there.
<script type="text/javascript" src="local_javascript.js"></script>
Hope that helped!
Upvotes: 1