Compare commits
No commits in common. "e06c6dd1c6bf6462f25c275166075efdafe54706" and "e808cd3a77cbe5b910ac03e70af13688c6b7e01e" have entirely different histories.
e06c6dd1c6
...
e808cd3a77
24
LICENSE
24
LICENSE
@ -1,24 +0,0 @@
|
|||||||
MIT License
|
|
||||||
-----------
|
|
||||||
|
|
||||||
Copyright (c) 2021 ODIT.Services (https://odit.services)
|
|
||||||
Permission is hereby granted, free of charge, to any person
|
|
||||||
obtaining a copy of this software and associated documentation
|
|
||||||
files (the "Software"), to deal in the Software without
|
|
||||||
restriction, including without limitation the rights to use,
|
|
||||||
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the
|
|
||||||
Software is furnished to do so, subject to the following
|
|
||||||
conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be
|
|
||||||
included in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
||||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
||||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
||||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
||||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
||||||
OTHER DEALINGS IN THE SOFTWARE.
|
|
@ -25,9 +25,4 @@ TODO: -->
|
|||||||
- [x] Notify on copy
|
- [x] Notify on copy
|
||||||
- [x] Generate another url
|
- [x] Generate another url
|
||||||
- [ ] Project Logo™
|
- [ ] Project Logo™
|
||||||
- [ ] Finalize styling
|
- [ ] Finalize styling
|
||||||
|
|
||||||
## Credits
|
|
||||||
* ClipboardJS by Zeno Rocha licensed under MIT - Website: https://clipboardjs.com/ - Repo: https://github.com/zenorocha/clipboard.js
|
|
||||||
* TailwindCSS by TailwindLabs licensed under MIT - Website: https://tailwindcss.com - Repo: https://github.com/tailwindlabs/tailwindcss
|
|
||||||
* LinkyLinky Server: https://git.odit.services/kauft.es/linkylinky
|
|
3
main.js
3
main.js
@ -11,8 +11,8 @@ clipboard.on('success', function (e) {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// Calls the api to create a new short url
|
|
||||||
document.getElementById("create").onclick = createUrl;
|
document.getElementById("create").onclick = createUrl;
|
||||||
|
// Calls the api to create a new short url
|
||||||
function createUrl() {
|
function createUrl() {
|
||||||
chrome.tabs.query({ active: true, lastFocusedWindow: true }, tabs => {
|
chrome.tabs.query({ active: true, lastFocusedWindow: true }, tabs => {
|
||||||
let shorturl = {
|
let shorturl = {
|
||||||
@ -43,7 +43,6 @@ function createUrl() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//Resets the UI
|
|
||||||
document.getElementById("reset").onclick = reset;
|
document.getElementById("reset").onclick = reset;
|
||||||
function reset() {
|
function reset() {
|
||||||
document.getElementById("shorturl").innerText = "";
|
document.getElementById("shorturl").innerText = "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user