Skip to content

Instantly share code, notes, and snippets.

@PhocaCz
PhocaCz / script.js
Last active December 25, 2018 14:33 — forked from SniperSister/script.js
PhocaFilterScript Vanilla JS
document.addEventListener("DOMContentLoaded", () => {
function filterOptionsQuote(str) {
return str.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&" );
};
document.getElementById("filterOptionsInput").addEventListener("input", (event) => {
let eV = event.currentTarget.value;