Skip to content

Instantly share code, notes, and snippets.

View Hexalyse's full-sized avatar

Hexalyse Hexalyse

View GitHub Profile
@zoran15
zoran15 / facebook-ticker.js
Last active June 19, 2017 14:57 — forked from kopiro/facebook-ticker.js
Filter Facebook ticker stories with a RegEx
(function() {
var filterName = new RegExp(prompt("Insert the regex"), 'i');
if (!filterName) {
return alert('Invalid regex');
}
var MAX_ITERATIONS = 500;
var $profileNode = document.querySelector('[data-testid="blue_bar_profile_link"] > span');
_ _ _ ____ _ _
| | | | __ _ ___| | __ | __ ) __ _ ___| | _| |
| |_| |/ _` |/ __| |/ / | _ \ / _` |/ __| |/ / |
| _ | (_| | (__| < | |_) | (_| | (__| <|_|
|_| |_|\__,_|\___|_|\_\ |____/ \__,_|\___|_|\_(_)
A DIY Guide