diff --git a/README.md b/README.md index 153b3b8..1b33a4d 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Install `MW YTF` with yarn​: - [Credentials](https://start.1password.com/open/i?a=KBXK36HQOFATFGS55MUTEP54XM&h=matterway.1password.com&i=tcwoz4g7xxfyxmq46faeywn5i4&v=vyzebl4klpdt6t6ttafsctogze) - Steps to trigger: - - go to https://yetiforce.matterway.io/index.php + - go to https://yetiforce.matterway.io/index.php?module=Home&view=DashBoard ## Additional Notes​ diff --git a/src/manifest.json b/src/manifest.json index 5b0eec6..e6be288 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -13,5 +13,5 @@ "background_script": "background.js", "content_script": "content.js", "matcher_script": "matcher.js", - "urls": ["*/yetiforce.matterway.io/index.php*"] + "urls": ["*yetiforce.matterway.io/index.php?module=Home&view=DashBoard*"] } diff --git a/src/matcher.ts b/src/matcher.ts index 45f8859..15e2cb0 100644 --- a/src/matcher.ts +++ b/src/matcher.ts @@ -19,7 +19,8 @@ export default function matcher( return true; } - const triggerUrl = 'https://yetiforce.matterway.io/index'; + const triggerUrl = + 'https://yetiforce.matterway.io/index.php?module=Home&view=DashBoard'; const matcherResult = window.location.href.includes(triggerUrl) && skillEnv.tag === 'local';