<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>Hey guys,

I'd like to include some utility functions to use in my other userscripts.  I tried to create a userscript that holds my functions, but I cannot access the functions I defined in it from other userscripts.  I also tried to include my script remotely using document.write(&quot;&lt;script type=&quot;text/javascript&quot; src=&quot;http://myhost.my/myscript.js&quot;&gt;&lt;/script&gt;&quot;), but it caused infinite loop whenever I opened new pages.

How can I include my utility functions in a way that actually works?

Thanks in advance,
Laci</body>
  <body-html>&lt;p&gt;Hey guys,&lt;/p&gt;

&lt;p&gt;I'd like to include some utility functions to use in my other userscripts.  I tried to create a userscript that holds my functions, but I cannot access the functions I defined in it from other userscripts.  I also tried to include my script remotely using document.write(&quot;&lt;/p&gt;

&lt;p&gt;How can I include my utility functions in a way that actually works?&lt;/p&gt;

&lt;p&gt;Thanks in advance,
&lt;br /&gt;Laci&lt;/p&gt;</body-html>
  <created-at type="datetime">2007-05-22T00:30:09Z</created-at>
  <forumable-id type="integer">1</forumable-id>
  <forumable-type>Forum</forumable-type>
  <id type="integer">1950</id>
  <topic-id type="integer">499</topic-id>
  <updated-at type="datetime">2007-06-22T08:06:29Z</updated-at>
  <user-agent nil="true"></user-agent>
  <user-id type="integer">27815</user-id>
</post>
