Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Account Bar Fix
// @namespace https://gist.github.com/adaliabooks/
// @version 1.0
// @description Fixes the account bar (this time)
// @author adaliabooks
// @updateURL https://gist.github.com/adaliabooks/40e153bd4f05e9aea22e0063e0b6417b/raw/
// @downloadURL https://gist.github.com/adaliabooks/40e153bd4f05e9aea22e0063e0b6417b/raw/
// @require https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js
// @grant unsafewindow
var urlList = {
"1": {
"url": "\/upload\/images\/2012\/04\/6079c0e917fa26380328db4ad8fb59f5c8d9e246.jpg"
},
"2": {
"url": "\/upload\/images\/2012\/04\/27564cd8537df580ffed8b69447bc1c480a33260.jpg"
},
"3": {
"url": "\/upload\/images\/2008\/05\/4d1399bfe000165fb7fc6a8f6ca6a36e0eaeff0f.jpg"
},
var urlList = {
"1": {
"url": "/upload/images/2012/04/6079c0e917fa26380328db4ad8fb59f5c8d9e246.jpg"
},
"2": {
"url": "/upload/images/2012/04/27564cd8537df580ffed8b69447bc1c480a33260.jpg"
},
"3": {
"url": "/upload/images/2008/05/4d1399bfe000165fb7fc6a8f6ca6a36e0eaeff0f.jpg"
},
@adaliabooks
adaliabooks / utilities.js
Last active November 4, 2015 12:28
Utility functions
function contentEval(source) {
// Check for function input.
if ('function' == typeof source) {
// Execute this function with no arguments, by adding parentheses.
// One set around the function, required for valid syntax, and a
// second empty set calls the surrounded function.
source = '(' + source + ')();'
}
// Create a script node holding this source code.
@adaliabooks
adaliabooks / adaliafundamentals.user.js
Last active September 10, 2024 15:36
A package of fixes, new features and changes to improve GoG.com. I fix GoG, so you don't have to!
// ==UserScript==
// @name Adalia Fundamentals
// @namespace https://gist.github.com/adaliabooks/
// @version 1.9.9
// @description A package of fixes, new features and changes to improve GoG.com. I fix GoG, so you don't have to!
// @author adaliabooks
// @updateURL https://gist.github.com/adaliabooks/bf3cbdbb56db6c107dd8/raw/
// @downloadURL https://gist.github.com/adaliabooks/bf3cbdbb56db6c107dd8/raw/
// @include http://www.gog.com/*
// @include https://www.gog.com/*
@adaliabooks
adaliabooks / reviewFilter.user.js
Last active September 9, 2015 20:24
Adds the ability to sort reviews on GoG by a number of criteria
// ==UserScript==
// @name GoG Reviews Filter
// @namespace https://gist.github.com/adaliabooks/
// @version 1.2
// @description Adds the ability to sort reviews on GoG by a number of criteria
// @author adaliabooks
// @updateURL https://gist.github.com/adaliabooks/3dd8624a2dd72a7209fe/raw/
// @downloadURL https://gist.github.com/adaliabooks/3dd8624a2dd72a7209fe/raw/
// @require https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js
// @grant none
@adaliabooks
adaliabooks / gogSearch.user.js
Last active August 29, 2015 14:21
Adds Basic user search / filter bar to GoG.com forums
// ==UserScript==
// @name GoG Search
// @namespace https://gist.github.com/adaliabooks/
// @version 1.0
// @description Adds Basic user search / filter bar to GoG.com forums
// @author adaliabooks
// @updateURL https://gist.github.com/adaliabooks/51d25e123f36f4308bb2/raw/
// @downloadURL https://gist.github.com/adaliabooks/51d25e123f36f4308bb2/raw/
// @require https://raw.githubusercontent.com/bartaz/sandbox.js/master/jquery.highlight.js
// @grant none
@adaliabooks
adaliabooks / gogMafiaSearch.user.js
Last active August 29, 2015 14:19
Adds Basic user search / filter bar to GoG.com forums for use in Mafia Games
// ==UserScript==
// @name GoG Mafia Search
// @namespace https://gist.github.com/adaliabooks/
// @version 0.1
// @description Adds Basic user search / filter bar to GoG.com forums for use in Mafia Games
// @author adaliabooks
// @match https://gist.github.com/adaliabooks/c72b36bc3d85aa5764a3
// @grant none
// @include http://www.gog.com/forum/*
// ==/UserScript==