Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion hello/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
"version":"1.0",
"description": "List cookies in the active tab.",
"browser_action":{
"browser_style": true,
"default_title": "List cookies in the active tab",
"default_icon":"icon.png",
"default_popup":"popup.html"
},
"homepage_url": "https://github.com/pundreek-saurabh",
"permissions": ["cookies","<all_urls>","tabs"]
}
}
18 changes: 15 additions & 3 deletions hello/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,20 @@
<script src="jquery-3.5.1.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>

<!--<body>
<h2 id="greet">Hello World</h2>
<input type="text" id="name">
</body>
</html>
</body>-->
<body>
<div class="panel">
<div class="panel-section panel-section-header">
<div class="text-section-header" id="header-title"></div>
</div>
<ul id="cookie-list">
</ul>
<script src="popup.js"></script>
</body>


</html>
18 changes: 11 additions & 7 deletions hello/style.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
*{
background: papayawhip;
}
h2{

color:orange;
}
html, body {
width: 500px;
}

.panel {
padding: 5px;
}

li {
margin-bottom: 5px;
}