Skip to content

Instantly share code, notes, and snippets.

@anfedorov
anfedorov / echoHttpRequest.js
Last active August 29, 2015 14:08 — forked from Marak/echoHttpRequest.js
Echo HTTP requests
module['exports'] = function echoHttp (hook) {
hook.debug("Debug messages are sent to the debug console");
hook.debug(hook.params);
hook.debug(hook.req.path);
hook.debug(hook.req.method);
@anfedorov
anfedorov / jQueryForChromeExample.user.js
Created July 22, 2011 20:51 — forked from erikvold/jQueryForChromeExample.user.js
This userscript is meant to be an example on how to use jQuery in a userscript on Google Chrome.
// ==UserScript==
// @name helpers
// @namespace anfedorov
// @include *
// @author Andrey Fedorov
// @description
// ==/UserScript==
function load(library) {
var script = document.createElement("script");