Skip to content

Instantly share code, notes, and snippets.

@NuckChorris
Created July 16, 2012 09:53
Show Gist options
  • Select an option

  • Save NuckChorris/3121867 to your computer and use it in GitHub Desktop.

Select an option

Save NuckChorris/3121867 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Chromacity
// @version 2.0.0b8
// @namespace nuckchorris0.deviantart.com
// @description Chromacity for dAmn
// @include *://chat.deviantart.com/chat/*
// @match *://chat.deviantart.com/chat/*
// ==/UserScript==
var contentEval = function (source) {
if ('function' == typeof source) {
source = '(' + source + ')();'
}
var script = document.createElement('script');
script.setAttribute("type", "application/javascript");
script.textContent = source;
document.body.appendChild(script);
document.body.removeChild(script);
}
contentEval(function () {
dAmn_Join('chat:devart');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment