Skip to content

Instantly share code, notes, and snippets.

@mashiro
Created January 2, 2010 17:17
Show Gist options
  • Save mashiro/267566 to your computer and use it in GitHub Desktop.
Save mashiro/267566 to your computer and use it in GitHub Desktop.
--- aircvw.js.org 2010-01-03 02:17:11.000000000 +0900
+++ aircvw.js 2010-01-03 02:15:50.000000000 +0900
@@ -175,6 +175,16 @@
var ignoreTypes = new Array();
var elements = Form.getElements("ControlPanelForm");
+ var args = new Object;
+ var pairs = location.search.substring(1).split('&');
+ for (i = 0; pairs[i]; i++) {
+ var pair = pairs[i].split('=');
+ args[pair[0]] = pair[1];
+ }
+ if (args["reverse"] == "true") {
+ Aircvw.reverseTimeline = false;
+ }
+
//result.style.display = 'none';
result.innerHTML = ''; // 子ノードを消す(手抜き)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment