GoogleKingKong

By SUCCESS Last update Oct 3, 2010 — Installed 47,648 times.

在GOOGLE.CN有效,在google.com无效,为什么?

in
Subscribe to 在GOOGLE.CN有效,在google.com无效,为什么? 9 posts, 4 voices



gnlm.china User
FirefoxWindows

在GOOGLE.CN有效,在google.com无效,为什么?

 
SUCCESS Script's Author
MozillaWindows

1、你看看 google.com 失效的时候,它的 URL 里有 # 字符吗?
2、失效的时候,错误控制台里有什么关于此脚本的错误信息吗?
3、有没有用 Noscript 禁用 google.com 的 JS ?
或者你也可以来这里 http://board.mozest.com/viewthread.php?tid=2658... 看看有没有能帮你解决问题的信息。

 
isend Scriptwright
FirefoxWindows

确实无效,没有禁用js,firebug控制台输出(greasemonkey.js里的)
matchNode("//div[@id=\"guser\"]/nobr").snapshotItem(0) is null
file:///D:/Documents%20and%20Settings/Administrator/Application%20Data/Mozilla/Firefox/Profiles/kejk7ean.Minefield/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D/components/greasemonkey.js
Line 1223
希望作者早日修复

 
SUCCESS Script's Author
MozillaWindows

你的搜索结果页面的完整URL贴给我看一下
其实最好你能来 http://board.mozest.com/thread-26585-1-1 ,把你的搜索结果页面另存为 htm 文件发给我看看

 
Leo Janeway User
FirefoxWindows

原因很简单。google.com现在用ajax方式来产生结果页,查看页面源代码就知道了。我JS懂得不多,帮不上忙。希望这个脚本的处理办法对GKK的下个版本升级有帮助:
http://userscripts.org/scripts/show/47300

 
SUCCESS Script's Author
MozillaWindows

我这里 google.com 一直正常,只有在 URL 里面包含 # 字符时不能正常处理。也怀疑是 ajax 生成页面的原因,但奇怪的是我访问别人给的带 # 的 URL ,却总是会跳转到正常的页面,所以一直没法测试,看来这个问题还得再等等了。

 
Leo Janeway User
FirefoxWindows

请用 www.google.com/ncr 测试一下

 
gnlm.china User
FirefoxWindows

已经把搜索的页面上传到http://board.mozest.com/viewthread.php?tid=2658...

 
SUCCESS Script's Author
FirefoxWindows

@ Leo Janeway
我这里打开 ncr 页也是正常的
我正在装虚拟机重新做个环境测试,最近几天应该能解决这个 ajax 的问题
谢谢大家的关注和支持

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel