Implement a bug fix

This commit is contained in:
TropiiDev 2025-03-05 13:51:04 -05:00
parent 5d786fa5b5
commit 049b8f600b
3 changed files with 12 additions and 6 deletions

View File

@ -1,7 +1,6 @@
## Changelog ## Changelog
## 0.0.2 ## 0.0.3
# Alpha release # Alpha release
- Added a copyurl.js file to copy the url. - Updated the copyurl.js file to fix the error
- Added a css style. will be updated more later. - Updated the style.css file to increase the width (hopefully)
- Updated the main.html file to make the extension look better.

View File

@ -1,5 +1,11 @@
const url = window.location.href; const url = window.location.href;
const clipboard = navigator.clipboard; navigator.clipboard.writeText(url).then(
clipboard.writeText(url); function () {
console.log(`Copied URL: ${url}`);
},
function (err) {
console.error(`Something went wrong..`, err);
},
);
console.log(`Wrote URL: ${url}`); console.log(`Wrote URL: ${url}`);

View File

@ -1,3 +1,4 @@
* { * {
background-color: gray; background-color: gray;
width: 100px;
} }