[英]How do you add angular script to chrome extension?
I want to manipulate the text field in a website which is written in angular, through my chrome extension, when I do so from the context of chrome console, I'm able to do edit the text field etc, however, when I do it from the code of my extension, its just not happening and throws the error that angular is not defined, despite the fact that Ive added angular. 我想通过chrome扩展名操作以角度编写的网站中的文本字段,当我从chrome控制台的上下文中进行操作时,我能够编辑文本字段等,但是,当我这样做时从我的扩展代码来看,尽管我已经添加了角度,但实际上并没有发生并且抛出了角度未定义的错误。 PS: I'm also using jQuery as part of my project.
PS:我也在项目中使用jQuery。
I actually feel so stupid for asking this. 我真的很愚蠢地问这个问题。 You just need to add the angular's file to the background_script.
您只需要将angular的文件添加到background_script。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.