Skip to content

Instantly share code, notes, and snippets.

arantius arantius

Block or report user

Report or block arantius

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@arantius
arantius / grant-none-shim.js
Last active Sep 8, 2019
Greasemonkey "@grant none" compatibility shim.
View grant-none-shim.js
/*
The MIT License (MIT)
Copyright (c) 2014 Anthony Lieuallen
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@nmaier
nmaier / httpreqrespobserver.js
Created Jan 18, 2012
http request/response observer template module
View httpreqrespobserver.js
/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
const EXPORTED_SYMBOLS = ['HttpRequestObserver'];
const {classes: Cc, interfaces: Ci, utils: Cu} = Components;
const module = Cu.import;
const error = Cu.reportError;
@arantius
arantius / api-tester.user.js
Last active Jun 3, 2017
General purpose Greasemonkey Tester
View api-tester.user.js
// ==UserScript==
// @name Greasemonkey Tester
// @name:en-US Greasemonkey Tester (en-US)
// @name:fr La Tester Sur Greasemonkey
// @namespace https://github.com/arantius
// @include http://localhost/infinite.php?*
// @match http://localhost/infinite.php*
// @exclude /.*0$/
// @resource R https://gist.github.com/arantius/1157543/raw/data.txt
// @icon http://icons.iconarchive.com/icons/chicho21net/jungle-bells/48/CocoDrilo-icon.png
@arantius
arantius / authors-karma-blocker-rules.ini
Last active Mar 22, 2017
The Karma Blocker rules used by the author
View authors-karma-blocker-rules.ini
# See: https://github.com/arantius/karma-blocker/wiki/Configuration
[Settings]
threshold=12
cutoff=18
collapse=false
[Group]
name="Personal sites whitelist"
score=-12
rule=$origin.host=='localhost'
@arantius
arantius / Karma_Blocker_Default_Rules.ini
Created Mar 7, 2011
The default rules for a Karma Blocker installation.
View Karma_Blocker_Default_Rules.ini
# This is a ruleset configuration for Karma Blocker. For more information, see:
# http://trac.arantius.com/wiki/Extensions/KarmaBlocker
# This default ruleset is intended to be demonstrative: making productive
# use of all the features that the Karma Blocker rule syntax provides. It
# should generally work, but it has intentionally not been tweaked to deal
# with the particulars of any given site. All rules here are intended to
# explain what can be done, and how it can be done, while remaining as
# generic as possible, with limited exceptions. You the user are expected
# to tweak and customize these rules.
You can’t perform that action at this time.