Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Coupang price trends
// @namespace seanl
// @description Attaches buttons that links to price trends page on coupang websites
// @version 1.0.1
// @license MIT
// @match https://www.coupang.com/*
// @grant unsafeWindow
// @run-at document-end
// ==/UserScript==
<script src="./stealth.js"></script>
<script src="./pb.js"></script>
@theseanl
theseanl / browser built-in popup blocker test.md
Created May 9, 2018 10:23
Browsers built-on popup blocker test

Browsers built-in popup blocker test

Case 1

document.onclick = () => { setTimeout(() => { open('about:blank') , 1000}) }
Browser result
Chrome X
@theseanl
theseanl / github-show-recent-updated-issues-by-default.user.js
Created December 7, 2017 09:01
github-show-recent-updated-issues-by-default.user.js
// ==UserScript==
// @name GitHub Show Recent Updated Issues By Default
// @namespace GitHub
// @description GitHub Show Recent Updated Issues By Default
// @match https://github.com/*
// @version 0.0.0
// @grant none
// @run-at document-body
// ==/UserScript==
This file has been truncated, but you can view the full file.
<details><pre>(function(){var $gwt_version = "2.6.1";var $wnd = window;var $doc = $wnd.document;var $moduleName, $moduleBase;var $strongName = 'FC055534F842A1E02F06658AD5B30FED';var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null;var $sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;$stats && $stats({moduleName:'PDK',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalStart'});PDK.installCode = function(code) { eval(code) };var __gwtModuleFunction = PDK;
function kd(){}
function Ld(){}
function Pg(){}
function gh(){}
function Jh(){}
function En(){}
function Nn(){}
function io(){}
function wo(){}
@theseanl
theseanl / replacefunctioncall.js
Last active March 15, 2021 05:57
Sandboxed eval
var esprima = require('esprima');
var escodegen = require('escodegen');
var estraverse = require('estraverse');
var comm = require('./comm.js');
var SandboxEval = require('./sandboxeval.js');
/* Temporary, syntax should be improved */
deobfuscator = (function(){
var fnLiterals = [], seval;
try {
var pv = 2
, rpn = Math.floor(1e3 * Math.random()) + 1;
if (rpn < pv) {
!function(e, t, n, r, i, a, o) {
e.GoogleAnalyticsObject = i,
e[i] = e[i] || function() {
(e[i].q = e[i].q || []).push(arguments)
}
,

In user interface, what users should see are two things: "What language is mostly used for websites you visit?", "What do you want to block?" Answers will be (English, Russian, Turkish) and (Ads, Social Widgets) etc.

Each filter rules will have two tags: Language and Function(?).

Language tags

common, common.eng, common.rus eng, rus, tur, ....

@theseanl
theseanl / README.md
Last active March 3, 2024 08:43
Collecting popup/popunder scripts.

Collecting popup/popunder scripts.

Obnoxious ones

  1. dai0eej.bid, found in http://www.nowvideo.li/video/81e35ec6727ee
  2. onclasrv.com, found in https://thehiddenbay.xyz/

Ordinary ones

  1. watchmygf.me, found in http://www.watchmygf.me/
@theseanl
theseanl / AdMaven.js
Last active September 14, 2017 06:30
Archiving fingerprinting scripts.
// Original source: http://dpiw925yvtpfq.cloudfront.net/Bbm9BN1BRGyhTbVhecQFkWg%3D%3D
// http://ad-maven.com/
(function() {
function m(b) {
function c(b) {
b = a(b, [0, b[0] >>> 1]);
b = g(b, [4283543511, 3981806797]);
b = a(b, [0, b[0] >>> 1]);
b = g(b, [3301882366, 444984403]);