Skip to content

Instantly share code, notes, and snippets.

@XP1
XP1 / Fix Ace 1.00.js
Created March 22, 2012 08:59
Fix Ace: Fixes Ace's "attachEvent" feature detection in Opera.
// ==UserScript==
// @name Fix Ace
// @version 1.00
// @description Fixes Ace's "attachEvent" feature detection in Opera.
// @author XP1 (https://github.com/XP1/)
// @namespace https://gist.github.com/2157236/
// @include http*://udacity.com/*
// @include http*://*.udacity.com/*
// ==/UserScript==
@XP1
XP1 / Fix session history navigation 1.01.js
Created February 15, 2012 01:21
Fix session history navigation: Fixes HTML5 session history navigation when the URL argument is specified but is `null` or `undefined`.
// ==UserScript==
// @name Fix session history navigation
// @version 1.01
// @description Fixes HTML5 session history navigation when the URL argument is specified but is `null` or `undefined`.
// @author XP1 (https://github.com/XP1/)
// @namespace https://gist.github.com/1832301/
// @include http*://launchpad.net/*
// @include http*://*.launchpad.net/*
// ==/UserScript==
@XP1
XP1 / Disable Google Search rewrite 1.01.js
Created February 9, 2012 14:05
Disable Google Search rewrite: Disables the rewrite of links in Google Search results.
// ==UserScript==
// @name Disable Google Search rewrite
// @version 1.01
// @description Disables the rewrite of links in Google Search results.
// @author XP1 (https://github.com/XP1/)
// @namespace https://gist.github.com/1780197/
// @include http*://google.*/search?*
// @include http*://*.google.*/search?*
// ==/UserScript==
@XP1
XP1 / Fix MODX 1.00.js
Created February 9, 2012 11:11
Fix MODX: Fixes iframes in MODX to observe strict, cross-domain, same-origin policy restrictions.
// ==UserScript==
// @name Fix MODX
// @version 1.00
// @description Fixes iframes in MODX to observe strict, cross-domain, same-origin policy restrictions.
// @author XP1 (https://github.com/XP1/)
// @namespace https://gist.github.com/1779333/
// @include http*://demo.opensourcecms.com/modx/*
// @include http*://*.demo.opensourcecms.com/modx/*
// ==/UserScript==
@XP1
XP1 / Paginate Digg 1.01.js
Created February 8, 2012 11:27
Paginate Digg: Adds the previous and next pagination links to the `head` element for accessibility reasons.
// ==UserScript==
// @name Paginate Digg
// @version 1.01
// @description Adds the previous and next pagination links to the `head` element for accessibility reasons.
// @author XP1 (https://github.com/XP1/)
// @namespace https://gist.github.com/1768302/
// @include http*://digg.com/*
// @include http*://*.digg.com/*
// ==/UserScript==
@XP1
XP1 / Fix MSNBC 1.01.js
Created January 31, 2012 21:06
Fix MSNBC: Fixes MSNBC's Adobe Flash detection by fixing the `UberSniff` function and by browser spoofing.
// ==UserScript==
// @name Fix MSNBC
// @version 1.01
// @description Fixes MSNBC's Adobe Flash detection by fixing the `UberSniff` function and by browser spoofing.
// @author XP1 (https://github.com/XP1/)
// @namespace https://gist.github.com/1712912/
// @include http*://msnbc.msn.com/*
// @include http*://*.msnbc.msn.com/*
// ==/UserScript==
@XP1
XP1 / Fix MediaWiki 1.02.js
Last active September 30, 2015 03:17
Fix MediaWiki: Fixes MediaWiki's WikiEditor search-and-replace extension by handling the correct line endings. Allows the search-and-replace dialog to load by disabling browser version sniffing.
// ==UserScript==
// @name Fix MediaWiki
// @version 1.02
// @description Fixes MediaWiki's WikiEditor search-and-replace extension by handling the correct line endings. Allows the search-and-replace dialog to load by disabling browser version sniffing.
// @namespace https://gist.github.com/XP1/1712432/
// @copyright 2012
// @author XP1
// @homepage https://github.com/XP1/
// @license Apache License, Version 2.0; http://www.apache.org/licenses/LICENSE-2.0
// Wikipedia:
@XP1
XP1 / Restore textarea Scrollbar Position 1.00.js
Created January 31, 2012 14:47
Restore textarea Scrollbar Position: Restores textarea scrollbar position after the mouse is clicked in the textarea. Workaround for Opera 11.6x scrollbar reset bug when the find bar loses focus.
// ==UserScript==
// @name Restore textarea Scrollbar Position
// @version 1.00
// @description Restores textarea scrollbar position after the mouse is clicked in the textarea. Workaround for Opera 11.6x scrollbar reset bug when the find bar loses focus.
// @author XP1 (https://github.com/XP1/)
// @namespace https://gist.github.com/1710867/
// Wikipedia:
// @include http*://wikipedia.org/*&action=*
// @include http*://*.wikipedia.org/*&action=*
// @include http*://wikimedia.org/*&action=*
@XP1
XP1 / Fix TinyMCE 1.01.js
Created January 8, 2012 11:47
Fix TinyMCE: Fixes TinyMCE's `setRng` function by replacing it with the fixed one.
// ==UserScript==
// @name Fix TinyMCE
// @version 1.01
// @description Fixes TinyMCE's `setRng` function by replacing it with the fixed one.
// @author XP1 (https://github.com/XP1/)
// @namespace https://gist.github.com/1578084/
// @include http*://hp.com/*
// @include http*://*.hp.com/*
// ==/UserScript==
@XP1
XP1 / Enhance Apple iTunes App Store 1.01.js
Created January 8, 2012 11:44
Enhance Apple iTunes App Store: Forces iTunes detection in Opera. Autolaunches the app in iTunes from Opera.
// ==UserScript==
// @name Enhance Apple iTunes App Store
// @version 1.01
// @description Forces iTunes detection in Opera. Autolaunches the app in iTunes from Opera.
// @author XP1 (https://github.com/XP1/)
// @namespace https://gist.github.com/1578081/
// @include http*://itunes.apple.com/*
// @include http*://*.itunes.apple.com/*
// ==/UserScript==