Skip to content

Instantly share code, notes, and snippets.

View Hexalyse's full-sized avatar

Hexalyse Hexalyse

View GitHub Profile
@Hexalyse
Hexalyse / facebook-ticker.js
Created March 24, 2017 12:37 — forked from zoran15/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');