This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html><head></head><body><div id=":3oe" class="a3s aiL "> | |
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center"> | |
<tbody> | |
<tr> | |
<td align="center"> | |
<table cellspacing="0" cellpadding="0" border="0" width="600" align="center"> | |
<tbody> | |
<tr> | |
<td> | |
<table style="background-color:#ffffff" cellspacing="0" cellpadding="0" bgcolor="#ffffff" width="100%"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log('running finder') | |
var allElements = document.querySelectorAll('*') | |
var documentBody = document.querySelector('body'); | |
var isLocked = false; | |
allElements.forEach(element => { | |
initialBackgroundColor = element.style.backgroundColor; | |
initialOverflow = element.style.overflow; | |
if(element.tagName !== 'HTML') { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var osa = require('osa2'); | |
var fs = require('fs'); | |
var chokidar = require('chokidar'); | |
var watcher = chokidar.watch('/Users/rup/Desktop/trolls', { | |
ignored: /(^|[\/\\])\../, | |
ignoreInitial: true, | |
persistent: true, | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
Little background story: | |
One day before going to a brunch party, my girlfriend got an email from her employer with a bunch of screenshots of | |
instagram/n influencer accounts. They asked that she put their names, websites, emails and other relevant info in a | |
spreadsheet. There were hundreds of accounts and this would have taken her at least a full day - ruining our party plans. | |
So I wrote this script to do it for her - I researched packages on the spot and was amazed at how easy it was to find node |