Skip to content

Instantly share code, notes, and snippets.

View erikig's full-sized avatar

Eric Kigathi erikig

  • Uplyft Capital
  • Fairfield County, CT
View GitHub Profile
/*
How to use:
1. Open Chrome
2. New Bookmark
3. Enter Name - https://emojipedia.org/search/?q=calendar
4. Paste code below into URL field
*/
javascript: (function() {
var title = encodeURIComponent("Follow Up - " + document.title.replace("Account > ",""));
Rank Type Prefix/Suffix Length
1 Prefix my+ 2
2 Suffix +online 6
3 Prefix the+ 3
4 Suffix +web 3
5 Suffix +media 5
6 Prefix web+ 3
7 Suffix +world 5
8 Suffix +net 3
9 Prefix go+ 2
@erikig
erikig / jquery.toggler.js
Created February 5, 2012 19:16
jquery.toggler.js - A jQuery plugin that allows checkboxes or radio input with class="{name}_toggle" to toggle elements with class="{name}"
/**
* jquery.toggler.js
* - Allows checkboxes or radio input with class="{name}_toggle" to toggle elements with class="{name}"
* - Handles click event and pre-populated form fields
*
* Implementation Detail:
* 1. Include jquery & jquery.toggler.js
* 2. Call $('input[type="checkbox"][class$="_toggle"]').toggler();
* 3. ????
* 4. Profit!
@erikig
erikig / jquery.wmodeFix.js
Created February 3, 2012 17:06
jquery.wmodeFix.js - Fix wMode for embedded YouTube iFrames
/**
* Fix wMode for embedded YouTube iFrames
**/
function wmodeFix(){
$('iframe[src*="youtube"]').each(function() {
var iframe_src = $(this).attr('src') + '?wmode=transparent';
$(this).attr("src",iframe_src);
});