This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name jQuery Require Test | |
// @namespace http://github.com/arantius | |
// @include http* | |
// @version 1 | |
// @grant none | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js# | |
// ==/UserScript== | |
dump('jQuery version: ' + $().jquery + '\n'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name script with a name so long that it actually adds up to be about a hundred characters in total length | |
// ==/UserScript== | |
// See: https://github.com/greasemonkey/greasemonkey/issues/1548 | |
dump('long name!\n'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Relative Require Test | |
// @require require-test.js | |
// ==/UserScript== | |
dump('Relative Require Test; main script OK\n'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name всплывающие под | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Data scheme icon test. | |
// @icon data:image/jpeg;base64,%2F9j%2F4AAQSkZJRgABAQAAAQABAAD%2F2wBDAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys%2FRD84QzQ5Ojf%2F2wBDAQoKCg0MDRoPDxo3JR8lNzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzf%2FwAARCAAgACADASIAAhEBAxEB%2F8QAFwABAQEBAAAAAAAAAAAAAAAABwUEBv%2FEADAQAAICAAQDBQYHAAAAAAAAAAECAwQABQYREiExE0FRYYEHIjJxkZIVI0JDUrHB%2F8QAFwEBAQEBAAAAAAAAAAAAAAAABQQABv%2FEACYRAAEDAgQGAwAAAAAAAAAAAAIBAwQAEQUSE8EhMUFxgZEUYfD%2F2gAMAwEAAhEDEQA%2FAEHVur7WT35aGXUUtTissgZn4QrMxA3%2BQXfbzGOa07fXOs1NXPoZMwtlDJI0j7wRDfkAnw7emIGdW5LmaXp3ckval3J7grFQPkAoxjrX6YUNA7my%2FwCWZGVwFTruNtgTuNufj0xFGlvuSFaAbpfz76J4pOZh7DUXVcKyoni%2Fbhf3SDqGtTy2o0uTRfh9xPejaoDGp8QVXkfUHFXTWppraU4s0QK9pN4J1A4ZCO47HbfvBHI%2BR5YM861bYVOyjZuArw8XFz6eOKGW25Mu9novNIrkOtiqByMZ7QNw%2FcG6d2EcVX4rYF1Ure6CwrO%2B4Qly6Vl13VORasnjlj2pXmM0Td3vfEPu3%2BoxNsRyR11anWhtKv7TnZh5g%2F5hj1pp2HUuTNTlRTIp4on%2FAFIfI4HptP6jyOQxS0J7MIOytGpblgaRGMHNVrfbjXVRpbT7Ok6tl%2B7b8K5%2B |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
"""Simple script to merge multiple RRD files together. | |
Accepts any number of RRD file names as arguments. Produces an "rrdtool dump" | |
style file on stdout. The last RRD file should have a slot for every possible | |
record in the resulting merged RRD. | |
Run something like: | |
$ python simple-merge-rrd.py filea.rrd fileb.rrd filec.rrd | \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name iframe test | |
// @version 1 | |
// @namespace iframe | |
// @include http://localhost/1 | |
// @include http://localhost/2 | |
// ==/UserScript== | |
function tdump(msg) { | |
dump(new Date().toLocaleTimeString() + ' ' + msg + '\n'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Test case for Greasemonkey issue #1475 | |
// @include http* | |
// ==/UserScript== | |
GM_xmlhttpRequest({ | |
method: "GET", | |
url: "https://www.google.com/", | |
onload: function(response) { | |
alert(response.responseText.substr(0, 512)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dump('require 1 ran ...\n') |