Skip to content

Instantly share code, notes, and snippets.

View towerofnix's full-sized avatar
🏳️‍⚧️
𝄞‍ — keeping busy's more fun in good company

(quasar) nebula towerofnix

🏳️‍⚧️
𝄞‍ — keeping busy's more fun in good company
View GitHub Profile
var fcc=String.fromCharCode;var a=(([] + [])/([]/[])).toString() + "\x61\x6C\x61\x6E\x27";var b=!([] + ![])[!{}/[]/{}] + "\x20\x68\x34\x78\x6F\x72\x73";var c=(typeof [[(([] + [])/([]/[]))-2][0]][undefined]);var out=fcc(c[0].charCodeAt(0)-11).toUpperCase()+c[0]+fcc(c[1].charCodeAt(0)+5)+b[0];out=out+b[4]+a[1].toLowerCase()+a[0].toLowerCase()+b[8]+fcc(c[4].charCodeAt(0)+14)+b[5]+c[3]+b[9],out=out+b[4]+fcc(c[0].charCodeAt(0)-11).toUpperCase()+a[1]+fcc(Math.pow(10,2)+18)+a[1]+b[10].toUpperCase()+fcc(Math.pow(9,2)+18)+b[9]+c[5]+fcc(Math.pow(12,2)-32)+b[0],out=out+b[4]+b[5]+b[6]+b[7]+b[8]+b[9],alert(out);
// ==UserScript==
// @name Comment Sentiment
// @namespace http://joshuapullen.com/
// @version 0.1
// @description Colors comments based on whether they are mostly positive of negative
// @author Josh Pullen
// @match https://scratch.mit.edu/projects/*
// @match https://scratch.mit.edu/users/*
// @match http://scratch.mit.edu/projects/*
// @match http://scratch.mit.edu/users/*