Home
Domenic edited this page Feb 15, 2024
·
13 revisions
English |
简体中文 |
繁體中文 |
Español |
Português |
Pусский |
日本語 |
Français |
Deutsch
Nederlands | Svenska | Suomi | Dansk | 한국어 | Italiano | Českina | Ελληνικά | עִבְרִית
Polski | Türkçe | Română | Magyar | Norsk | Українська | Indonesia | Việt | हिंदी | فارسی
Nederlands | Svenska | Suomi | Dansk | 한국어 | Italiano | Českina | Ελληνικά | עִבְרִית
Polski | Türkçe | Română | Magyar | Norsk | Українська | Indonesia | Việt | हिंदी | فارسی
URL modification rules in regular expression
Variable | Description |
---|---|
matchRegex | regular expression for matching original URLs |
replaceWith | regular expression for replacement |
Selector rules for the DOM elements needs updating for search engine results
Variable | Description |
---|---|
selector | selector for DOM element |
parentSelector | selector for parent of link element and text element |
linkNodeSelector | selector for link element under the the element specified by parentSelector
|
textNodeSelector | selector for text element under the the element specified by parentSelector
|
updateChildText | flag for whether to update the inner text of the child element specified by childSelector
|
childSelector | selector for child DOM element under the element specified by selector or textNodeSelector
|
updateTextWithoutOverwrite | flag for update the textnode without overwriting other nodes under the DOM element |
updateTextByOverwritecontainProtocol | flag for update the content by overwriting everything under the DOM elementflag for whether to contain protocol (e.g. https://) in the domain |
useTopLevelDomain | flag for whether to use the top-level domain when displaying URLs |
urlDisplayMethod | required, URL display method method 1: breadcrumb format method 2: full URL method 3: full URL without protocol |
multiElementsForUrlDisplay | flag for whether the displayed URL is separated into multiple DOM elements method 1: URL parts are scattered into parallel elements method 2: URL parts are scattered into non-parallel elements method 3: same as method 2, but update elements without clearing their original contents |
User-defined list of search engine domains
Variable | Description |
---|---|
hosts | search engine's domain |
resultContainerSelectors | optional, set search result container DOM, to narrow down the range of dynamic observation |
attribute | specify additional URL link attribute in <a> other than 'href' (e.g. 'data-target') no need to specify this if all the link attributes are 'href' |