Compare commits

...

28 Commits
0.6.1 ... 1.0.1

Author SHA1 Message Date
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
48 changed files with 44 additions and 38 deletions

Binary file not shown.

View File

@@ -1 +0,0 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="chart-line" class="svg-inline--fa fa-chart-line fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#888" d="M496 384H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM464 96H345.94c-21.38 0-32.09 25.85-16.97 40.97l32.4 32.4L288 242.75l-73.37-73.37c-12.5-12.5-32.76-12.5-45.25 0l-68.69 68.69c-6.25 6.25-6.25 16.38 0 22.63l22.62 22.62c6.25 6.25 16.38 6.25 22.63 0L192 237.25l73.37 73.37c12.5 12.5 32.76 12.5 45.25 0l96-96 32.4 32.4c15.12 15.12 40.97 4.41 40.97-16.97V112c.01-8.84-7.15-16-15.99-16z"></path></svg>

Before

Width:  |  Height:  |  Size: 680 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

@@ -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 fill="#444" 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

@@ -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

1
chrome/css/history.css Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +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}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-o-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif;color:#111}#home{min-width:340px}#home .container{padding:10px}#home .container .navbar .navbar__main{margin:0;padding-left:0}#home .container .navbar .navbar__main li{display:inline-block;justify-content:center;align-items:center}#home .container .navbar .navbar__main .logo__content--holder .main__logo{width:22px;height:22px}#home .container .navbar .navbar__main .options__content-holder{float:right;padding:0 10px}#home .container .navbar .navbar__main .options__content-holder .settings__logo{width:16px;height:16px}#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-inner{margin:0;font-size:20px;color:#333;font-weight:600}#home .container .content__holder .buttons__content--holder{display:flex;align-items:center;padding:0;margin:0 0 0 16px}#home .container .content__holder .buttons__content--holder .copy__content--holder,#home .container .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 .buttons__content--holder .copy__content--holder #button__copy,#home .container .content__holder .buttons__content--holder .copy__content--holder #button__qrcode,#home .container .content__holder .buttons__content--holder .qrbtn__content--holder #button__copy,#home .container .content__holder .buttons__content--holder .qrbtn__content--holder #button__qrcode{width:13px;height:13px}#home .container .content__holder .copy__alert{margin:8px 0 1px}
@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__logo--holder .main__logo{width:22px;height:22px}#home .container .header .main__list--holder .list__button{display:inline-block;margin-right:10px}#home .container .header .main__list--holder .list__button .button__icon{width:16px;height:16px}#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>

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Kutt",
"version": "0.6.1",
"version": "1.0.1",
"description": "URL Shortener",
"icons": {
"16": "assets/favicon-16.png",
@@ -28,7 +28,7 @@
]
},
"homepage_url": "https://github.com/abhijithvijayan/kutt-extension",
"minimum_chrome_version": "55.0.2883",
"minimum_chrome_version": "49",
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
"options_page": "options.html",
"options_ui": {

View File

@@ -1 +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 from Kutt.it (Settings Page)</span></a></label> <input class="api__key--holder" id="api__key--value" type="password" spellcheck="false"><br><label class="password--label">Set Password <span class="password__label--optional">(Optional): <span class="password__label--tooltiptext text-center">Set Password for the Shortened URLs.<br>(20 Char. Max)</span></span></label> <input class="password--holder" id="password--value" type="password" maxlength="20"><div class="password__check--holder"><input type="checkbox" id="password__view--checkbox"> <span class="password__view--title">Show Password</span></div><br><button class="button__submit" id="button__submit" type="button">Save</button> <label class="saved__alert v-none">Saved!!</label></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>
<!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>

View File

@@ -1 +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"><nav class="navbar"><ul class="navbar__main"><li class="logo__content--holder"><img class="main__logo selectDisable" src="assets/logo.png"></li><li class="options__content-holder" id="options__content-holder" title="Options"><a href="options.html" target="_blank" rel="noopener"><img class="settings__logo selectDisable" src="assets/settings.svg"></a></li></ul></nav><div class="content__holder"><div class="url__content--holder text-center"><h4 id="url__content-inner">Shortening...</h4><ul class="buttons__content--holder d-none"><li class="copy__content--holder" id="button__copy--holder" title="Copy"><img 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 id="button__qrcode" class="selectDisable" src="assets/qrcode.svg" alt="QR Code"></li></ul></div><p class="copy__alert text-center d-none">Copied!!!</p><div class="qrcode__content--holder text-center d-none"><img id="qr_code" src="#" alt="QRCode"></div></div></div></section><script src="js/popup.js"></script></body></html>
<!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 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 class="button__icon selectDisable" src="assets/settings.svg"></a><a class="list__button" href="history.html" target="_blank" rel="noopener" title="History"><img 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 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 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>

Binary file not shown.

View File

@@ -1 +0,0 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="chart-line" class="svg-inline--fa fa-chart-line fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#888" d="M496 384H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM464 96H345.94c-21.38 0-32.09 25.85-16.97 40.97l32.4 32.4L288 242.75l-73.37-73.37c-12.5-12.5-32.76-12.5-45.25 0l-68.69 68.69c-6.25 6.25-6.25 16.38 0 22.63l22.62 22.62c6.25 6.25 16.38 6.25 22.63 0L192 237.25l73.37 73.37c12.5 12.5 32.76 12.5 45.25 0l96-96 32.4 32.4c15.12 15.12 40.97 4.41 40.97-16.97V112c.01-8.84-7.15-16-15.99-16z"></path></svg>

Before

Width:  |  Height:  |  Size: 680 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

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 fill="#444" 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

@@ -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

1
firefox/css/history.css Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +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}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-o-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif;color:#111}#home{min-width:340px}#home .container{padding:10px}#home .container .navbar .navbar__main{margin:0;padding-left:0}#home .container .navbar .navbar__main li{display:inline-block;justify-content:center;align-items:center}#home .container .navbar .navbar__main .logo__content--holder .main__logo{width:22px;height:22px}#home .container .navbar .navbar__main .options__content-holder{float:right;padding:0 10px}#home .container .navbar .navbar__main .options__content-holder .settings__logo{width:16px;height:16px}#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-inner{margin:0;font-size:20px;color:#333;font-weight:600}#home .container .content__holder .buttons__content--holder{display:flex;align-items:center;padding:0;margin:0 0 0 16px}#home .container .content__holder .buttons__content--holder .copy__content--holder,#home .container .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 .buttons__content--holder .copy__content--holder #button__copy,#home .container .content__holder .buttons__content--holder .copy__content--holder #button__qrcode,#home .container .content__holder .buttons__content--holder .qrbtn__content--holder #button__copy,#home .container .content__holder .buttons__content--holder .qrbtn__content--holder #button__qrcode{width:13px;height:13px}#home .container .content__holder .copy__alert{margin:8px 0 1px}
@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__logo--holder .main__logo{width:22px;height:22px}#home .container .header .main__list--holder .list__button{display:inline-block;margin-right:10px}#home .container .header .main__list--holder .list__button .button__icon{width:16px;height:16px}#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>

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Kutt",
"version": "0.6.1",
"version": "1.0.1",
"browser_specific_settings": {
"gecko": {
"id": "support@kutt.it"

View File

@@ -1 +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 from Kutt.it (Settings Page)</span></a></label> <input class="api__key--holder" id="api__key--value" type="password" spellcheck="false"><br><label class="password--label">Set Password <span class="password__label--optional">(Optional): <span class="password__label--tooltiptext text-center">Set Password for the Shortened URLs.<br>(20 Char. Max)</span></span></label> <input class="password--holder" id="password--value" type="password" maxlength="20"><div class="password__check--holder"><input type="checkbox" id="password__view--checkbox"> <span class="password__view--title">Show Password</span></div><br><button class="button__submit" id="button__submit" type="button">Save</button> <label class="saved__alert v-none">Saved!!</label></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>
<!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>

View File

@@ -1 +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"><nav class="navbar"><ul class="navbar__main"><li class="logo__content--holder"><img class="main__logo selectDisable" src="assets/logo.png"></li><li class="options__content-holder" id="options__content-holder" title="Options"><a href="options.html" target="_blank" rel="noopener"><img class="settings__logo selectDisable" src="assets/settings.svg"></a></li></ul></nav><div class="content__holder"><div class="url__content--holder text-center"><h4 id="url__content-inner">Shortening...</h4><ul class="buttons__content--holder d-none"><li class="copy__content--holder" id="button__copy--holder" title="Copy"><img 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 id="button__qrcode" class="selectDisable" src="assets/qrcode.svg" alt="QR Code"></li></ul></div><p class="copy__alert text-center d-none">Copied!!!</p><div class="qrcode__content--holder text-center d-none"><img id="qr_code" src="#" alt="QRCode"></div></div></div></section><script src="js/popup.js"></script></body></html>
<!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 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 class="button__icon selectDisable" src="assets/settings.svg"></a><a class="list__button" href="history.html" target="_blank" rel="noopener" title="History"><img 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 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 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>

BIN
opera.zip

Binary file not shown.

View File

@@ -1 +0,0 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="chart-line" class="svg-inline--fa fa-chart-line fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#888" d="M496 384H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM464 96H345.94c-21.38 0-32.09 25.85-16.97 40.97l32.4 32.4L288 242.75l-73.37-73.37c-12.5-12.5-32.76-12.5-45.25 0l-68.69 68.69c-6.25 6.25-6.25 16.38 0 22.63l22.62 22.62c6.25 6.25 16.38 6.25 22.63 0L192 237.25l73.37 73.37c12.5 12.5 32.76 12.5 45.25 0l96-96 32.4 32.4c15.12 15.12 40.97 4.41 40.97-16.97V112c.01-8.84-7.15-16-15.99-16z"></path></svg>

Before

Width:  |  Height:  |  Size: 680 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

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 fill="#444" 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

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

1
opera/css/history.css Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +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}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-o-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif;color:#111}#home{min-width:340px}#home .container{padding:10px}#home .container .navbar .navbar__main{margin:0;padding-left:0}#home .container .navbar .navbar__main li{display:inline-block;justify-content:center;align-items:center}#home .container .navbar .navbar__main .logo__content--holder .main__logo{width:22px;height:22px}#home .container .navbar .navbar__main .options__content-holder{float:right;padding:0 10px}#home .container .navbar .navbar__main .options__content-holder .settings__logo{width:16px;height:16px}#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-inner{margin:0;font-size:20px;color:#333;font-weight:600}#home .container .content__holder .buttons__content--holder{display:flex;align-items:center;padding:0;margin:0 0 0 16px}#home .container .content__holder .buttons__content--holder .copy__content--holder,#home .container .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 .buttons__content--holder .copy__content--holder #button__copy,#home .container .content__holder .buttons__content--holder .copy__content--holder #button__qrcode,#home .container .content__holder .buttons__content--holder .qrbtn__content--holder #button__copy,#home .container .content__holder .buttons__content--holder .qrbtn__content--holder #button__qrcode{width:13px;height:13px}#home .container .content__holder .copy__alert{margin:8px 0 1px}
@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__logo--holder .main__logo{width:22px;height:22px}#home .container .header .main__list--holder .list__button{display:inline-block;margin-right:10px}#home .container .header .main__list--holder .list__button .button__icon{width:16px;height:16px}#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>

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Kutt",
"version": "0.6.1",
"version": "1.0.1",
"description": "URL Shortener",
"developer": {
"name": "abhijithvijayan"
@@ -30,7 +30,7 @@
]
},
"homepage_url": "https://github.com/abhijithvijayan/kutt-extension",
"minimum_opera_version": "42",
"minimum_opera_version": "36",
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
"options_page": "options.html",
"options_ui": {

View File

@@ -1 +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 from Kutt.it (Settings Page)</span></a></label> <input class="api__key--holder" id="api__key--value" type="password" spellcheck="false"><br><label class="password--label">Set Password <span class="password__label--optional">(Optional): <span class="password__label--tooltiptext text-center">Set Password for the Shortened URLs.<br>(20 Char. Max)</span></span></label> <input class="password--holder" id="password--value" type="password" maxlength="20"><div class="password__check--holder"><input type="checkbox" id="password__view--checkbox"> <span class="password__view--title">Show Password</span></div><br><button class="button__submit" id="button__submit" type="button">Save</button> <label class="saved__alert v-none">Saved!!</label></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>
<!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>

View File

@@ -1 +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"><nav class="navbar"><ul class="navbar__main"><li class="logo__content--holder"><img class="main__logo selectDisable" src="assets/logo.png"></li><li class="options__content-holder" id="options__content-holder" title="Options"><a href="options.html" target="_blank" rel="noopener"><img class="settings__logo selectDisable" src="assets/settings.svg"></a></li></ul></nav><div class="content__holder"><div class="url__content--holder text-center"><h4 id="url__content-inner">Shortening...</h4><ul class="buttons__content--holder d-none"><li class="copy__content--holder" id="button__copy--holder" title="Copy"><img 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 id="button__qrcode" class="selectDisable" src="assets/qrcode.svg" alt="QR Code"></li></ul></div><p class="copy__alert text-center d-none">Copied!!!</p><div class="qrcode__content--holder text-center d-none"><img id="qr_code" src="#" alt="QRCode"></div></div></div></section><script src="js/popup.js"></script></body></html>
<!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 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 class="button__icon selectDisable" src="assets/settings.svg"></a><a class="list__button" href="history.html" target="_blank" rel="noopener" title="History"><img 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 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 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>