Skip to content

Instantly share code, notes, and snippets.

@ohnishiakira
Created July 19, 2011 08:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ohnishiakira/1091752 to your computer and use it in GitHub Desktop.
Save ohnishiakira/1091752 to your computer and use it in GitHub Desktop.
togetterの"続きを読む"を自動でクリック
// ==UserScript==
// @match http://togetter.com/li/*
// ==/UserScript==
(function (element) {
if (element !== null) {
var event = document.createEvent("MouseEvents");
event.initEvent("click", false, true);
element.dispatchEvent(event);
}
})(document.querySelector("a[onclick^='tgtr.more']"));
@ohnishiakira
Copy link
Author

Togetter.com の仕様が変わったのか動かなくなってたので直した。

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