From b699d46f1e10fb65b57a525c9f54701ceafa1478 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 1 May 2019 19:35:28 +0200 Subject: gmail_selectors.ts: Add new selectors for index and pager views --- src/gmail_selectors.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src') 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 -- cgit v1.2.3