Skip to content

Instantly share code, notes, and snippets.

View catherineriver's full-sized avatar
➡️

Ekaterina Baliasnikova catherineriver

➡️
View GitHub Profile
# To remove only some text on a content
@remove: //p[self::p/strong[contains(text(), "Articles liés")]]
@remove: //iframe[contains(@src,"https://urlsomething")]
# To deal with fucking error of <img> is not supported in blabla
@before_el(./..): //a/img
@before_el(./..): //p/img
@catherineriver
catherineriver / README.md
Created September 18, 2020 09:45 — forked from joyrexus/README.md
RAF replacements for setTimeout and setInterval

Drop in replace functions for setTimeout and setInterval that make use of requestAnimationFrame.

See overview article and Paul Irish's earlier post.

Courtesty of Joe Lambert

Copyright 2011, Joe Lambert.
Free to use under the MIT license.
http://www.opensource.org/licenses/mit-license.php