Skip to content

Instantly share code, notes, and snippets.

@tsupo
Created May 12, 2009 13:39
Show Gist options
  • Save tsupo/110486 to your computer and use it in GitHub Desktop.
Save tsupo/110486 to your computer and use it in GitHub Desktop.
--- a/32521.user.js Wed Sep 10 18:50:36 2008
+++ b/32521.user.js Tue Jan 13 16:11:19 2009
@@ -14,8 +14,10 @@
(function() {
// Config
- var afterElementXPath = 'id("entrylist")/following-sibling::*[1]';
- var urlElementXPath = 'id("entrylink_url")//a';
+ // var afterElementXPath = 'id("entrylist")/following-sibling::*[1]';
+ var afterElementXPath = 'id("moreinfo_bottom")/following-sibling::*[1]';
+ // var urlElementXPath = 'id("entrylink_url")//a';
+ var urlElementXPath = 'id("entryinfo")//a[@class="url"]';
var titleText = '\u30C1\u30E3\u30FC\u30C8\uFF1A';
var defaultChartScale = '24h';
var chartWidth = 400;
@@ -111,9 +113,8 @@
selectElement.selectedIndex = i;
}
}
-
+
afterElement.parentNode.insertBefore(documentFragment, afterElement);
-
// DOM Event
addEventListener(selectElement, 'change', function(e) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment