如何使用自制的谷歌浏览器扩展程序向网站添加自定义文本?

时间:2017-07-06 01:50:31

标签: javascript google-chrome google-chrome-extension

如何将自定义文字添加到可在同一域下多次添加的网站?

实施例: steamcommunity.com/id/someone

在他们的名下,它会说:官方
绿色。

感谢

html
`<!doctype html>
<html>
  <head>
    <title>Getting Started Extension's Popup</title>
<style>
  body {
    font-family: "Segoe UI", "Lucida Grande", Tahoma, sans-serif;
    font-size: 100%;
  }
  #status {
    white-space: pre;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 400px;
  }
</style>

<script src="popup.js"></script>
</head>
 <body>
<div id="status"></div>
<img id="image-result" hidden>
</body>

`

0 个答案:

没有答案
相关问题