2021-06-23 19:36:32 -07:00
|
|
|
|
2022-10-24 15:30:10 +02:00
|
|
|
export const HTML_TYPES = ["text/html", "application/xhtml", "application/xhtml+xml"];
|
2023-04-26 15:41:35 -07:00
|
|
|
export const WAIT_UNTIL_OPTS = ["load", "domcontentloaded", "networkidle0", "networkidle2"];
|
2022-10-24 15:30:10 +02:00
|
|
|
export const BEHAVIOR_LOG_FUNC = "__bx_log";
|
2023-09-15 10:12:08 -07:00
|
|
|
export const ADD_LINK_FUNC = "__bx_addLink";
|
2023-03-17 14:24:44 -07:00
|
|
|
export const MAX_DEPTH = 1000000;
|
2021-06-23 19:36:32 -07:00
|
|
|
|
2022-10-24 15:30:10 +02:00
|
|
|
export const DEFAULT_SELECTORS = [{
|
2021-07-23 18:31:43 -07:00
|
|
|
selector: "a[href]",
|
|
|
|
extract: "href",
|
|
|
|
isAttribute: false
|
|
|
|
}];
|
|
|
|
|