mirror of
https://github.com/ryanamay/pint.git
synced 2024-09-20 01:50:34 +00:00
feat: anti copyright thingy
This commit is contained in:
parent
3a640b0a3d
commit
f34b77d7f3
3 changed files with 5 additions and 7 deletions
|
@ -9,13 +9,13 @@
|
|||
"24": "images/icon24.png",
|
||||
"32": "images/icon32.png"
|
||||
},
|
||||
"default_title": "Github Accentify",
|
||||
"default_title": "Gitccentify",
|
||||
|
||||
"default_popup": "popup.html"
|
||||
|
||||
},
|
||||
|
||||
"description": "Personalize your Github Experience",
|
||||
"description": "Personalize your Github Experience by theming it to your own style.",
|
||||
|
||||
"author": {
|
||||
"name": "Jariel Que",
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<!-- My Styles -->
|
||||
<link rel="stylesheet" href="styles/styles.css">
|
||||
|
||||
<title>GitHub Accentify</title>
|
||||
<title>Gitccentify</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -22,7 +22,7 @@
|
|||
<div class="inb"><img class="logo" src="images/icon32.png" alt="Github Accentify"></img>
|
||||
</div>
|
||||
<div class="inb">
|
||||
<h1 class="logo-text"> Github Accentify </h1>
|
||||
<h1 class="logo-text"> Gitccentify </h1>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
|
4
popup.js
4
popup.js
|
@ -8,9 +8,7 @@ changeColor.addEventListener("change", async() => {
|
|||
let [tab] = await chrome.tabs.query({ active: true, currentWindow: true });
|
||||
|
||||
var accent1 = changeColor.value;
|
||||
chrome.storage.sync.set({ a1: accent1 }, () => {
|
||||
alert("Color set to " + accent1);
|
||||
});
|
||||
chrome.storage.sync.set({ a1: accent1 });
|
||||
|
||||
chrome.scripting.executeScript({
|
||||
target: { tabId: tab.id },
|
||||
|
|
Loading…
Reference in a new issue