Compare commits
3 Commits
e808cd3a77
...
e06c6dd1c6
Author | SHA1 | Date | |
---|---|---|---|
e06c6dd1c6 | |||
1025f6b2c2 | |||
435a8bcfe0 |
24
LICENSE
Normal file
24
LICENSE
Normal file
@ -0,0 +1,24 @@
|
||||
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,4 +25,9 @@ TODO: -->
|
||||
- [x] Notify on copy
|
||||
- [x] Generate another url
|
||||
- [ ] 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) {
|
||||
});
|
||||
});
|
||||
|
||||
document.getElementById("create").onclick = createUrl;
|
||||
// Calls the api to create a new short url
|
||||
document.getElementById("create").onclick = createUrl;
|
||||
function createUrl() {
|
||||
chrome.tabs.query({ active: true, lastFocusedWindow: true }, tabs => {
|
||||
let shorturl = {
|
||||
@ -43,6 +43,7 @@ function createUrl() {
|
||||
|
||||
}
|
||||
|
||||
//Resets the UI
|
||||
document.getElementById("reset").onclick = reset;
|
||||
function reset() {
|
||||
document.getElementById("shorturl").innerText = "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user