Add selector for current user ID
parent
e3446ba096
commit
3a41426207
|
@ -23,6 +23,14 @@ export const selectors = {
|
||||||
BK_TIME: "div.contentRow-minor > * time",
|
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 = {
|
export const WATCHED_THREAD = {
|
||||||
/**
|
/**
|
||||||
* List of elements containing the data of the watched threads.
|
* List of elements containing the data of the watched threads.
|
||||||
|
|
Loading…
Reference in New Issue