当前仓库属于关闭状态,部分功能使用受限,详情请查阅 仓库状态说明
15 Star 192 Fork 213

milaoshu1020/trashbin
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
popup.html 1.30 KB
一键复制 编辑 原始数据 按行查看 历史
milaoshu1020 提交于 2024-05-30 16:23 +08:00 . 升级MV2到MV3,修改了manifest.json文件;
<!DOCTYPE html>
<html>
<head>
<title>垃圾桶</title>
<script type="text/javascript" src="js/jquery-3.7.1.js"></script>
<script type="text/javascript" src="js/popup.js"></script>
<meta charset="UTF-8">
<style>
body,html {
min-width: 300px;
background-color: #f1f1f1;
color: #333;
margin: 0;
padding: 0;
-webkit-user-select: none;
}
ul.vmenu {
list-style-type: none;
padding-left: 0;
font-size: 16px;
font-weight: bold;
text-align: center;
margin: 0;
}
ul.vmenu > li {
cursor: pointer;
display: block;
-webkit-box-sizing: border-box;
width: 100%;
height: 32px;
line-height: 32px;
background: #dedede;
border-top: 1px solid #f1f1f1;
border-bottom: 1px solid #ccc;
text-shadow: #fff 0px 1px 0px;
}
ul.vmenu > li:hover {
background: #e9e9e9;
}
div.trashbin {
background: white;
}
div {
cursor: default;
background: #0080ff;
line-height: 32px;
font-weight: bold;
font-size: 16px;
text-align: center;
color: white;
}
</style>
</head>
<div class="trashbin"><img id="trashbin" alt="垃圾桶" title="Ctrl+鼠标右键点击 将指向的网页元素丢入垃圾桶." height="256px" width="256px"></div>
<div id="status"></div>
<ul class="vmenu">
<li id="open_options">打开选项页面</li>
<li id="clear_trashbin">清空垃圾桶</li>
<li id="undo">撤销丢弃操作</li>
</ul>
<body>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/milaoshu1020/trashbin.git
git@gitee.com:milaoshu1020/trashbin.git
milaoshu1020
trashbin
trashbin
master

搜索帮助