Add monday as service

This commit is contained in:
markusNahketing 2020-08-04 13:09:56 +02:00
parent dcef794fe4
commit 55d12be7ae

@ -161,4 +161,18 @@ export default {
},
allowHostOverride: true,
},
monday: {
name: "monday",
host: "https://nahketing.monday.com",
urlPatterns: [
":host:/boards/:board/pulses/:task",
],
description: (document, service, { id }) => {
const title = document.querySelector('.multiline-ellipsis-component')?.textContent?.trim();
const url = document.location.href;
return `${title || ""} ${url}`
},
allowHostOverride: false,
},
}