Skip to content

Instantly share code, notes, and snippets.

View jhancock532's full-sized avatar
๐Ÿ˜„
Hello world!

James Hancock jhancock532

๐Ÿ˜„
Hello world!
View GitHub Profile
@jhancock532
jhancock532 / content-aggregation.js
Created October 18, 2020 16:26
Mozilla Firefox extension that visualises the ghost of the tweets we've scrolled past.
//Don't use HTML2Canvas as part of a browser extension. Just don't. Trust me.
//For more information, see the bottom of the FAQ's at http://html2canvas.hertzen.com/faq
setTimeout(function tick() {
let timelineContainers = document.querySelectorAll('[aria-label="Timeline: Your Home Timeline"]');
let tweets = timelineContainers[0].children[0].children;
let timeline = timelineContainers[0].children[0];
for (let i = 0; i < tweets.length; i++){
@jhancock532
jhancock532 / manifest.json
Last active October 16, 2020 09:36
Mozilla Firefox twitter extension that draws attention to your presense in reality as you scroll. Read the blog post at http://www.jameshancock.art/webcam-presence/
{
"manifest_version": 2,
"name": "Phasing Presence Twitter Extensino",
"version": "1.0",
"description": "A Twitter extension that draws attention to your presense in reality as you scroll.",
"icons": {
"48": "icons/icon-48.png",