Skip to content

Instantly share code, notes, and snippets.

Working on: twitch-chatbot


Working on: twitch-chatbot
View GitHub Profile
InsanityMeetsHH / email-encrypt-decrypt.phtml
Last active Jan 13, 2020
This is an email encrypt / decrypt extracted from TYPO3. It is useful to protecting your email against spam bots.
View email-encrypt-decrypt.phtml
$email = '';
$emailEncode = quoteJSvalue(encryptEmail($email, '-2'));
function quoteJSvalue($value) {
return strtr(
'"' => '\'',
InsanityMeetsHH / twitch-chest-auto-click.js
Last active Feb 12, 2020
This code collects automatically the channel points chest which pops up every 15 minutes.
View twitch-chest-auto-click.js
// open a twitch channel with channel points
// open chat or popout chat
// open inspector (Opera: CTRL + SHIFT + C, Chrome: CTRL + SHIFT + I, Firefox: F12)
// open console in tab
// copy / paste code + ENTER
// only works if you view a live stream. (just open chat is not enough)
var chestPoints = 0;
document.querySelector('.community-points-summary button').click();
You can’t perform that action at this time.