Skip to content

Usual noise

Matti Schneider edited this page Dec 6, 2022 · 7 revisions

Email address obfuscation

Some services use services such as Cloudflare Email Address Obfuscation to help in spam prevention by hiding email addresses from harvesters and others bots while remaining visible to the site visitors.

If we don't wait until the document is loaded and scripts are executed we can record the following type of blink.

Example of recorded blink

HTML file

<a href="mailto:dpo.airmalta@airmalta.com">dpo.airmalta@airmalta.com</a>

Recorded blink on Markdown file

Two successive versions of Markdown recorded versions:

[dpo.a\[email protected\]](https://airmalta.com/cdn-cgi/l/email-protection#removed).
[\[email protected\]](https://airmalta.com/cdn-cgi/l/email-protection#removed).

Wished Markdown file

[\[email protected\]](https://airmalta.com/cdn-cgi/l/email-protection#removed).

Solution

Add executeClientScript: true in your declaration file.

{
  "name": "Air Malta",
  "documents": {
    "Privacy Policy": {
      "fetch": "...",
      "select": "...",
      "remove": "...",
      "executeClientScript": true
    }
  }
}

Language links

Language links are irrelevant and are likely to change

Examples

Blinking relative dates

Some services will generate relative dates, such as “last modified 23 days ago”. Obviously, these change frequently.

They should be replaced by an absolute date. Most of the time, this absolute date is available as an attribute of the HTML element and you can replace its contents with a filter.

Query parameters changes

Examples

Whitespaces changes

Empty lines that are added or removed.

Examples