Compare commits

...

74 Commits
0.2.1 ... 1.1.0

Author SHA1 Message Date
Deployment Bot (from Travis CI)
b33b634c68 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-05-10 14:22:39 +00:00
Deployment Bot (from Travis CI)
9aa5a9ae1b Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-05-10 03:40:09 +00:00
Deployment Bot (from Travis CI)
e6921f4b29 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-04-01 16:58:39 +00:00
Deployment Bot (from Travis CI)
c1f87abf0f Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-03-30 17:16:08 +00:00
Deployment Bot (from Travis CI)
c13fe8e097 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-03-03 06:19:54 +00:00
Deployment Bot (from Travis CI)
7b45dd6f48 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-03-03 05:16:59 +00:00
Deployment Bot (from Travis CI)
794804cd99 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-03-03 03:48:42 +00:00
Deployment Bot (from Travis CI)
95de6adb8b Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-03-02 05:25:06 +00:00
Deployment Bot (from Travis CI)
5a0a326c56 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-23 04:13:34 +00:00
Deployment Bot (from Travis CI)
1b5f476b1e Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-23 03:56:05 +00:00
Deployment Bot (from Travis CI)
f74bb15c14 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-21 14:42:28 +00:00
Deployment Bot (from Travis CI)
2c6aba0d82 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-17 14:47:16 +00:00
Deployment Bot (from Travis CI)
976152fe03 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-17 14:46:03 +00:00
Deployment Bot (from Travis CI)
74d300403e Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-17 14:09:37 +00:00
Deployment Bot (from Travis CI)
82921d5e41 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-17 07:59:06 +00:00
Deployment Bot (from Travis CI)
e91eb155f4 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-17 07:23:41 +00:00
Deployment Bot (from Travis CI)
a3ff210d7c Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-17 05:03:34 +00:00
Deployment Bot (from Travis CI)
753f6e924e Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-17 04:46:12 +00:00
Deployment Bot (from Travis CI)
08f4fefe0c Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-16 13:50:25 +00:00
Deployment Bot (from Travis CI)
703ad60675 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-16 10:38:03 +00:00
Deployment Bot (from Travis CI)
c2c4cd931c Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-16 07:18:45 +00:00
Deployment Bot (from Travis CI)
e4c9f90249 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-16 04:06:28 +00:00
Deployment Bot (from Travis CI)
22eea32152 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-15 02:45:22 +00:00
Deployment Bot (from Travis CI)
97201f3258 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-14 03:08:24 +00:00
Deployment Bot (from Travis CI)
33a28e9e8d Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-14 02:54:20 +00:00
Deployment Bot (from Travis CI)
d58f30a840 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-13 14:34:47 +00:00
Deployment Bot (from Travis CI)
62cea8abf7 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-13 13:20:23 +00:00
Deployment Bot (from Travis CI)
123348689a Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-10 18:52:48 +00:00
Deployment Bot (from Travis CI)
777b387b6c Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-10 09:23:58 +00:00
Deployment Bot (from Travis CI)
f7af0b9773 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-10 07:07:26 +00:00
Deployment Bot (from Travis CI)
f3dc71e5c2 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-10 05:04:38 +00:00
Deployment Bot (from Travis CI)
8f2b7e323a Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-10 04:51:55 +00:00
Deployment Bot (from Travis CI)
e4282851a4 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-08 05:36:17 +00:00
Deployment Bot (from Travis CI)
56ba3f8c83 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-08 05:27:54 +00:00
Deployment Bot (from Travis CI)
88e7dffb97 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-07 18:06:32 +00:00
Deployment Bot (from Travis CI)
5d2c6ab22f Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-04 15:46:07 +00:00
Deployment Bot (from Travis CI)
36f6b98a5f Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-02 06:17:31 +00:00
Deployment Bot (from Travis CI)
14dec2ea92 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-02-02 05:14:09 +00:00
Deployment Bot (from Travis CI)
5f52bb38e5 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-01-20 03:37:47 +00:00
Deployment Bot (from Travis CI)
cee4c929f0 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-01-19 15:19:35 +00:00
Deployment Bot (from Travis CI)
0e22ddc483 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-01-19 13:30:52 +00:00
Deployment Bot (from Travis CI)
a0a71bb337 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-01-19 13:07:25 +00:00
Deployment Bot (from Travis CI)
aa020d719e Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-01-16 06:19:49 +00:00
Deployment Bot (from Travis CI)
92fd233d5e Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-01-14 12:57:40 +00:00
Deployment Bot (from Travis CI)
7ce41b6573 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-01-14 05:30:07 +00:00
Deployment Bot (from Travis CI)
a3cb654e4e Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-01-14 05:20:51 +00:00
Deployment Bot (from Travis CI)
764eea8f7f Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-01-13 15:41:27 +00:00
Deployment Bot (from Travis CI)
bd37e2465f Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-01-13 15:39:25 +00:00
Deployment Bot (from Travis CI)
7a386d4143 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-01-13 14:26:34 +00:00
Deployment Bot (from Travis CI)
bd85803f41 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-01-13 10:46:39 +00:00
Deployment Bot (from Travis CI)
61ff44e3f9 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-01-13 10:36:39 +00:00
Deployment Bot (from Travis CI)
e70f84fe87 Deploy abhijithvijayan/kutt-extension to github.com/abhijithvijayan/kutt-extension.git:extension 2019-01-13 10:19:26 +00:00
Deployment Bot (from Travis CI)
cbd288ec0b Deploy abhijithvijayan/kuttUrl-browser-extension to github.com/abhijithvijayan/kuttUrl-browser-extension.git:extension 2019-01-11 15:16:00 +00:00
Deployment Bot (from Travis CI)
f1d7aa9d75 Deploy abhijithvijayan/kuttUrl-browser-extension to github.com/abhijithvijayan/kuttUrl-browser-extension.git:extension 2019-01-11 12:36:22 +00:00
Deployment Bot (from Travis CI)
4150c30661 Deploy abhijithvijayan/kuttUrl-browser-extension to github.com/abhijithvijayan/kuttUrl-browser-extension.git:extension 2019-01-11 12:22:16 +00:00
Deployment Bot (from Travis CI)
fed18005d0 Deploy abhijithvijayan/kuttUrl-browser-extension to github.com/abhijithvijayan/kuttUrl-browser-extension.git:extension 2019-01-11 12:14:06 +00:00
Deployment Bot (from Travis CI)
31f49b6a8a Deploy abhijithvijayan/kuttUrl-browser-extension to github.com/abhijithvijayan/kuttUrl-browser-extension.git:extension 2019-01-11 11:50:06 +00:00
Deployment Bot (from Travis CI)
f4230bc8e4 Deploy abhijithvijayan/kuttUrl-browser-extension to github.com/abhijithvijayan/kuttUrl-browser-extension.git:extension 2019-01-11 10:30:15 +00:00
Deployment Bot (from Travis CI)
6e9f74fcf1 Deploy abhijithvijayan/kuttUrl-browser-extension to github.com/abhijithvijayan/kuttUrl-browser-extension.git:extension 2019-01-11 07:53:25 +00:00
Deployment Bot (from Travis CI)
e6a3743696 Deploy abhijithvijayan/kuttUrl-browser-extension to github.com/abhijithvijayan/kuttUrl-browser-extension.git:extension 2019-01-11 04:55:19 +00:00
Deployment Bot (from Travis CI)
be7b2ffdd7 Deploy abhijithvijayan/kuttUrl-browser-extension to github.com/abhijithvijayan/kuttUrl-browser-extension.git:extension 2019-01-10 06:22:46 +00:00
Deployment Bot (from Travis CI)
d65aac1efd Deploy abhijithvijayan/kuttUrl-browser-extension to github.com/abhijithvijayan/kuttUrl-browser-extension.git:extension 2019-01-10 05:53:42 +00:00
Deployment Bot (from Travis CI)
18694b4e36 Deploy abhijithvijayan/kuttUrl-browser-extension to github.com/abhijithvijayan/kuttUrl-browser-extension.git:extension 2019-01-09 15:19:40 +00:00
Deployment Bot (from Travis CI)
02f85a848c Deploy abhijithvijayan/kuttUrl-browser-extension to github.com/abhijithvijayan/kuttUrl-browser-extension.git:extension 2019-01-09 15:03:36 +00:00
Deployment Bot (from Travis CI)
eba1f44912 Deploy abhijithvijayan/kuttUrl-Chrome-extension to github.com/abhijithvijayan/kuttUrl-Chrome-extension.git:extension 2019-01-08 20:04:31 +00:00
Deployment Bot (from Travis CI)
f6d8514667 Deploy abhijithvijayan/kuttUrl-Chrome-extension to github.com/abhijithvijayan/kuttUrl-Chrome-extension.git:extension 2019-01-08 10:54:36 +00:00
Deployment Bot (from Travis CI)
a16d802568 Deploy abhijithvijayan/kuttUrl-Chrome-extension to github.com/abhijithvijayan/kuttUrl-Chrome-extension.git:extension 2019-01-07 20:08:40 +00:00
Deployment Bot (from Travis CI)
eb3aef66ef Deploy abhijithvijayan/kuttUrl-Chrome-extension to github.com/abhijithvijayan/kuttUrl-Chrome-extension.git:extension 2019-01-07 19:20:40 +00:00
Deployment Bot (from Travis CI)
4644d12e8c Deploy abhijithvijayan/kuttUrl-Chrome-extension to github.com/abhijithvijayan/kuttUrl-Chrome-extension.git:extension 2019-01-07 17:02:16 +00:00
Deployment Bot (from Travis CI)
6006ca9db3 Deploy abhijithvijayan/kuttUrl-Chrome-extension to github.com/abhijithvijayan/kuttUrl-Chrome-extension.git:extension 2019-01-07 15:04:12 +00:00
Deployment Bot (from Travis CI)
3b84e03166 Deploy abhijithvijayan/kuttUrl-Chrome-extension to github.com/abhijithvijayan/kuttUrl-Chrome-extension.git:extension 2019-01-07 12:12:05 +00:00
Deployment Bot (from Travis CI)
86e936cc21 Deploy abhijithvijayan/kuttUrl-Chrome-extension to github.com/abhijithvijayan/kuttUrl-Chrome-extension.git:extension 2019-01-07 10:04:06 +00:00
Deployment Bot (from Travis CI)
e9c783e2c7 Deploy abhijithvijayan/kuttUrl-Chrome-extension to github.com/abhijithvijayan/kuttUrl-Chrome-extension.git:extension 2019-01-07 05:49:59 +00:00
Deployment Bot (from Travis CI)
d26cd7be57 Deploy abhijithvijayan/kuttUrl-Chrome-extension to github.com/abhijithvijayan/kuttUrl-Chrome-extension.git:extension 2019-01-07 05:28:08 +00:00
79 changed files with 191 additions and 281 deletions

View File

@@ -1 +0,0 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="location-arrow" class="svg-inline--fa fa-location-arrow fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M444.52 3.52L28.74 195.42c-47.97 22.39-31.98 92.75 19.19 92.75h175.91v175.91c0 51.17 70.36 67.17 92.75 19.19l191.9-415.78c15.99-38.39-25.59-79.97-63.97-63.97z"></path></svg>

Before

Width:  |  Height:  |  Size: 388 B

View File

@@ -1 +0,0 @@
<svg aria-hidden="true" data-prefix="far" data-icon="copy" class="svg-inline--fa fa-copy fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v-48h80c26.51 0 48-21.49 48-48V99.882a48 48 0 0 0-14.059-33.941zM266 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h74v224c0 26.51 21.49 48 48 48h96v42a6 6 0 0 1-6 6zm128-96H182a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h106v88c0 13.255 10.745 24 24 24h88v202a6 6 0 0 1-6 6zm6-256h-64V48h9.632c1.591 0 3.117.632 4.243 1.757l48.368 48.368a6 6 0 0 1 1.757 4.243V112z"></path></svg>

Before

Width:  |  Height:  |  Size: 718 B

View File

@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M896 128q209 0 385.5 103t279.5 279.5 103 385.5q0 251-146.5 451.5t-378.5 277.5q-27 5-40-7t-13-30q0-3 .5-76.5t.5-134.5q0-97-52-142 57-6 102.5-18t94-39 81-66.5 53-105 20.5-150.5q0-119-79-206 37-91-8-204-28-9-81 11t-92 44l-38 24q-93-26-192-26t-192 26q-16-11-42.5-27t-83.5-38.5-85-13.5q-45 113-8 204-79 87-79 206 0 85 20.5 150t52.5 105 80.5 67 94 39 102.5 18q-39 36-49 103-21 10-45 15t-57 5-65.5-21.5-55.5-62.5q-19-32-48.5-52t-49.5-24l-20-3q-21 0-29 4.5t-5 11.5 9 14 13 12l7 5q22 10 43.5 38t31.5 51l10 23q13 38 44 61.5t67 30 69.5 7 55.5-3.5l23-4q0 38 .5 88.5t.5 54.5q0 18-13 30t-40 7q-232-77-378.5-277.5t-146.5-451.5q0-209 103-385.5t279.5-279.5 385.5-103zm-477 1103q3-7-7-12-10-3-13 2-3 7 7 12 9 6 13-2zm31 34q7-5-2-16-10-9-16-3-7 5 2 16 10 10 16 3zm30 45q9-7 0-19-8-13-17-6-9 5 0 18t17 7zm42 42q8-8-4-19-12-12-20-3-9 8 4 19 12 12 20 3zm57 25q3-11-13-16-15-4-19 7t13 15q15 6 19-6zm63 5q0-13-17-11-16 0-16 11 0 13 17 11 16 0 16-11zm58-10q-2-11-18-9-16 3-14 15t18 8 14-14z"/></svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -1 +0,0 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="qrcode" class="svg-inline--fa fa-qrcode fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M0 224h192V32H0v192zM64 96h64v64H64V96zm192-64v192h192V32H256zm128 128h-64V96h64v64zM0 480h192V288H0v192zm64-128h64v64H64v-64zm352-64h32v128h-96v-32h-32v96h-64V288h96v32h64v-32zm0 160h32v32h-32v-32zm-64 0h32v32h-32v-32z"></path></svg>

Before

Width:  |  Height:  |  Size: 433 B

View File

@@ -1 +0,0 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="cog" class="svg-inline--fa fa-cog fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M444.788 291.1l42.616 24.599c4.867 2.809 7.126 8.618 5.459 13.985-11.07 35.642-29.97 67.842-54.689 94.586a12.016 12.016 0 0 1-14.832 2.254l-42.584-24.595a191.577 191.577 0 0 1-60.759 35.13v49.182a12.01 12.01 0 0 1-9.377 11.718c-34.956 7.85-72.499 8.256-109.219.007-5.49-1.233-9.403-6.096-9.403-11.723v-49.184a191.555 191.555 0 0 1-60.759-35.13l-42.584 24.595a12.016 12.016 0 0 1-14.832-2.254c-24.718-26.744-43.619-58.944-54.689-94.586-1.667-5.366.592-11.175 5.459-13.985L67.212 291.1a193.48 193.48 0 0 1 0-70.199l-42.616-24.599c-4.867-2.809-7.126-8.618-5.459-13.985 11.07-35.642 29.97-67.842 54.689-94.586a12.016 12.016 0 0 1 14.832-2.254l42.584 24.595a191.577 191.577 0 0 1 60.759-35.13V25.759a12.01 12.01 0 0 1 9.377-11.718c34.956-7.85 72.499-8.256 109.219-.007 5.49 1.233 9.403 6.096 9.403 11.723v49.184a191.555 191.555 0 0 1 60.759 35.13l42.584-24.595a12.016 12.016 0 0 1 14.832 2.254c24.718 26.744 43.619 58.944 54.689 94.586 1.667 5.366-.592 11.175-5.459 13.985L444.788 220.9a193.485 193.485 0 0 1 0 70.2zM336 256c0-44.112-35.888-80-80-80s-80 35.888-80 80 35.888 80 80 80 80-35.888 80-80z"></path></svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

BIN
chrome.zip Normal file

Binary file not shown.

1
chrome/assets/copy.svg Normal file
View File

@@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="far" data-icon="copy" class="svg-inline--fa fa-copy fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="#888" d="M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v-48h80c26.51 0 48-21.49 48-48V99.882a48 48 0 0 0-14.059-33.941zM266 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h74v224c0 26.51 21.49 48 48 48h96v42a6 6 0 0 1-6 6zm128-96H182a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h106v88c0 13.255 10.745 24 24 24h88v202a6 6 0 0 1-6 6zm6-256h-64V48h9.632c1.591 0 3.117.632 4.243 1.757l48.368 48.368a6 6 0 0 1 1.757 4.243V112z"></path></svg>

After

Width:  |  Height:  |  Size: 710 B

1
chrome/assets/delete.svg Normal file
View File

@@ -0,0 +1 @@
<svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="trash-alt" class="svg-inline--fa fa-trash-alt fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="#888" d="M268 416h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12zM432 80h-82.41l-34-56.7A48 48 0 0 0 274.41 0H173.59a48 48 0 0 0-41.16 23.3L98.41 80H16A16 16 0 0 0 0 96v16a16 16 0 0 0 16 16h16v336a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128h16a16 16 0 0 0 16-16V96a16 16 0 0 0-16-16zM171.84 50.91A6 6 0 0 1 177 48h94a6 6 0 0 1 5.15 2.91L293.61 80H154.39zM368 464H80V128h288zm-212-48h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12z"></path></svg>

After

Width:  |  Height:  |  Size: 731 B

View File

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

View File

Before

Width:  |  Height:  |  Size: 984 B

After

Width:  |  Height:  |  Size: 984 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -0,0 +1 @@
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="history" class="svg-inline--fa fa-history fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#444" d="M504 255.531c.253 136.64-111.18 248.372-247.82 248.468-59.015.042-113.223-20.53-155.822-54.911-11.077-8.94-11.905-25.541-1.839-35.607l11.267-11.267c8.609-8.609 22.353-9.551 31.891-1.984C173.062 425.135 212.781 440 256 440c101.705 0 184-82.311 184-184 0-101.705-82.311-184-184-184-48.814 0-93.149 18.969-126.068 49.932l50.754 50.754c10.08 10.08 2.941 27.314-11.313 27.314H24c-8.837 0-16-7.163-16-16V38.627c0-14.254 17.234-21.393 27.314-11.314l49.372 49.372C129.209 34.136 189.552 8 256 8c136.81 0 247.747 110.78 248 247.531zm-180.912 78.784l9.823-12.63c8.138-10.463 6.253-25.542-4.21-33.679L288 256.349V152c0-13.255-10.745-24-24-24h-16c-13.255 0-24 10.745-24 24v135.651l65.409 50.874c10.463 8.137 25.541 6.253 33.679-4.21z"></path></svg>

After

Width:  |  Height:  |  Size: 947 B

View File

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

1
chrome/assets/qrcode.svg Normal file
View File

@@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="qrcode" class="svg-inline--fa fa-qrcode fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="#888" d="M0 224h192V32H0v192zM64 96h64v64H64V96zm192-64v192h192V32H256zm128 128h-64V96h64v64zM0 480h192V288H0v192zm64-128h64v64H64v-64zm352-64h32v128h-96v-32h-32v96h-64V288h96v32h64v-32zm0 160h32v32h-32v-32zm-64 0h32v32h-32v-32z"></path></svg>

After

Width:  |  Height:  |  Size: 425 B

View File

@@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="cog" class="svg-inline--fa fa-cog fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#444" d="M444.788 291.1l42.616 24.599c4.867 2.809 7.126 8.618 5.459 13.985-11.07 35.642-29.97 67.842-54.689 94.586a12.016 12.016 0 0 1-14.832 2.254l-42.584-24.595a191.577 191.577 0 0 1-60.759 35.13v49.182a12.01 12.01 0 0 1-9.377 11.718c-34.956 7.85-72.499 8.256-109.219.007-5.49-1.233-9.403-6.096-9.403-11.723v-49.184a191.555 191.555 0 0 1-60.759-35.13l-42.584 24.595a12.016 12.016 0 0 1-14.832-2.254c-24.718-26.744-43.619-58.944-54.689-94.586-1.667-5.366.592-11.175 5.459-13.985L67.212 291.1a193.48 193.48 0 0 1 0-70.199l-42.616-24.599c-4.867-2.809-7.126-8.618-5.459-13.985 11.07-35.642 29.97-67.842 54.689-94.586a12.016 12.016 0 0 1 14.832-2.254l42.584 24.595a191.577 191.577 0 0 1 60.759-35.13V25.759a12.01 12.01 0 0 1 9.377-11.718c34.956-7.85 72.499-8.256 109.219-.007 5.49 1.233 9.403 6.096 9.403 11.723v49.184a191.555 191.555 0 0 1 60.759 35.13l42.584-24.595a12.016 12.016 0 0 1 14.832 2.254c24.718 26.744 43.619 58.944 54.689 94.586 1.667 5.366-.592 11.175-5.459 13.985L444.788 220.9a193.485 193.485 0 0 1 0 70.2zM336 256c0-44.112-35.888-80-80-80s-80 35.888-80 80 35.888 80 80 80 80-35.888 80-80z"></path></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

1
chrome/css/history.css Normal file

File diff suppressed because one or more lines are too long

1
chrome/css/options.css Normal file

File diff suppressed because one or more lines are too long

1
chrome/css/popup.css Normal file
View File

@@ -0,0 +1 @@
@import url(https://fonts.googleapis.com/css?family=Nunito:400,600);*,:after,:before{box-sizing:border-box}:focus{outline:0}ol,ul{list-style-type:none}*{margin:0;padding:0;border:0;outline:0}body{overflow-x:hidden}a:link{text-decoration:none}.d-none{display:none!important}.v-none{visibility:hidden!important}.text-center{text-align:center}.mt-3{margin-top:3em}.mb-2{margin-bottom:2em}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif}.icon__img{width:12px;height:12px}.switch{height:23px;width:49px;margin-right:10px;float:right;position:relative}.switch input{display:none}.switch input:checked+.slider{background-color:#2979ff}.switch input:checked+.slider:before{-webkit-transform:translateX(26px);transform:translateX(26px)}.switch .slider{background-color:#ccc;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.switch .slider:before{height:15px;width:15px;background-color:#fff;bottom:4px;content:"";left:4px;position:absolute;transition:.4s}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}body{color:#111}#home{min-width:340px}#home .container{padding:10px}#home .container .header{display:flex;align-items:center;justify-content:space-between;line-height:1}#home .container .header .main__list--holder .list__button{display:inline-block;margin-right:11px}#home .container .content__holder .url__content--holder{display:flex;align-items:center;justify-content:center;margin:1.5em 0}#home .container .content__holder .url__content--holder .url__content--url{display:flex;align-items:center}#home .container .content__holder .url__content--holder .url__content--url #url__content-inner{margin:0;font-size:20px;line-height:1;color:#333;font-weight:600;letter-spacing:.03em}#home .container .content__holder .url__content--holder .url__content--url #copy__alert{position:absolute;margin-top:3.6em;top:0;color:green;font-size:11px}#home .container .content__holder .url__content--holder .buttons__content--holder{display:flex;align-items:center;padding:0;margin:0 0 0 16px}#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder{cursor:pointer;display:flex;align-items:center;justify-content:center;width:28px;height:28px;margin:0 6px;border-radius:100%;box-shadow:0 2px 4px hsla(0,0%,39.2%,.1);background-color:#dedede}#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder #button__copy,#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder #button__qrcode,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder #button__copy,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder #button__qrcode{width:13px;height:13px}

1
chrome/history.html Normal file
View File

@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>History: Kutt</title><link rel="stylesheet" href="css/history.css"></head><body><section id="history"><div class="container history__content--holder"><div class="table__content--holder"><h2 class="table__content--title">Recent shortened links. (last 10 results)</h2><table class="table__content--wrapper" id="URL_table"><thead class="table__content--head"><tr class="table__head--holder"><th class="table__head--longURL">Original URL</th><th class="table__head--shortURL">Short URL</th><th class="table__head--clearAll"><ul class="table__list--clearAll"><li class="table__listItem--clear"><button class="table__clearAll--btn" id="table__clearAll--btn">Clear All <img class="selectDisable icon__img" src="assets/delete.svg" alt="Clear All"></button></li></ul></th></tr></thead><tbody class="table__content--body" id="delegation__element"></tbody></table></div></div></section><script src="js/history.js"></script></body></html>

8
chrome/js/background.js Normal file

File diff suppressed because one or more lines are too long

1
chrome/js/history.js Normal file

File diff suppressed because one or more lines are too long

1
chrome/js/options.js Normal file

File diff suppressed because one or more lines are too long

1
chrome/js/popup.js Normal file

File diff suppressed because one or more lines are too long

39
chrome/manifest.json Normal file
View File

@@ -0,0 +1,39 @@
{
"manifest_version": 2,
"name": "Kutt",
"version": "1.1.0",
"description": "URL Shortener",
"icons": {
"16": "assets/favicon-16.png",
"32": "assets/favicon-32.png",
"48": "assets/favicon-48.png",
"128": "assets/favicon-128.png"
},
"browser_action": {
"default_popup": "popup.html",
"default_icon": {
"16": "assets/favicon-16.png",
"32": "assets/favicon-32.png",
"48": "assets/favicon-48.png",
"128": "assets/favicon-128.png"
},
"default_title": "Kutt",
"chrome_style": false
},
"author": "abhijithvijayan",
"background": {
"persistent": false,
"scripts": ["js/background.js"]
},
"homepage_url": "https://github.com/abhijithvijayan/kutt-extension",
"minimum_chrome_version": "49",
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
"options_page": "options.html",
"options_ui": {
"page": "options.html",
"chrome_style": false,
"open_in_tab": true
},
"permissions": ["tabs", "storage", "clipboardRead", "https://kutt.it/*/*"],
"short_name": "Kutt"
}

1
chrome/options.html Normal file
View File

@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>Options: Kutt</title><link rel="stylesheet" href="css/options.css"></head><body><section id="options"><div class="container options__content--holder"><div class="head__content--holder text-center"><img class="head__content--logo" src="assets/logo.png"> <a class="head__content--title" href="https://kutt.it" target="_blank" rel="noopener">Kutt.it</a></div><div class="form__content--holder"><form class="form__content"><label class="api__key--label">API Key: <a class="api__label--Qmark" target="_blank" rel="noopener" href="https://kutt.it/login">? <span class="api__label--tooltiptext text-center">Generate key from Kutt.it&nbsp;Website<br>(Settings Page)</span></a></label> <input class="api__key--holder" id="api__key--value" type="password" spellcheck="false"><div><label class="password--label">Set Password <span class="password__label--optional">? <span class="password__label--tooltiptext text-center">Set Password for the Shortened URLs.<br>(20 Char. Max)</span></span></label> <label class="switch" id="password__label--switch" for="password__label--checkbox"><input type="checkbox" id="password__label--checkbox"><div class="slider round"></div></label></div><div class="mb-2 d-none" id="pwd__holder"><input class="password--holder" id="password--value" type="password" maxlength="20" spellcheck="false"> <span class="view__password--eye" id="view__password--eye">SHOW</span></div><div><label class="copy--label">Auto Copy Kutt URL</label> <label class="switch" id="autocopy__label--switch" for="autocopy__label--checkbox"><input type="checkbox" id="autocopy__label--checkbox"><div class="slider round"></div></label></div><div><label class="copy--label">Keep History</label> <label class="switch" id="history__label--switch" for="history__label--checkbox"><input type="checkbox" id="history__label--checkbox"><div class="slider round"></div></label></div><button class="button__submit" id="button__submit" type="button">Save</button></form></div><div class="footer__text--holder text-center">Made with ❤️ on <a class="github__repo--link" href="https://github.com/abhijithvijayan/kutt-extension" target="_blank" rel="noopener">GitHub</a></div></div></section><script src="js/options.js"></script></body></html>

1
chrome/popup.html Normal file
View File

@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>Kutt</title><link rel="stylesheet" href="css/popup.css"></head><body><section id="home"><div class="container"><header class="header"><div class="main__logo--holder"><img style="width: 22px; height: 22px;" class="main__logo selectDisable" src="assets/logo.png"></div><div class="main__list--holder"><a class="list__button" href="options.html" target="_blank" rel="noopener" title="Options"><img style="width: 16px; height: 16px;" class="button__icon selectDisable" src="assets/settings.svg"></a><a class="list__button" href="history.html" target="_blank" rel="noopener" title="History"><img style="width: 16px; height: 16px;" class="button__icon selectDisable" src="assets/history.svg"></a></div></header><div class="content__holder"><div class="url__content--holder text-center"><div class="url__content--url"><div class="v-none" id="copy__alert">Copied to clipboard!</div><h4 id="url__content-inner">Shortening...</h4></div><ul class="buttons__content--holder d-none"><li class="copy__content--holder" id="button__copy--holder" title="Copy"><img style="width: 13px; height: 13px;" id="button__copy" class="selectDisable" src="assets/copy.svg" alt="copy"></li><li class="qrbtn__content--holder" id="button__qrcode--holder" title="QR code"><img style="width: 13px; height: 13px;" id="button__qrcode" class="selectDisable" src="assets/qrcode.svg" alt="QR Code"></li></ul></div><div class="qrcode__content--holder selectDisable text-center d-none"><img id="qr_code" src="#" alt="QRCode"></div></div></div></section><script src="js/popup.js"></script></body></html>

View File

@@ -1,72 +0,0 @@
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,600);*, *:before, *:after {
box-sizing: border-box; }
.d-none {
display: none !important; }
.v-none {
visibility: hidden !important; }
html, body {
padding: 0;
border: 0;
margin: 0; }
body {
font-family: "Montserrat", sans-serif; }
body {
color: #111111;
background-color: #fcfcfc; }
#options {
display: flex;
justify-content: center;
height: 100vh; }
#options .options__content--holder {
padding-top: 8em;
background-color: #ffffff; }
#options .options__content--holder .head__content--holder {
text-align: center; }
#options .options__content--holder .head__content--holder .head__content--logo {
width: 80px;
height: 80px; }
#options .options__content--holder .head__content--holder .head__content--title {
margin: 0;
font-size: 40px; }
#options .options__content--holder .form__content--holder {
margin-top: 4em; }
#options .options__content--holder .form__content--holder .form__content {
padding: 0px 100px 100px;
width: 600px; }
#options .options__content--holder .form__content--holder .form__content .api__key--label {
font-size: 16px;
display: block;
margin-bottom: 0.8em; }
#options .options__content--holder .form__content--holder .form__content .api__key--holder {
font-family: "Montserrat", sans-serif;
width: 100%;
padding: 10px;
border-radius: 4px;
border: 1px solid #4d5bfa;
margin-bottom: 1em; }
#options .options__content--holder .form__content--holder .form__content .api__key--holder:active {
border-radius: 4px; }
#options .options__content--holder .form__content--holder .form__content .saved__alert {
padding-left: 0.5em; }
#options .options__content--holder .form__content--holder .form__content .button__submit {
font-family: "Montserrat", sans-serif;
font-size: 18px;
display: block;
color: #ffffff;
width: 100%;
background-color: #4d5be7;
border: none;
padding: 12px;
margin-top: 1.2em; }
#options .options__content--holder .form__content--holder .form__content .button__submit:hover {
cursor: pointer;
background-color: #4d5bfa; }
/*# sourceURL=/home/travis/build/abhijithvijayan/kuttUrl-Chrome-extension/src/styles/options.scss */
/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3RyYXZpcy9idWlsZC9hYmhpaml0aHZpamF5YW4va3V0dFVybC1DaHJvbWUtZXh0ZW5zaW9uL3NyYy9zdHlsZXMvb3B0aW9ucy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBO0VBQ0UsdUJBQXVCLEVBQUU7O0FBRTNCO0VBQ0UseUJBQXlCLEVBQUU7O0FBRTdCO0VBQ0UsOEJBQThCLEVBQUU7O0FBRWxDO0VBQ0UsV0FBVztFQUNYLFVBQVU7RUFDVixVQUFVLEVBQUU7O0FBRWQ7RUFDRSxzQ0FBc0MsRUFBRTs7QUFFMUM7RUFDRSxlQUFlO0VBQ2YsMEJBQTBCLEVBQUU7O0FBRTlCO0VBQ0UsY0FBYztFQUNkLHdCQUF3QjtFQUN4QixjQUFjLEVBQUU7RUFDaEI7SUFDRSxpQkFBaUI7SUFDakIsMEJBQTBCLEVBQUU7SUFDNUI7TUFDRSxtQkFBbUIsRUFBRTtNQUNyQjtRQUNFLFlBQVk7UUFDWixhQUFhLEVBQUU7TUFDakI7UUFDRSxVQUFVO1FBQ1YsZ0JBQWdCLEVBQUU7SUFDdEI7TUFDRSxnQkFBZ0IsRUFBRTtNQUNsQjtRQUNFLHlCQUF5QjtRQUN6QixhQUFhLEVBQUU7UUFDZjtVQUNFLGdCQUFnQjtVQUNoQixlQUFlO1VBQ2YscUJBQXFCLEVBQUU7UUFDekI7VUFDRSxzQ0FBc0M7VUFDdEMsWUFBWTtVQUNaLGNBQWM7VUFDZCxtQkFBbUI7VUFDbkIsMEJBQTBCO1VBQzFCLG1CQUFtQixFQUFFO1VBQ3JCO1lBQ0UsbUJBQW1CLEVBQUU7UUFDekI7VUFDRSxvQkFBb0IsRUFBRTtRQUN4QjtVQUNFLHNDQUFzQztVQUN0QyxnQkFBZ0I7VUFDaEIsZUFBZTtVQUNmLGVBQWU7VUFDZixZQUFZO1VBQ1osMEJBQTBCO1VBQzFCLGFBQWE7VUFDYixjQUFjO1VBQ2Qsa0JBQWtCLEVBQUU7VUFDcEI7WUFDRSxnQkFBZ0I7WUFDaEIsMEJBQTBCLEVBQUUiLCJmaWxlIjoib3B0aW9ucy5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiQGltcG9ydCB1cmwoXCJodHRwczovL2ZvbnRzLmdvb2dsZWFwaXMuY29tL2Nzcz9mYW1pbHk9TW9udHNlcnJhdDo0MDAsNjAwXCIpO1xuKiwgKjpiZWZvcmUsICo6YWZ0ZXIge1xuICBib3gtc2l6aW5nOiBib3JkZXItYm94OyB9XG5cbi5kLW5vbmUge1xuICBkaXNwbGF5OiBub25lICFpbXBvcnRhbnQ7IH1cblxuLnYtbm9uZSB7XG4gIHZpc2liaWxpdHk6IGhpZGRlbiAhaW1wb3J0YW50OyB9XG5cbmh0bWwsIGJvZHkge1xuICBwYWRkaW5nOiAwO1xuICBib3JkZXI6IDA7XG4gIG1hcmdpbjogMDsgfVxuXG5ib2R5IHtcbiAgZm9udC1mYW1pbHk6IFwiTW9udHNlcnJhdFwiLCBzYW5zLXNlcmlmOyB9XG5cbmJvZHkge1xuICBjb2xvcjogIzExMTExMTtcbiAgYmFja2dyb3VuZC1jb2xvcjogI2ZjZmNmYzsgfVxuXG4jb3B0aW9ucyB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICBoZWlnaHQ6IDEwMHZoOyB9XG4gICNvcHRpb25zIC5vcHRpb25zX19jb250ZW50LS1ob2xkZXIge1xuICAgIHBhZGRpbmctdG9wOiA4ZW07XG4gICAgYmFja2dyb3VuZC1jb2xvcjogI2ZmZmZmZjsgfVxuICAgICNvcHRpb25zIC5vcHRpb25zX19jb250ZW50LS1ob2xkZXIgLmhlYWRfX2NvbnRlbnQtLWhvbGRlciB7XG4gICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7IH1cbiAgICAgICNvcHRpb25zIC5vcHRpb25zX19jb250ZW50LS1ob2xkZXIgLmhlYWRfX2NvbnRlbnQtLWhvbGRlciAuaGVhZF9fY29udGVudC0tbG9nbyB7XG4gICAgICAgIHdpZHRoOiA4MHB4O1xuICAgICAgICBoZWlnaHQ6IDgwcHg7IH1cbiAgICAgICNvcHRpb25zIC5vcHRpb25zX19jb250ZW50LS1ob2xkZXIgLmhlYWRfX2NvbnRlbnQtLWhvbGRlciAuaGVhZF9fY29udGVudC0tdGl0bGUge1xuICAgICAgICBtYXJnaW46IDA7XG4gICAgICAgIGZvbnQtc2l6ZTogNDBweDsgfVxuICAgICNvcHRpb25zIC5vcHRpb25zX19jb250ZW50LS1ob2xkZXIgLmZvcm1fX2NvbnRlbnQtLWhvbGRlciB7XG4gICAgICBtYXJnaW4tdG9wOiA0ZW07IH1cbiAgICAgICNvcHRpb25zIC5vcHRpb25zX19jb250ZW50LS1ob2xkZXIgLmZvcm1fX2NvbnRlbnQtLWhvbGRlciAuZm9ybV9fY29udGVudCB7XG4gICAgICAgIHBhZGRpbmc6IDBweCAxMDBweCAxMDBweDtcbiAgICAgICAgd2lkdGg6IDYwMHB4OyB9XG4gICAgICAgICNvcHRpb25zIC5vcHRpb25zX19jb250ZW50LS1ob2xkZXIgLmZvcm1fX2NvbnRlbnQtLWhvbGRlciAuZm9ybV9fY29udGVudCAuYXBpX19rZXktLWxhYmVsIHtcbiAgICAgICAgICBmb250LXNpemU6IDE2cHg7XG4gICAgICAgICAgZGlzcGxheTogYmxvY2s7XG4gICAgICAgICAgbWFyZ2luLWJvdHRvbTogMC44ZW07IH1cbiAgICAgICAgI29wdGlvbnMgLm9wdGlvbnNfX2NvbnRlbnQtLWhvbGRlciAuZm9ybV9fY29udGVudC0taG9sZGVyIC5mb3JtX19jb250ZW50IC5hcGlfX2tleS0taG9sZGVyIHtcbiAgICAgICAgICBmb250LWZhbWlseTogXCJNb250c2VycmF0XCIsIHNhbnMtc2VyaWY7XG4gICAgICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICAgICAgcGFkZGluZzogMTBweDtcbiAgICAgICAgICBib3JkZXItcmFkaXVzOiA0cHg7XG4gICAgICAgICAgYm9yZGVyOiAxcHggc29saWQgIzRkNWJmYTtcbiAgICAgICAgICBtYXJnaW4tYm90dG9tOiAxZW07IH1cbiAgICAgICAgICAjb3B0aW9ucyAub3B0aW9uc19fY29udGVudC0taG9sZGVyIC5mb3JtX19jb250ZW50LS1ob2xkZXIgLmZvcm1fX2NvbnRlbnQgLmFwaV9fa2V5LS1ob2xkZXI6YWN0aXZlIHtcbiAgICAgICAgICAgIGJvcmRlci1yYWRpdXM6IDRweDsgfVxuICAgICAgICAjb3B0aW9ucyAub3B0aW9uc19fY29udGVudC0taG9sZGVyIC5mb3JtX19jb250ZW50LS1ob2xkZXIgLmZvcm1fX2NvbnRlbnQgLnNhdmVkX19hbGVydCB7XG4gICAgICAgICAgcGFkZGluZy1sZWZ0OiAwLjVlbTsgfVxuICAgICAgICAjb3B0aW9ucyAub3B0aW9uc19fY29udGVudC0taG9sZGVyIC5mb3JtX19jb250ZW50LS1ob2xkZXIgLmZvcm1fX2NvbnRlbnQgLmJ1dHRvbl9fc3VibWl0IHtcbiAgICAgICAgICBmb250LWZhbWlseTogXCJNb250c2VycmF0XCIsIHNhbnMtc2VyaWY7XG4gICAgICAgICAgZm9udC1zaXplOiAxOHB4O1xuICAgICAgICAgIGRpc3BsYXk6IGJsb2NrO1xuICAgICAgICAgIGNvbG9yOiAjZmZmZmZmO1xuICAgICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICM0ZDViZTc7XG4gICAgICAgICAgYm9yZGVyOiBub25lO1xuICAgICAgICAgIHBhZGRpbmc6IDEycHg7XG4gICAgICAgICAgbWFyZ2luLXRvcDogMS4yZW07IH1cbiAgICAgICAgICAjb3B0aW9ucyAub3B0aW9uc19fY29udGVudC0taG9sZGVyIC5mb3JtX19jb250ZW50LS1ob2xkZXIgLmZvcm1fX2NvbnRlbnQgLmJ1dHRvbl9fc3VibWl0OmhvdmVyIHtcbiAgICAgICAgICAgIGN1cnNvcjogcG9pbnRlcjtcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICM0ZDViZmE7IH1cbiJdLCJzb3VyY2VSb290IjoiIn0= */

File diff suppressed because one or more lines are too long

BIN
firefox.zip Normal file

Binary file not shown.

1
firefox/assets/copy.svg Normal file
View File

@@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="far" data-icon="copy" class="svg-inline--fa fa-copy fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="#888" d="M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v-48h80c26.51 0 48-21.49 48-48V99.882a48 48 0 0 0-14.059-33.941zM266 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h74v224c0 26.51 21.49 48 48 48h96v42a6 6 0 0 1-6 6zm128-96H182a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h106v88c0 13.255 10.745 24 24 24h88v202a6 6 0 0 1-6 6zm6-256h-64V48h9.632c1.591 0 3.117.632 4.243 1.757l48.368 48.368a6 6 0 0 1 1.757 4.243V112z"></path></svg>

After

Width:  |  Height:  |  Size: 710 B

View File

@@ -0,0 +1 @@
<svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="trash-alt" class="svg-inline--fa fa-trash-alt fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="#888" d="M268 416h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12zM432 80h-82.41l-34-56.7A48 48 0 0 0 274.41 0H173.59a48 48 0 0 0-41.16 23.3L98.41 80H16A16 16 0 0 0 0 96v16a16 16 0 0 0 16 16h16v336a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128h16a16 16 0 0 0 16-16V96a16 16 0 0 0-16-16zM171.84 50.91A6 6 0 0 1 177 48h94a6 6 0 0 1 5.15 2.91L293.61 80H154.39zM368 464H80V128h288zm-212-48h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12z"></path></svg>

After

Width:  |  Height:  |  Size: 731 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 984 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -0,0 +1 @@
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="history" class="svg-inline--fa fa-history fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#444" d="M504 255.531c.253 136.64-111.18 248.372-247.82 248.468-59.015.042-113.223-20.53-155.822-54.911-11.077-8.94-11.905-25.541-1.839-35.607l11.267-11.267c8.609-8.609 22.353-9.551 31.891-1.984C173.062 425.135 212.781 440 256 440c101.705 0 184-82.311 184-184 0-101.705-82.311-184-184-184-48.814 0-93.149 18.969-126.068 49.932l50.754 50.754c10.08 10.08 2.941 27.314-11.313 27.314H24c-8.837 0-16-7.163-16-16V38.627c0-14.254 17.234-21.393 27.314-11.314l49.372 49.372C129.209 34.136 189.552 8 256 8c136.81 0 247.747 110.78 248 247.531zm-180.912 78.784l9.823-12.63c8.138-10.463 6.253-25.542-4.21-33.679L288 256.349V152c0-13.255-10.745-24-24-24h-16c-13.255 0-24 10.745-24 24v135.651l65.409 50.874c10.463 8.137 25.541 6.253 33.679-4.21z"></path></svg>

After

Width:  |  Height:  |  Size: 947 B

BIN
firefox/assets/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

View File

@@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="qrcode" class="svg-inline--fa fa-qrcode fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="#888" d="M0 224h192V32H0v192zM64 96h64v64H64V96zm192-64v192h192V32H256zm128 128h-64V96h64v64zM0 480h192V288H0v192zm64-128h64v64H64v-64zm352-64h32v128h-96v-32h-32v96h-64V288h96v32h64v-32zm0 160h32v32h-32v-32zm-64 0h32v32h-32v-32z"></path></svg>

After

Width:  |  Height:  |  Size: 425 B

View File

@@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="cog" class="svg-inline--fa fa-cog fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#444" d="M444.788 291.1l42.616 24.599c4.867 2.809 7.126 8.618 5.459 13.985-11.07 35.642-29.97 67.842-54.689 94.586a12.016 12.016 0 0 1-14.832 2.254l-42.584-24.595a191.577 191.577 0 0 1-60.759 35.13v49.182a12.01 12.01 0 0 1-9.377 11.718c-34.956 7.85-72.499 8.256-109.219.007-5.49-1.233-9.403-6.096-9.403-11.723v-49.184a191.555 191.555 0 0 1-60.759-35.13l-42.584 24.595a12.016 12.016 0 0 1-14.832-2.254c-24.718-26.744-43.619-58.944-54.689-94.586-1.667-5.366.592-11.175 5.459-13.985L67.212 291.1a193.48 193.48 0 0 1 0-70.199l-42.616-24.599c-4.867-2.809-7.126-8.618-5.459-13.985 11.07-35.642 29.97-67.842 54.689-94.586a12.016 12.016 0 0 1 14.832-2.254l42.584 24.595a191.577 191.577 0 0 1 60.759-35.13V25.759a12.01 12.01 0 0 1 9.377-11.718c34.956-7.85 72.499-8.256 109.219-.007 5.49 1.233 9.403 6.096 9.403 11.723v49.184a191.555 191.555 0 0 1 60.759 35.13l42.584-24.595a12.016 12.016 0 0 1 14.832 2.254c24.718 26.744 43.619 58.944 54.689 94.586 1.667 5.366-.592 11.175-5.459 13.985L444.788 220.9a193.485 193.485 0 0 1 0 70.2zM336 256c0-44.112-35.888-80-80-80s-80 35.888-80 80 35.888 80 80 80 80-35.888 80-80z"></path></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

1
firefox/css/history.css Normal file

File diff suppressed because one or more lines are too long

1
firefox/css/options.css Normal file

File diff suppressed because one or more lines are too long

1
firefox/css/popup.css Normal file
View File

@@ -0,0 +1 @@
@import url(https://fonts.googleapis.com/css?family=Nunito:400,600);*,:after,:before{box-sizing:border-box}:focus{outline:0}ol,ul{list-style-type:none}*{margin:0;padding:0;border:0;outline:0}body{overflow-x:hidden}a:link{text-decoration:none}.d-none{display:none!important}.v-none{visibility:hidden!important}.text-center{text-align:center}.mt-3{margin-top:3em}.mb-2{margin-bottom:2em}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif}.icon__img{width:12px;height:12px}.switch{height:23px;width:49px;margin-right:10px;float:right;position:relative}.switch input{display:none}.switch input:checked+.slider{background-color:#2979ff}.switch input:checked+.slider:before{-webkit-transform:translateX(26px);transform:translateX(26px)}.switch .slider{background-color:#ccc;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.switch .slider:before{height:15px;width:15px;background-color:#fff;bottom:4px;content:"";left:4px;position:absolute;transition:.4s}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}body{color:#111}#home{min-width:340px}#home .container{padding:10px}#home .container .header{display:flex;align-items:center;justify-content:space-between;line-height:1}#home .container .header .main__list--holder .list__button{display:inline-block;margin-right:11px}#home .container .content__holder .url__content--holder{display:flex;align-items:center;justify-content:center;margin:1.5em 0}#home .container .content__holder .url__content--holder .url__content--url{display:flex;align-items:center}#home .container .content__holder .url__content--holder .url__content--url #url__content-inner{margin:0;font-size:20px;line-height:1;color:#333;font-weight:600;letter-spacing:.03em}#home .container .content__holder .url__content--holder .url__content--url #copy__alert{position:absolute;margin-top:3.6em;top:0;color:green;font-size:11px}#home .container .content__holder .url__content--holder .buttons__content--holder{display:flex;align-items:center;padding:0;margin:0 0 0 16px}#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder{cursor:pointer;display:flex;align-items:center;justify-content:center;width:28px;height:28px;margin:0 6px;border-radius:100%;box-shadow:0 2px 4px hsla(0,0%,39.2%,.1);background-color:#dedede}#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder #button__copy,#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder #button__qrcode,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder #button__copy,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder #button__qrcode{width:13px;height:13px}

1
firefox/history.html Normal file
View File

@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>History: Kutt</title><link rel="stylesheet" href="css/history.css"></head><body><section id="history"><div class="container history__content--holder"><div class="table__content--holder"><h2 class="table__content--title">Recent shortened links. (last 10 results)</h2><table class="table__content--wrapper" id="URL_table"><thead class="table__content--head"><tr class="table__head--holder"><th class="table__head--longURL">Original URL</th><th class="table__head--shortURL">Short URL</th><th class="table__head--clearAll"><ul class="table__list--clearAll"><li class="table__listItem--clear"><button class="table__clearAll--btn" id="table__clearAll--btn">Clear All <img class="selectDisable icon__img" src="assets/delete.svg" alt="Clear All"></button></li></ul></th></tr></thead><tbody class="table__content--body" id="delegation__element"></tbody></table></div></div></section><script src="js/history.js"></script></body></html>

8
firefox/js/background.js Normal file

File diff suppressed because one or more lines are too long

1
firefox/js/history.js Normal file

File diff suppressed because one or more lines are too long

1
firefox/js/options.js Normal file

File diff suppressed because one or more lines are too long

1
firefox/js/popup.js Normal file

File diff suppressed because one or more lines are too long

46
firefox/manifest.json Normal file
View File

@@ -0,0 +1,46 @@
{
"manifest_version": 2,
"name": "Kutt",
"version": "1.1.0",
"browser_specific_settings": {
"gecko": {
"id": "support@kutt.it"
}
},
"description": "URL Shortener",
"icons": {
"16": "assets/favicon-16.png",
"32": "assets/favicon-32.png",
"48": "assets/favicon-48.png",
"128": "assets/favicon-128.png"
},
"browser_action": {
"default_popup": "popup.html",
"default_icon": {
"16": "assets/favicon-16.png",
"32": "assets/favicon-32.png",
"48": "assets/favicon-48.png",
"128": "assets/favicon-128.png"
},
"default_title": "Kutt",
"browser_style": false
},
"author": "abhijithvijayan",
"background": {
"scripts": ["js/background.js"]
},
"homepage_url": "https://github.com/abhijithvijayan/kutt-extension",
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
"options_ui": {
"page": "options.html",
"open_in_tab": true
},
"permissions": [
"tabs",
"storage",
"clipboardWrite",
"clipboardRead",
"https://kutt.it/*/*"
],
"short_name": "Kutt"
}

1
firefox/options.html Normal file
View File

@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>Options: Kutt</title><link rel="stylesheet" href="css/options.css"></head><body><section id="options"><div class="container options__content--holder"><div class="head__content--holder text-center"><img class="head__content--logo" src="assets/logo.png"> <a class="head__content--title" href="https://kutt.it" target="_blank" rel="noopener">Kutt.it</a></div><div class="form__content--holder"><form class="form__content"><label class="api__key--label">API Key: <a class="api__label--Qmark" target="_blank" rel="noopener" href="https://kutt.it/login">? <span class="api__label--tooltiptext text-center">Generate key from Kutt.it&nbsp;Website<br>(Settings Page)</span></a></label> <input class="api__key--holder" id="api__key--value" type="password" spellcheck="false"><div><label class="password--label">Set Password <span class="password__label--optional">? <span class="password__label--tooltiptext text-center">Set Password for the Shortened URLs.<br>(20 Char. Max)</span></span></label> <label class="switch" id="password__label--switch" for="password__label--checkbox"><input type="checkbox" id="password__label--checkbox"><div class="slider round"></div></label></div><div class="mb-2 d-none" id="pwd__holder"><input class="password--holder" id="password--value" type="password" maxlength="20" spellcheck="false"> <span class="view__password--eye" id="view__password--eye">SHOW</span></div><div><label class="copy--label">Auto Copy Kutt URL</label> <label class="switch" id="autocopy__label--switch" for="autocopy__label--checkbox"><input type="checkbox" id="autocopy__label--checkbox"><div class="slider round"></div></label></div><div><label class="copy--label">Keep History</label> <label class="switch" id="history__label--switch" for="history__label--checkbox"><input type="checkbox" id="history__label--checkbox"><div class="slider round"></div></label></div><button class="button__submit" id="button__submit" type="button">Save</button></form></div><div class="footer__text--holder text-center">Made with ❤️ on <a class="github__repo--link" href="https://github.com/abhijithvijayan/kutt-extension" target="_blank" rel="noopener">GitHub</a></div></div></section><script src="js/options.js"></script></body></html>

1
firefox/popup.html Normal file
View File

@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>Kutt</title><link rel="stylesheet" href="css/popup.css"></head><body><section id="home"><div class="container"><header class="header"><div class="main__logo--holder"><img style="width: 22px; height: 22px;" class="main__logo selectDisable" src="assets/logo.png"></div><div class="main__list--holder"><a class="list__button" href="options.html" target="_blank" rel="noopener" title="Options"><img style="width: 16px; height: 16px;" class="button__icon selectDisable" src="assets/settings.svg"></a><a class="list__button" href="history.html" target="_blank" rel="noopener" title="History"><img style="width: 16px; height: 16px;" class="button__icon selectDisable" src="assets/history.svg"></a></div></header><div class="content__holder"><div class="url__content--holder text-center"><div class="url__content--url"><div class="v-none" id="copy__alert">Copied to clipboard!</div><h4 id="url__content-inner">Shortening...</h4></div><ul class="buttons__content--holder d-none"><li class="copy__content--holder" id="button__copy--holder" title="Copy"><img style="width: 13px; height: 13px;" id="button__copy" class="selectDisable" src="assets/copy.svg" alt="copy"></li><li class="qrbtn__content--holder" id="button__qrcode--holder" title="QR code"><img style="width: 13px; height: 13px;" id="button__qrcode" class="selectDisable" src="assets/qrcode.svg" alt="QR Code"></li></ul></div><div class="qrcode__content--holder selectDisable text-center d-none"><img id="qr_code" src="#" alt="QRCode"></div></div></div></section><script src="js/popup.js"></script></body></html>

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=138)}({138:function(e,t,n){n(139),e.exports=n(140)},139:function(e,t){document.addEventListener("DOMContentLoaded",function(){chrome.storage.local.get(["key"],function(e){var t="".concat(e.key);document.getElementById("api__key--value").value="undefined"===t?"":t})}),document.getElementById("button__submit").addEventListener("click",function(){var e=document.getElementById("api__key--value").value;chrome.storage.local.set({key:e},function(){console.log("Value is set to "+e)})}),document.getElementById("button__submit").addEventListener("click",function(){var e=document.querySelector(".saved__alert");e.classList.toggle("v-none"),setTimeout(function(){e.classList.toggle("v-none")},1300)})},140:function(e,t){e.exports="../options.css"}});

View File

@@ -1 +0,0 @@
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=141)}({141:function(e,t,n){n(142),e.exports=n(143)},142:function(e,t){var n;document.addEventListener("DOMContentLoaded",function(){function e(e){document.querySelector(e).classList.toggle("d-none")}chrome.tabs.query({active:!0,lastFocusedWindow:!0},function(t){var o,r,c;o=t[0].url,r=o.substr(0,6),chrome.storage.local.get(["key"],function(t){c=t.key,"chrome"!==r&&""!==c&&void 0!==c?chrome.runtime.sendMessage({msg:"start",API_key:"".concat(c),pageUrl:"".concat(o)},function(t){"undefined"===(n=t.shortUrl)?document.getElementById("url__content-inner").textContent="API Error!!":(document.getElementById("url__content-inner").textContent=n,document.getElementById("qr_code").src="".concat("https://api.qrserver.com/v1/create-qr-code/?size=120x120&data=").concat(n),e(".buttons__content--holder"))}):document.getElementById("url__content-inner").textContent="chrome"===r?"Not a Valid URL!!":""===c||void 0===c?"Set API Key in Settings!":"Error!!!"})}),document.getElementById("button__copy").addEventListener("click",function(){try{var t="".concat(n),o=document.createElement("textarea");document.body.appendChild(o),o.value=t,o.focus(),o.select(),document.execCommand("copy"),o.remove(),e(".copy__alert"),setTimeout(function(){e(".copy__alert")},1300)}catch(e){console.log("Oops, unable to copy")}}),document.getElementById("button__details").addEventListener("click",function(){window.open("".concat(n,"+"),"_blank").focus()}),document.getElementById("button__qrcode").addEventListener("click",function(){e(".qrcode__content--holder")})})},143:function(e,t){e.exports="../popup.css"}});

View File

@@ -1,28 +0,0 @@
{
"name": "kuttUrl - Shorten URLs",
"version": "0.2.0",
"description": "URL Shortener",
"background": {
"scripts": ["js/background.js"],
"persistent": false
},
"permissions": ["tabs", "storage", "clipboardWrite", "clipboardRead"],
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
"manifest_version": 2,
"browser_action": {
"default_popup": "popup.html",
"default_icon": {
"16": "assets/favicon-16.png",
"32": "assets/favicon-32.png",
"48": "assets/favicon-48.png",
"128": "assets/favicon-128.png"
}
},
"options_page": "options.html",
"icons": {
"16": "assets/favicon-16.png",
"32": "assets/favicon-32.png",
"48": "assets/favicon-48.png",
"128": "assets/favicon-128.png"
}
}

BIN
opera.zip Normal file

Binary file not shown.

1
opera/assets/copy.svg Normal file
View File

@@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="far" data-icon="copy" class="svg-inline--fa fa-copy fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="#888" d="M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v-48h80c26.51 0 48-21.49 48-48V99.882a48 48 0 0 0-14.059-33.941zM266 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h74v224c0 26.51 21.49 48 48 48h96v42a6 6 0 0 1-6 6zm128-96H182a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h106v88c0 13.255 10.745 24 24 24h88v202a6 6 0 0 1-6 6zm6-256h-64V48h9.632c1.591 0 3.117.632 4.243 1.757l48.368 48.368a6 6 0 0 1 1.757 4.243V112z"></path></svg>

After

Width:  |  Height:  |  Size: 710 B

1
opera/assets/delete.svg Normal file
View File

@@ -0,0 +1 @@
<svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="trash-alt" class="svg-inline--fa fa-trash-alt fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="#888" d="M268 416h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12zM432 80h-82.41l-34-56.7A48 48 0 0 0 274.41 0H173.59a48 48 0 0 0-41.16 23.3L98.41 80H16A16 16 0 0 0 0 96v16a16 16 0 0 0 16 16h16v336a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128h16a16 16 0 0 0 16-16V96a16 16 0 0 0-16-16zM171.84 50.91A6 6 0 0 1 177 48h94a6 6 0 0 1 5.15 2.91L293.61 80H154.39zM368 464H80V128h288zm-212-48h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12z"></path></svg>

After

Width:  |  Height:  |  Size: 731 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

BIN
opera/assets/favicon-16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 984 B

BIN
opera/assets/favicon-32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
opera/assets/favicon-48.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

1
opera/assets/history.svg Normal file
View File

@@ -0,0 +1 @@
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="history" class="svg-inline--fa fa-history fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#444" d="M504 255.531c.253 136.64-111.18 248.372-247.82 248.468-59.015.042-113.223-20.53-155.822-54.911-11.077-8.94-11.905-25.541-1.839-35.607l11.267-11.267c8.609-8.609 22.353-9.551 31.891-1.984C173.062 425.135 212.781 440 256 440c101.705 0 184-82.311 184-184 0-101.705-82.311-184-184-184-48.814 0-93.149 18.969-126.068 49.932l50.754 50.754c10.08 10.08 2.941 27.314-11.313 27.314H24c-8.837 0-16-7.163-16-16V38.627c0-14.254 17.234-21.393 27.314-11.314l49.372 49.372C129.209 34.136 189.552 8 256 8c136.81 0 247.747 110.78 248 247.531zm-180.912 78.784l9.823-12.63c8.138-10.463 6.253-25.542-4.21-33.679L288 256.349V152c0-13.255-10.745-24-24-24h-16c-13.255 0-24 10.745-24 24v135.651l65.409 50.874c10.463 8.137 25.541 6.253 33.679-4.21z"></path></svg>

After

Width:  |  Height:  |  Size: 947 B

BIN
opera/assets/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

1
opera/assets/qrcode.svg Normal file
View File

@@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="qrcode" class="svg-inline--fa fa-qrcode fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="#888" d="M0 224h192V32H0v192zM64 96h64v64H64V96zm192-64v192h192V32H256zm128 128h-64V96h64v64zM0 480h192V288H0v192zm64-128h64v64H64v-64zm352-64h32v128h-96v-32h-32v96h-64V288h96v32h64v-32zm0 160h32v32h-32v-32zm-64 0h32v32h-32v-32z"></path></svg>

After

Width:  |  Height:  |  Size: 425 B

View File

@@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="cog" class="svg-inline--fa fa-cog fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#444" d="M444.788 291.1l42.616 24.599c4.867 2.809 7.126 8.618 5.459 13.985-11.07 35.642-29.97 67.842-54.689 94.586a12.016 12.016 0 0 1-14.832 2.254l-42.584-24.595a191.577 191.577 0 0 1-60.759 35.13v49.182a12.01 12.01 0 0 1-9.377 11.718c-34.956 7.85-72.499 8.256-109.219.007-5.49-1.233-9.403-6.096-9.403-11.723v-49.184a191.555 191.555 0 0 1-60.759-35.13l-42.584 24.595a12.016 12.016 0 0 1-14.832-2.254c-24.718-26.744-43.619-58.944-54.689-94.586-1.667-5.366.592-11.175 5.459-13.985L67.212 291.1a193.48 193.48 0 0 1 0-70.199l-42.616-24.599c-4.867-2.809-7.126-8.618-5.459-13.985 11.07-35.642 29.97-67.842 54.689-94.586a12.016 12.016 0 0 1 14.832-2.254l42.584 24.595a191.577 191.577 0 0 1 60.759-35.13V25.759a12.01 12.01 0 0 1 9.377-11.718c34.956-7.85 72.499-8.256 109.219-.007 5.49 1.233 9.403 6.096 9.403 11.723v49.184a191.555 191.555 0 0 1 60.759 35.13l42.584-24.595a12.016 12.016 0 0 1 14.832 2.254c24.718 26.744 43.619 58.944 54.689 94.586 1.667 5.366-.592 11.175-5.459 13.985L444.788 220.9a193.485 193.485 0 0 1 0 70.2zM336 256c0-44.112-35.888-80-80-80s-80 35.888-80 80 35.888 80 80 80 80-35.888 80-80z"></path></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

1
opera/css/history.css Normal file

File diff suppressed because one or more lines are too long

1
opera/css/options.css Normal file

File diff suppressed because one or more lines are too long

1
opera/css/popup.css Normal file
View File

@@ -0,0 +1 @@
@import url(https://fonts.googleapis.com/css?family=Nunito:400,600);*,:after,:before{box-sizing:border-box}:focus{outline:0}ol,ul{list-style-type:none}*{margin:0;padding:0;border:0;outline:0}body{overflow-x:hidden}a:link{text-decoration:none}.d-none{display:none!important}.v-none{visibility:hidden!important}.text-center{text-align:center}.mt-3{margin-top:3em}.mb-2{margin-bottom:2em}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif}.icon__img{width:12px;height:12px}.switch{height:23px;width:49px;margin-right:10px;float:right;position:relative}.switch input{display:none}.switch input:checked+.slider{background-color:#2979ff}.switch input:checked+.slider:before{-webkit-transform:translateX(26px);transform:translateX(26px)}.switch .slider{background-color:#ccc;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.switch .slider:before{height:15px;width:15px;background-color:#fff;bottom:4px;content:"";left:4px;position:absolute;transition:.4s}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}body{color:#111}#home{min-width:340px}#home .container{padding:10px}#home .container .header{display:flex;align-items:center;justify-content:space-between;line-height:1}#home .container .header .main__list--holder .list__button{display:inline-block;margin-right:11px}#home .container .content__holder .url__content--holder{display:flex;align-items:center;justify-content:center;margin:1.5em 0}#home .container .content__holder .url__content--holder .url__content--url{display:flex;align-items:center}#home .container .content__holder .url__content--holder .url__content--url #url__content-inner{margin:0;font-size:20px;line-height:1;color:#333;font-weight:600;letter-spacing:.03em}#home .container .content__holder .url__content--holder .url__content--url #copy__alert{position:absolute;margin-top:3.6em;top:0;color:green;font-size:11px}#home .container .content__holder .url__content--holder .buttons__content--holder{display:flex;align-items:center;padding:0;margin:0 0 0 16px}#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder{cursor:pointer;display:flex;align-items:center;justify-content:center;width:28px;height:28px;margin:0 6px;border-radius:100%;box-shadow:0 2px 4px hsla(0,0%,39.2%,.1);background-color:#dedede}#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder #button__copy,#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder #button__qrcode,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder #button__copy,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder #button__qrcode{width:13px;height:13px}

1
opera/history.html Normal file
View File

@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>History: Kutt</title><link rel="stylesheet" href="css/history.css"></head><body><section id="history"><div class="container history__content--holder"><div class="table__content--holder"><h2 class="table__content--title">Recent shortened links. (last 10 results)</h2><table class="table__content--wrapper" id="URL_table"><thead class="table__content--head"><tr class="table__head--holder"><th class="table__head--longURL">Original URL</th><th class="table__head--shortURL">Short URL</th><th class="table__head--clearAll"><ul class="table__list--clearAll"><li class="table__listItem--clear"><button class="table__clearAll--btn" id="table__clearAll--btn">Clear All <img class="selectDisable icon__img" src="assets/delete.svg" alt="Clear All"></button></li></ul></th></tr></thead><tbody class="table__content--body" id="delegation__element"></tbody></table></div></div></section><script src="js/history.js"></script></body></html>

8
opera/js/background.js Normal file

File diff suppressed because one or more lines are too long

1
opera/js/history.js Normal file

File diff suppressed because one or more lines are too long

1
opera/js/options.js Normal file

File diff suppressed because one or more lines are too long

1
opera/js/popup.js Normal file

File diff suppressed because one or more lines are too long

40
opera/manifest.json Normal file
View File

@@ -0,0 +1,40 @@
{
"manifest_version": 2,
"name": "Kutt",
"version": "1.1.0",
"description": "URL Shortener",
"developer": {
"name": "abhijithvijayan"
},
"icons": {
"16": "assets/favicon-16.png",
"32": "assets/favicon-32.png",
"48": "assets/favicon-48.png",
"128": "assets/favicon-128.png"
},
"browser_action": {
"default_popup": "popup.html",
"default_icon": {
"16": "assets/favicon-16.png",
"32": "assets/favicon-32.png",
"48": "assets/favicon-48.png",
"128": "assets/favicon-128.png"
},
"default_title": "Kutt",
"chrome_style": false
},
"background": {
"persistent": false,
"scripts": ["js/background.js"]
},
"homepage_url": "https://github.com/abhijithvijayan/kutt-extension",
"minimum_opera_version": "36",
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
"options_page": "options.html",
"options_ui": {
"page": "options.html",
"open_in_tab": true
},
"permissions": ["tabs", "storage", "clipboardRead", "https://kutt.it/*/*"],
"short_name": "Kutt"
}

1
opera/options.html Normal file
View File

@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>Options: Kutt</title><link rel="stylesheet" href="css/options.css"></head><body><section id="options"><div class="container options__content--holder"><div class="head__content--holder text-center"><img class="head__content--logo" src="assets/logo.png"> <a class="head__content--title" href="https://kutt.it" target="_blank" rel="noopener">Kutt.it</a></div><div class="form__content--holder"><form class="form__content"><label class="api__key--label">API Key: <a class="api__label--Qmark" target="_blank" rel="noopener" href="https://kutt.it/login">? <span class="api__label--tooltiptext text-center">Generate key from Kutt.it&nbsp;Website<br>(Settings Page)</span></a></label> <input class="api__key--holder" id="api__key--value" type="password" spellcheck="false"><div><label class="password--label">Set Password <span class="password__label--optional">? <span class="password__label--tooltiptext text-center">Set Password for the Shortened URLs.<br>(20 Char. Max)</span></span></label> <label class="switch" id="password__label--switch" for="password__label--checkbox"><input type="checkbox" id="password__label--checkbox"><div class="slider round"></div></label></div><div class="mb-2 d-none" id="pwd__holder"><input class="password--holder" id="password--value" type="password" maxlength="20" spellcheck="false"> <span class="view__password--eye" id="view__password--eye">SHOW</span></div><div><label class="copy--label">Auto Copy Kutt URL</label> <label class="switch" id="autocopy__label--switch" for="autocopy__label--checkbox"><input type="checkbox" id="autocopy__label--checkbox"><div class="slider round"></div></label></div><div><label class="copy--label">Keep History</label> <label class="switch" id="history__label--switch" for="history__label--checkbox"><input type="checkbox" id="history__label--checkbox"><div class="slider round"></div></label></div><button class="button__submit" id="button__submit" type="button">Save</button></form></div><div class="footer__text--holder text-center">Made with ❤️ on <a class="github__repo--link" href="https://github.com/abhijithvijayan/kutt-extension" target="_blank" rel="noopener">GitHub</a></div></div></section><script src="js/options.js"></script></body></html>

1
opera/popup.html Normal file
View File

@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>Kutt</title><link rel="stylesheet" href="css/popup.css"></head><body><section id="home"><div class="container"><header class="header"><div class="main__logo--holder"><img style="width: 22px; height: 22px;" class="main__logo selectDisable" src="assets/logo.png"></div><div class="main__list--holder"><a class="list__button" href="options.html" target="_blank" rel="noopener" title="Options"><img style="width: 16px; height: 16px;" class="button__icon selectDisable" src="assets/settings.svg"></a><a class="list__button" href="history.html" target="_blank" rel="noopener" title="History"><img style="width: 16px; height: 16px;" class="button__icon selectDisable" src="assets/history.svg"></a></div></header><div class="content__holder"><div class="url__content--holder text-center"><div class="url__content--url"><div class="v-none" id="copy__alert">Copied to clipboard!</div><h4 id="url__content-inner">Shortening...</h4></div><ul class="buttons__content--holder d-none"><li class="copy__content--holder" id="button__copy--holder" title="Copy"><img style="width: 13px; height: 13px;" id="button__copy" class="selectDisable" src="assets/copy.svg" alt="copy"></li><li class="qrbtn__content--holder" id="button__qrcode--holder" title="QR code"><img style="width: 13px; height: 13px;" id="button__qrcode" class="selectDisable" src="assets/qrcode.svg" alt="QR Code"></li></ul></div><div class="qrcode__content--holder selectDisable text-center d-none"><img id="qr_code" src="#" alt="QRCode"></div></div></div></section><script src="js/popup.js"></script></body></html>

View File

@@ -1,31 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Options : kuttUrl</title>
<link rel="stylesheet" href="css/options.css" />
</head>
<body>
<section id="options">
<div class="container options__content--holder">
<div class="head__content--holder">
<img class="head__content--logo" src="assets/logo.png" />
<h2 class="head__content--title">kuttUrl</h2>
</div>
<div class="form__content--holder">
<form class="form__content">
<label class="api__key--label">API Key:</label>
<input class="api__key--holder" id="api__key--value" type="text" />
<br>
<label class="saved__alert v-none">Saved!!</label>
<button class="button__submit" id="button__submit" type="button">Save</button>
</form>
</div>
</div>
</section>
<script src="js/options.js"></script>
</body>
</html>

View File

@@ -1,53 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>kuttUrl</title>
<link rel="stylesheet" href="css/popup.css" />
</head>
<body>
<section id="home">
<div class="container">
<nav class="navbar">
<ul class="navbar__main">
<li class="logo__content--holder">
<img class="main__logo" src="assets/logo.png">
</li>
<li class="github__content-holder">
<a href="https://github.com/abhijithvijayan/kuttUrl-Chrome/" target="_blank" rel="noopener" title="GitHub">
<img class="github__logo" src="assets/github.svg"></a>
</li>
<li class="options__content-holder" id="options__content-holder" title="Options">
<a href="options.html" target="_blank" rel="noopener">
<img class="settings__logo" src="assets/settings.svg"></a>
</li>
</ul>
</nav>
<div class="content__holder">
<div class="url__content--holder">
<h4 id="url__content-inner">Shortening...</h4>
</div>
<ul class="buttons__content--holder d-none">
<li class="copy__content--holder">
<img id="button__copy" src="assets/copy.svg" alt="copy" title="Copy"/>
</li>
<li class="details__content--holder">
<img id="button__details" src="assets/arrow.svg" alt="copy" title="Details" />
</li>
<li class="qrbtn__content--holder">
<img id="button__qrcode" src="assets/qrcode.svg" alt="copy" title="QR code" />
</li>
</ul>
<p class="copy__alert d-none">Copied!!!</p>
<div class="qrcode__content--holder d-none">
<img id="qr_code" src="#" alt="QRCode" />
</div>
</div>
</div>
</section>
<script src="js/popup.js"></script>
</body>
</html>