diff options
| author | Teddy Wing | 2019-05-01 19:35:28 +0200 |
|---|---|---|
| committer | Teddy Wing | 2019-05-01 19:35:28 +0200 |
| commit | b699d46f1e10fb65b57a525c9f54701ceafa1478 (patch) | |
| tree | 25ddb310c26157ad1da2a0d8180e3108eec3c91a | |
| parent | a53af133bc8ac5b72769307703e1ae1cfbcce99a (diff) | |
| download | muttagen-b699d46f1e10fb65b57a525c9f54701ceafa1478.tar.bz2 | |
gmail_selectors.ts: Add new selectors for index and pager views
| -rw-r--r-- | src/gmail_selectors.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gmail_selectors.ts b/src/gmail_selectors.ts index 70b91e1..63f1242 100644 --- a/src/gmail_selectors.ts +++ b/src/gmail_selectors.ts @@ -1,5 +1,17 @@ export type GmailCSSClass = string; +type GmailSelector = string; export const TOOLS_PANEL: GmailCSSClass = 'bAw'; export const SIDEBAR: GmailCSSClass = 'aeN'; export const MESSAGE_PAGER: GmailCSSClass = 'AO'; + +export const INDEX: GmailSelector = '.BltHke.nH.oy8Mbf[role="main"]'; +export const PAGER: GmailSelector = '.nH.g.id'; + + +// Index: +// .BltHke.nH.oy8Mbf[role="main"] +// +// Pager: +// .nH[role="main"] +// .nH.g.id |
