It could be that $ is sort of reserved in Conkeror for keyword
arguments. Try using "jQuery" directly and see if that helps.
Deniz
2008/11/28 Tim Schumacher <[EMAIL PROTECTED]>:
> Hi Folks,
>
> I tried this evening to integrate jQuery into conkeror, so I can use
> it in development of interactive functions and so on. jQuery is
> JavaScript-Framework and follows the "write less, do more"-scheme. I
> could use its features very well in my noscript-gluecode, because I
> want to fetch all <script>-Tags and pare all src-attributes. In jQuery
> I would do something like this:
>
> $("script").each(function(){
> var src = $(this).attr('src'); // this contains the src-domnode
> });
>
> I found this Komodo-Extension, which adds jQuery to the Chrome as an
> Overlay:
>
> http://community.activestate.com/xpi/jquery
>
> I edited the chrome.manifest from
>
> overlay chrome://komodo/content/conkeror.xul
> chrome://jquery/content/overlay.xul
>
> to
>
> overlay chrome://conkeror/content/conkeror.xul
> chrome://jquery/content/overlay.xul
>
> But when I now try to call jQuery with $() in an
> 'interactive'-function, I get an error that $ is not defined.
>
> If someone could give me a hint on how to get this running, I would
> greatly appreciate it.
>
> greetings
>
> Tim
>
> --
> Simulations are like miniskirts, they show a lot and hide the essentials.
> _______________________________________________
> Conkeror mailing list
> [email protected]
> https://www.mozdev.org/mailman/listinfo/conkeror
>
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror