MozTW 討論區
https://forum.moztw.org/

台北市公車動態資訊
https://forum.moztw.org/viewtopic.php?f=2&t=34692
1 頁 (共 1 頁)

發表人:  oversky [ 2012-02-28, 09:20 ]
文章主題 :  台北市公車動態資訊

請問大家台北市公車動態資訊網頁
http://www.e-bus.taipei.gov.tw/pda/route.aspx
裏面的下拉式表單有正常動作嗎?

我用 chorme 和 opera 都 OK
但是 firefox 選完都沒有出現公車動態。
是有用到不標準的語法嗎?

firefox 9.0 tete portable (with addon, plugin)
firefox 10.02 tete portable (clean, no addon, plugin)

chrome portable 13
opera portable 11.62

發表人:  訪客 [ 2012-02-28, 10:15 ]
文章主題 :  Re: 台北市公車動態資訊

我不懂java所以不知道正不正常,不过同网站底下的"新北市公车动态"运作非常正常,所以也搞不清楚是浏览器问题还是程式真的写错了。
又或许单就只是敏感的颜色问题? ╮(╯▽╰)╭

發表人:  georgeyeo [ 2012-02-28, 11:23 ]
文章主題 :  Re: 台北市公車動態資訊

用 SeaMonkey 2.8b4 (相當於 Firefox 11.0b4) 看此頁, 選擇路線 214 按送出 (submit) 後, 錯誤控制台 (error console) 裡寫 queryPage is not defined 點進出後是一個 JavaScript 錯誤, 錯在 Line 848 的queryPage.routeID.value = routeID.value;

發表人:  shyangs [ 2012-02-28, 15:07 ]
文章主題 :  Re: 台北市公車動態資訊

台北市公車動態資訊系統 網頁修正 for Greasemonkey

代碼:
// ==UserScript==
// @name           台北市公車動態資訊系統 網頁修正
// @version        0.1
// @namespace      http://wiki.moztw.org/index.php/User:Shyangs
// @author         Shyangs
// @description    台北市公車動態資訊系統 網頁修正
// @include        http://www.e-bus.taipei.gov.tw/pda/route.aspx
// @include        http://www.e-bus.taipei.gov.tw/pda/queryPage.aspx
// @run-at         document-end
// ==/UserScript==

  unsafeWindow.queryPage = document.getElementById("queryPage");
  unsafeWindow.routeID = document.getElementById("routeID");
  unsafeWindow.auto = document.getElementById("auto");

1 頁 (共 1 頁) 所有顯示的時間為 UTC + 8 小時
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/