chg: Implemented short link generation based on website's title

This commit is contained in:
SolninjaA committed 2025-01-23 15:38:08 +10:00
1 parent 2ea81e874d
commit ac3f0da0b9
5 files changed
+147 -17

No files matched your search

+16 -1
View File
@@ -57,7 +57,8 @@
flex-direction: column;
}
#message {
#message,
#message2 {
display: none;
}
@@ -135,6 +136,20 @@
</div>
<p class="note">Disabling all filters will allow a link to be created from any URL.</p>
<div class="settings checkbox">
<h2>URL generation</h2>
<label>
Create shortened links with the website's title
<input type="checkbox" id="generate-with-title">
</label>
<label id="title-word-limit-label">
Short URL word limit
<input type="input" id="title-word-limit">
<p class="note">Inputting "0" will remove the character limit</p>
</label>
<p id="message2" class="note">Inputted value is not a number.</p>
</div>
<script type="application/javascript" src="lib/browser-polyfill.min.js"></script>
<script type="application/javascript" src="options.js"></script>
</body>