Chrome扩展程序,如何修改页面内容(添加内容) [英] Chrome extension, how to Modify page content (add something)

查看:786
本文介绍了Chrome扩展程序,如何修改页面内容(添加内容)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Chrome扩展程序开发的新手,我的第一个项目(要学习)是创建一个扩展程序,该扩展程序将一些html添加到另一个网站的现有页面上.

I'm new to Chrome extension development, my first project (to learn) is to create an extension that adds some html to another website's existing page.

我计划创建一个页面"操作,该操作会针对具有特定URL的页面触发...

I plan on creating a 'page' action which fires for a page with a certain URL...

有没有人看过这样的教程,或者您知道用于将html添加到页面的API吗?

Has anyone seen a tutorial like this, or do you know of an API for adding html to a page?

推荐答案

您可以在 Google示例扩展页面,但是您的问题似乎在其他问题上得到了较好的回答

You can find some example at Google Sample Extension page, however your question seems better answered on this other question.

这篇关于Chrome扩展程序,如何修改页面内容(添加内容)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆