Add monday as service (#197)

* Add monday as service

* Replaced static subdomain with placeholder
This commit is contained in:
markusNahketing
2020-08-04 16:47:58 +02:00
committed by GitHub
parent f216e6c289
commit ec00637c5b

View File

@@ -161,4 +161,18 @@ export default {
},
allowHostOverride: true,
},
monday: {
name: "monday",
host: "https://:org.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,
},
}