Created
May 12, 2009 13:39
-
-
Save tsupo/110486 to your computer and use it in GitHub Desktop.
patches for http://userscripts.org/scripts/show/32521
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- 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