When will the bug fixes end
This commit is contained in:
parent
584aa370b1
commit
6551996149
@ -1,7 +1,5 @@
|
|||||||
## Changelog
|
## Changelog
|
||||||
## 0.0.5
|
## 0.0.6
|
||||||
# Alpha release
|
# Alpha release
|
||||||
|
|
||||||
- Update the manifest.json file to include a shortcut keybind.
|
- Final bug fix? (please)
|
||||||
- Update the copyurl.js file to copy the url based on the shortcut
|
|
||||||
- Update the style.css file to add a larger width, and some color other than gray and black
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
|
const url = window.location.href;
|
||||||
chrome.commands.onCommand.addListener(function (command) {
|
chrome.commands.onCommand.addListener(function (command) {
|
||||||
if (command === "Copy URL") {
|
if (command === "Copy URL") {
|
||||||
const url = window.location.href;
|
|
||||||
navigator.clipboard.writeText(url).then(
|
navigator.clipboard.writeText(url).then(
|
||||||
function () {
|
function () {
|
||||||
console.log(`Copied URL: ${url}`);
|
console.log(`Copied URL: ${url}`);
|
||||||
|
Loading…
Reference in New Issue
Block a user