Add monday as service ()

* 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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,
},
}