Skip to content

Instantly share code, notes, and snippets.

View LouCypher's full-sized avatar
💸
Flat broke. Needs money.

Zulkarnain K. LouCypher

💸
Flat broke. Needs money.
View GitHub Profile
@LouCypher
LouCypher / Help.txt
Created June 17, 2011 04:22
Custom Buttons XML Exporter/Importer for Custom Buttons extension
To export:
1. Right click on any custom buttons
2. Select 'Export to XML'
To import:
1. Click this button
2. Select a Custom Buttons XML file
@LouCypher
LouCypher / cbCommand.js
Created June 17, 2011 16:42
Extension Options Menu for Custom Buttons extension
BrowserOpenAddonsMgr();
/*
//var url = "chrome://mozapps/content/extensions/extensions.xul";
var url = "about:addons";
if (gBrowser.mCurrentTab.linkedBrowser.currentURI.spec == "about:blank") {
loadURI(url);
return;
}
@LouCypher
LouCypher / cbCommand.js
Created June 17, 2011 16:43
Options Menu Button for Custom Buttons extension
/* ----------------------------------------------------------------------------
Compatibility:
- Firefox 3.6 - 6.0a2
- Custom Buttons 0.0.5.*
Changelog:
- 2011-06-06: using unique IDs for menuitems
- 2011-06-05: FUELed
- 2011-05-10: using Custom Buttons API
- 2011-04-08: Firefox 4+ compatibility
@LouCypher
LouCypher / OptionsMenuOverlaySM.xul
Created June 19, 2011 04:33
Extensions Options Menu + SeaMonkey
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://optionsmenu/skin/button.css" type="text/css"?>
<!DOCTYPE overlay [
<!ENTITY % optionsmenuDTD SYSTEM "chrome://optionsmenu/locale/optionsmenu.dtd">
<!ENTITY % browserDTD SYSTEM "chrome://navigator/locale/navigator.dtd">
%optionsmenuDTD;
%browserDTD;
]>
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" src="chrome://optionsmenu/content/OptionsMenu.js"/>
@LouCypher
LouCypher / about-home-switch-search.user.js
Created July 13, 2011 06:58
Change search engine on Firefox 4+ Start Page
// ==UserScript==
// @name about:home -> Switch Search
// @namespace http://forums.mozillazine.org/viewtopic.php?t=2158301
// @include about:home
// ==/UserScript==
let SearchEngines = {
Google: {
"name": "Google",
"searchUrl": "http://www.google.com/search?q=",
@LouCypher
LouCypher / gist:1085989
Created July 16, 2011 04:01
mozillaZine error stylesheet for userContent.css or Stylish extensions
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("mozillazine.org") {
html[xmlns]:not([lang]),
html:not([xmlns]):not([lang]) {
background: url("data:image/jpeg;base64,\
/9j/4AAQSkZJRgABAQEASABIAAD/4Tp0aHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hw\
YWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBt\
ZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSIzLjEuMi0xMTMiPgogICA8cmRm\
OlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1u\
cyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxu\
@LouCypher
LouCypher / gist:1087992
Created July 17, 2011 19:59
mozillaZine Forums Menu Greasemonkey user script
We couldn’t find that file to show.
@LouCypher
LouCypher / README.md
Created February 18, 2012 19:00
Flickr share userscripts - Share Flickr photos
@LouCypher
LouCypher / show-password-onfocus.user.js
Last active August 18, 2019 10:16
Show Password userscripts
// ==UserScript==
// @name Show Password onFocus
// @namespace http://zoolcar9.lhukie.net/
// @description Show password when focus on password field
// @version 20130114.01
// @author LouCypher
// @license free
// @homepageURL http://userscripts.org/scripts/show/1892
// @updateURL https://gist.github.com/raw/1870154/show-password-onfocus.user.js
// @downloadURL https://gist.github.com/raw/1870154/show-password-onfocus.user.js