Skip to content

Instantly share code, notes, and snippets.

@tarao
Created March 16, 2010 08:58
Show Gist options
  • Save tarao/333776 to your computer and use it in GitHub Desktop.
Save tarao/333776 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name mixiAutoOpenFriendProfile
// @namespace http://orezdnu.org/
// @include http://mixi.jp/*
// ==/UserScript==
(function() {
var link = document.getElementById('JS_show_more_profile');
if (link) {
var evt = document.createEvent('MouseEvents');
evt.initMouseEvent('click', true, true, window,
0, 0, 0, 0, 0, false, false, false, false, 0, null);
link.dispatchEvent(evt);
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment