replace is not supported by the Node engine. |
replace(<sel>, <url>)
Replace the page element (usually a <div>) with the element selected by <sel> with content given by the URL.
replace("#foo", "http://apps.kynetx.com/") |
The following ruleset shows replace() being used
ruleset a1299x181 { meta { name "Replace Example" author "nathan cerny" logging off } dispatch { // domain "exampley.com" } rule replace_with_example is active { select using ".*" setting () replace("#replace", "http://apps.kynetx.com/"); } } |
The following demonstrates the preceding rule: