简体   繁体   English

未捕获的参考错误:未定义快速阅读

[英]Uncaught reference error: quickread is not defined

I get an UncaughtReferenceError: QuickRead is not defined on line 10 which is QuickRead.applyToLinks(); 我收到UncaughtReferenceError:在第10行QuickRead.applyToLinks();

I am using the script from here http://www.readshout.com/quickread and I believed I followed all the directions it has to use it, yet its not working. 我正在从这里http://www.readshout.com/quickread使用该脚本,我相信我已经遵循了使用它的所有指示,但是仍然无法正常工作。

<!DOCTYPE html>
<html>
    <head>
        <title>test</title>
    </head>
    <body>
        <script language="JavaScript" type="text/javascript" src="http://www.readshout.com/bookmarklets/quickread/quickread.js"></script>
        <script>
            //QuickRead.setFilter('a.my_links');
            QuickRead.applyToLinks();
        </script>
        <a href="http://robsheldon.com/giving-up-on-google">Give up on google</a><br />
        <a href="http://artchang.com/y-combinator-experience">ycomb exp</a>
    </body>
</html>

Works for me. 为我工作。 You could however try to add jQuery 1.4.2 manually, as QuickRead seems to dynamically load it. 但是,您可以尝试手动添加jQuery 1.4.2,因为QuickRead似乎可以动态加载它。 Otherwise try Firebug to find the error. 否则,请尝试使用Firebug查找错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM