mirror of
https://github.com/LukeSmithxyz/based.cooking.git
synced 2025-01-22 00:31:43 +00:00
Add Javascript Weblabels for search (#798)
This commit makes based.cooking's search compatible with GNU LibreJS Co-authored-by: Arya Kiran <aryak@vern.cc>
This commit is contained in:
parent
fd8733ca24
commit
c194763386
@ -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