Skip to content

Instantly share code, notes, and snippets.

@yokrysty
yokrysty / AntiAntiAdBlockerUStream.user.js
Last active April 2, 2021 22:44
anti anti ad block on ustream.to
// ==UserScript==
// @name AntiAntiAdBlockerUStream
// @namespace http://tampermonkey.net/
// @version 0.1.1
// @description anti anti ad block on ustream.to
// @author krysty
// @grant none
// @include https://beef1999.blogspot.com/*
// @run-at document-start
// @updateURL https://gist.github.com/yokrysty/4e2205c6fd48ef89ff3f9fd6bad4a330/raw/cbe2b521e775440c663e425641b486cf5172c457/AntiAntiAdBlockerUStream.user.js
@yokrysty
yokrysty / AntiAntiAdBlockProTvPlusPlayer.user.js
Last active October 6, 2021 02:48
Tampermonkey script: anti anti ad block in protv plus player
// ==UserScript==
// @name AntiAntiAdBlockProTvPlusPlayer
// @namespace http://tampermonkey.net/
// @version 0.2
// @description anti anti ad block in protv plus player
// @author krysty
// @grant none
// @include https://protvplus.ro/*
// @include https://media.cms.protvplus.ro/*
// @include https://imasdk.googleapis.com/js/core/bridge*.html
@yokrysty
yokrysty / fap_titans_cheat.js
Last active March 23, 2024 01:18
cheat in a dumb game: FAP Titans
// bootstrap script
(function (window) {
function findModuleKeyByExports(modules, predicateFunc) {
return Object.keys(modules).find(k => predicateFunc(modules[k].exports));
}
const id = window['_t'] = (new Date()).getTime();
window.webpackJsonp(
[id],
{
0: function(module, exports, require) {
@yokrysty
yokrysty / gen_cid.py
Created March 27, 2020 22:56
RO Health Card CID from CNP
import hmac
import hashlib
def gen_cid(cnp):
return '40' + str(int(hmac.new(
hashlib.sha256('CID'.encode()).digest(),
cnp.encode(),
hashlib.sha256
).hexdigest()[:16], 16))[:-2]