javascript:(function (text, url='https://www.mangaupdates.com/search.html', formData={ search: 'null' }) {
formData.search=text;
const h = (tag, props) => Object.assign(document.createElement(tag), props);
const form = h('form', { action: url, method: 'post', hidden: true });
for (const [name, value] of Object.entries(formData)) {
form.appendChild(h('input', { name, value }));
}
document.body.appendChild(form);
form.submit();
})(`%s`)
Last active
October 15, 2021 15:50
-
-
Save Alistair1231/1288bf3f391f15b82b32fefe35f54300 to your computer and use it in GitHub Desktop.
mangaupdates.com search shortcut firefox
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment