Skip to content

Instantly share code, notes, and snippets.

@jessebeach
Created August 2, 2013 18:52
Show Gist options
  • Select an option

  • Save jessebeach/6142389 to your computer and use it in GitHub Desktop.

Select an option

Save jessebeach/6142389 to your computer and use it in GitHub Desktop.
Bad day? You say you need an injection of cute right to a main line? No worries, mate. Make a bookmark from this script and click when you get the bluesies.
javascript:(function (srcs,cfg) %7B var cbcount %3D 1%3B var callback %3D function () %7B -- cbcount%3B if (cbcount %3D%3D%3D 0) %7B BrowserPonies.setBaseUrl(cfg.baseurl)%3B if (!BrowserPoniesBaseConfig.loaded) %7B BrowserPonies.loadConfig(BrowserPoniesBaseConfig)%3B BrowserPoniesBaseConfig.loaded %3D true%3B %7D BrowserPonies.loadConfig(cfg)%3B if (!BrowserPonies.running()) BrowserPonies.start()%3B %7D %7D%3B if (typeof(BrowserPoniesConfig) %3D%3D%3D "undefined") %7B window.BrowserPoniesConfig %3D %7B%7D%3B %7D if (typeof(BrowserPoniesBaseConfig) %3D%3D%3D "undefined") %7B %2B%2B cbcount%3B BrowserPoniesConfig.onbasecfg %3D callback%3B %7D if (typeof(BrowserPonies) %3D%3D%3D "undefined") %7B %2B%2B cbcount%3B BrowserPoniesConfig.oninit %3D callback%3B %7D var node %3D (document.body %7C%7C document.documentElement %7C%7C document.getElementsByTagName(%27head%27)%5B0%5D)%3B for (var id in srcs) %7B if (document.getElementById(id)) continue%3B if (node) %7B var s %3D document.createElement(%27script%27)%3B s.type %3D %27text/javascript%27%3B s.id %3D id%3B s.src %3D srcs%5Bid%5D%3B node.appendChild(s)%3B %7D else %7B document.write(%27%5Cu003cscript type%3D"text/javscript" src%3D"%27%2B srcs%5Bid%5D%2B%27" id%3D"%27%2Bid%2B%27"%5Cu003e%5Cu003c/script%5Cu003e%27)%3B %7D %7D callback()%3B%7D)(%7B"browser-ponies-script":"http://panzi.github.com/Browser-Ponies/browserponies.js","browser-ponies-config":"http://panzi.github.com/Browser-Ponies/basecfg.js"%7D,%7B"baseurl":"http://panzi.github.com/Browser-Ponies/","fadeDuration":500,"volume":1,"fps":25,"speed":3,"audioEnabled":false,"showFps":false,"showLoadProgress":true,"speakProbability":0.1,"spawn":%7B"applejack":1,"fluttershy":1,"pinkie pie":1,"rainbow dash":1,"rarity":1,"twilight sparkle":1%7D%7D)%3Bvoid(0)
@jessebeach

Copy link
Copy Markdown
Author

@Hackn7328

Copy link
Copy Markdown

d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment