Link iCalendar files with the webcal:// protocol
This commit is contained in:
@@ -61,6 +61,12 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
[...document.querySelectorAll(".link a")].forEach(link => {
|
||||||
|
if (link.href.endsWith(".ics")) {
|
||||||
|
link.href = link.href.replace(/https?/, "webcal");
|
||||||
|
}
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user