Add selector for current user ID

pull/73/head
MillenniumEarl 2021-03-03 11:32:37 +01:00
parent e3446ba096
commit 3a41426207
1 changed files with 8 additions and 0 deletions

View File

@ -23,6 +23,14 @@ export const selectors = {
BK_TIME: "div.contentRow-minor > * time",
};
export const GENERIC = {
/**
* The ID of the user currently logged into
* the platform in the attribute `data-user-id`.
*/
CURRENT_USER_ID: "span.avatar[data-user-id]",
}
export const WATCHED_THREAD = {
/**
* List of elements containing the data of the watched threads.