mirror of
https://github.com/LukeSmithxyz/based.cooking.git
synced 2025-03-13 05:15:22 +00:00
Add Javascript Weblabels for search
This commit makes based.cooking's search compatible with GNU LibreJS
This commit is contained in:
parent
fd8733ca24
commit
e8c93d0f4d
@ -13,6 +13,8 @@ description: 'The fast-loading recipe site with cooking only and no ads.'
|
||||
</div>
|
||||
|
||||
<script>
|
||||
// @license magnet:?xt=urn:btih:5ac446d35272cc2e4e85e4325b146d0b7ca8f50c&dn=unlicense.txt Unlicense
|
||||
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
for (e of document.getElementsByClassName("js-only")) {
|
||||
e.classList.remove("js-only")
|
||||
@ -54,6 +56,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
artlist.classList.remove('list-searched') ;
|
||||
})
|
||||
})
|
||||
// @license-end
|
||||
</script>
|
||||
|
||||
{{< artlist >}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user