<?xml version="1.0" encoding="UTF-8"?>
<posts type="array">
  <post>
    <body>I was wondering if anyone could possibly do a quick fix of this script http://userscripts.org/scripts/show/881.

The user has not updated it in two months and after asking multiple times has not responded.</body>
    <body-html>&lt;p&gt;I was wondering if anyone could possibly do a quick fix of this script &lt;a href=&quot;http://userscripts.org/scripts/show/881&quot;&gt;http://userscripts.org/scripts/show/881&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The user has not updated it in two months and after asking multiple times has not responded.&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-09T20:55:38Z</created-at>
    <forumable-id type="integer">2</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">218346</id>
    <topic-id type="integer">45736</topic-id>
    <updated-at type="datetime">2010-02-09T20:55:38Z</updated-at>
    <user-agent>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7</user-agent>
    <user-id type="integer">111754</user-id>
  </post>
  <post>
    <body>Thanks, mate :)

I didn't think there would be a need to use a mouseevent and thought there would be a easier way. The unsafewindow trick did the work!</body>
    <body-html>&lt;p&gt;Thanks, mate :)&lt;/p&gt;

&lt;p&gt;I didn't think there would be a need to use a mouseevent and thought there would be a easier way. The unsafewindow trick did the work!&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-09T19:11:06Z</created-at>
    <forumable-id type="integer">1</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">218284</id>
    <topic-id type="integer">45717</topic-id>
    <updated-at type="datetime">2010-02-09T19:11:06Z</updated-at>
    <user-agent>Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6</user-agent>
    <user-id type="integer">96304</user-id>
  </post>
  <post>
    <body>&lt;pre&gt;unsafeWindow.itemClick(&quot;0000000066&quot;);&lt;/pre&gt;

or use the click function:

&lt;pre&gt;function click(A) {
	var B = document.createEvent(&quot;MouseEvents&quot;);
	B.initEvent(&quot;click&quot;, true, true);
	A.dispatchEvent(B);
}
click(document.getElementByID(&quot;item0000000066&quot;));&lt;/pre&gt;

You should've done a search. This has been discussed too many times now.</body>
    <body-html>&lt;p&gt;&lt;pre&gt;unsafeWindow.itemClick(&quot;0000000066&quot;);&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;or use the click function:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;function click(A) {
	var B = document.createEvent(&quot;MouseEvents&quot;);
	B.initEvent(&quot;click&quot;, true, true);
	A.dispatchEvent(B);
}
click(document.getElementByID(&quot;item0000000066&quot;));&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;You should've done a search. This has been discussed too many times now.&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-09T18:53:23Z</created-at>
    <forumable-id type="integer">1</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">218275</id>
    <topic-id type="integer">45717</topic-id>
    <updated-at type="datetime">2010-02-09T18:53:53Z</updated-at>
    <user-agent>Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6</user-agent>
    <user-id type="integer">61251</user-id>
  </post>
  <post>
    <body>How would I go about achieving a click on this code:

&lt;pre&gt;
&amp;lt;span id=&quot;item0000000066&quot; onclick=&quot;itemClick('0000000066');&quot; style=&quot;cursor: pointer;&quot;&amp;gt;
&lt;/pre&gt;

&lt;code&gt;
&lt;span id=&quot;item0000000066&quot; onclick=&quot;itemClick('0000000066');&quot; style=&quot;cursor: pointer;&quot;&gt;
&lt;/code&gt;

I tried:
&lt;code&gt;
1.
element = document.getElementByID('item0000000066');
if (element){
    element.click();
}
2.
element = document.getElementByID('item0000000066').onclick();
&lt;/code&gt;

Any advice? XD</body>
    <body-html>&lt;p&gt;How would I go about achieving a click on this code:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;
&amp;lt;span id=&quot;item0000000066&quot; onclick=&quot;itemClick('0000000066');&quot; style=&quot;cursor: pointer;&quot;&amp;gt;
&lt;/pre&gt;&lt;code&gt;
&lt;br /&gt;&lt;span&gt;
&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;I tried:
&lt;br /&gt;&lt;code&gt;
&lt;br /&gt;1.
&lt;br /&gt;element = document.getElementByID('item0000000066');
&lt;br /&gt;if (element){
&lt;br /&gt;    element.click();
&lt;br /&gt;}
&lt;br /&gt;2.
&lt;br /&gt;element = document.getElementByID('item0000000066').onclick();
&lt;br /&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Any advice? XD&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-09T18:37:00Z</created-at>
    <forumable-id type="integer">1</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">218268</id>
    <topic-id type="integer">45717</topic-id>
    <updated-at type="datetime">2010-02-09T18:38:51Z</updated-at>
    <user-agent>Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6</user-agent>
    <user-id type="integer">96304</user-id>
  </post>
  <post>
    <body>On new topics, can Jesse / Jake please add a glaring notice about how to add code, either using a pastebin or &amp;amp;amp;lt;pre&gt; tags?

Every single day, n00bs can't figure out how to do it. This would benefit the forum daily.</body>
    <body-html>&lt;p&gt;On new topics, can Jesse / Jake please add a glaring notice about how to add code, either using a pastebin or &amp;lt;pre&gt; tags?&lt;/p&gt;

&lt;p&gt;Every single day, n00bs can't figure out how to do it. This would benefit the forum daily.&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-09T17:44:16Z</created-at>
    <forumable-id type="integer">3</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">218247</id>
    <topic-id type="integer">45711</topic-id>
    <updated-at type="datetime">2010-02-09T17:49:26Z</updated-at>
    <user-agent>Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6</user-agent>
    <user-id type="integer">61251</user-id>
  </post>
  <post>
    <body>I have a page that I do editing in. Unfortunately I have to do a great deal of editing but to do so I actually have to click on each box to open it up to insert anything and then let it close before I can move on. 

So I was wondering if it would be possible to open all the boxes on a page so I can enter the information and then click something to have it send the information to the web page.

Tried posting the page source but does not allow me to.</body>
    <body-html>&lt;p&gt;I have a page that I do editing in. Unfortunately I have to do a great deal of editing but to do so I actually have to click on each box to open it up to insert anything and then let it close before I can move on. &lt;/p&gt;

&lt;p&gt;So I was wondering if it would be possible to open all the boxes on a page so I can enter the information and then click something to have it send the information to the web page.&lt;/p&gt;

&lt;p&gt;Tried posting the page source but does not allow me to.&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-09T17:06:34Z</created-at>
    <forumable-id type="integer">2</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">218233</id>
    <topic-id type="integer">45707</topic-id>
    <updated-at type="datetime">2010-02-09T17:11:05Z</updated-at>
    <user-agent>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7</user-agent>
    <user-id type="integer">111754</user-id>
  </post>
  <post>
    <body>&lt;blockquote&gt;...  you're probably not using Chrome v4 or greater. Double-check by typing about:version in the URL bar. Note that if you're on mac or linux, as of Feb 1 2010, you'll need to switch to the dev or beta channel, since Chrome 4 isn't yet released on the stable channel for those platforms.&lt;/blockquote&gt;</body>
    <body-html>&lt;p&gt;&lt;blockquote&gt;...  you're probably not using Chrome v4 or greater. Double-check by typing about:version in the URL bar. Note that if you're on mac or linux, as of Feb 1 2010, you'll need to switch to the dev or beta channel, since Chrome 4 isn't yet released on the stable channel for those platforms.&lt;/blockquote&gt;&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-09T17:00:26Z</created-at>
    <forumable-id type="integer">1</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">218228</id>
    <topic-id type="integer">45688</topic-id>
    <updated-at type="datetime">2010-02-09T17:00:47Z</updated-at>
    <user-agent>Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6</user-agent>
    <user-id type="integer">61251</user-id>
  </post>
  <post>
    <body>in firefox and opera, userscript works after DOM-load.

chrome was same.


but in chrome, if add '@run-at document-start' to script header, script works not after DOM-load, but on document was loaded.

(http://dev.chromium.org/developers/design-documents/user-scripts)


this worked before Google chrome ver 4.

but after ver 4, that doesn't work.


script code was not changed, but script works after DOM-load.

help me...</body>
    <body-html>&lt;p&gt;in firefox and opera, userscript works after DOM-load.&lt;/p&gt;

&lt;p&gt;chrome was same.&lt;/p&gt;

&lt;p&gt;but in chrome, if add '@run-at document-start' to script header, script works not after DOM-load, but on document was loaded.&lt;/p&gt;

&lt;p&gt;(&lt;a href=&quot;http://dev.chromium.org/developers/design-documents/user-scripts&quot;&gt;http://dev.chromium.org/developers/design-docum...&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;this worked before Google chrome ver 4.&lt;/p&gt;

&lt;p&gt;but after ver 4, that doesn't work.&lt;/p&gt;

&lt;p&gt;script code was not changed, but script works after DOM-load.&lt;/p&gt;

&lt;p&gt;help me...&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-09T14:53:44Z</created-at>
    <forumable-id type="integer">1</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">218185</id>
    <topic-id type="integer">45688</topic-id>
    <updated-at type="datetime">2010-02-09T14:53:44Z</updated-at>
    <user-agent>Mozilla/5.0 (Windows; U; Windows NT 5.1; ko; rv:1.9.2) Gecko/20100115 Firefox/3.6</user-agent>
    <user-id type="integer">97749</user-id>
  </post>
  <post>
    <body>Hi everybody
I need to develop a script which checks value in particular text box &amp; depending upon that value or value changes, I want to store values of other two text boxes to Microsoft Excel or Access. Also I want to store date &amp; time on that particular event.
Can it be possible with greasemonkey scripts or please suggest me other option.
Basically I have one device connected in LAN. I can access operations of that device by typing address in my browser like http://192.168.1.5
I cant do any modification into that device.
On a particular page text box values changes automatically. It has extension .cgi.
if state of one text box changes e.g. from stand by to Listen , then I want to record values of other text boxes.
Please help me</body>
    <body-html>&lt;p&gt;Hi everybody
&lt;br /&gt;I need to develop a script which checks value in particular text box &amp;amp; depending upon that value or value changes, I want to store values of other two text boxes to Microsoft Excel or Access. Also I want to store date &amp;amp; time on that particular event.
&lt;br /&gt;Can it be possible with greasemonkey scripts or please suggest me other option.
&lt;br /&gt;Basically I have one device connected in LAN. I can access operations of that device by typing address in my browser like &lt;a href=&quot;http://192.168.1.5&quot;&gt;http://192.168.1.5&lt;/a&gt;
&lt;br /&gt;I cant do any modification into that device.
&lt;br /&gt;On a particular page text box values changes automatically. It has extension .cgi.
&lt;br /&gt;if state of one text box changes e.g. from stand by to Listen , then I want to record values of other text boxes.
&lt;br /&gt;Please help me&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-09T05:37:18Z</created-at>
    <forumable-id type="integer">1</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">218043</id>
    <topic-id type="integer">45656</topic-id>
    <updated-at type="datetime">2010-02-09T05:37:18Z</updated-at>
    <user-agent>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6</user-agent>
    <user-id type="integer">131624</user-id>
  </post>
  <post>
    <body>If it's a:

&lt;ul&gt;
&lt;li&gt;DNS redirect... You are out of luck.&lt;/li&gt;

&lt;li&gt;HTTP request redirect... Probably not.&lt;/li&gt;

&lt;li&gt;HTTP meta redirect... install &lt;a href=&quot;http://addons.mozilla.org/firefox/addon/992&quot;&gt;RefreshBlocker&lt;/a&gt; add-on and that will give you time to script the page.&lt;/li&gt;

&lt;li&gt;JavaScript redirect... you may need to disable JavaScript so it doesn't redirect but that opens up a whole load of issues normally.&lt;/li&gt;</body>
    <body-html>&lt;p&gt;If it's a:&lt;/p&gt;

&lt;p&gt;&lt;ul&gt;&lt;li&gt;DNS redirect... You are out of luck.&lt;/li&gt;&lt;li&gt;HTTP request redirect... Probably not.&lt;/li&gt;&lt;li&gt;HTTP meta redirect... install &lt;a href=&quot;http://addons.mozilla.org/firefox/addon/992&quot;&gt;RefreshBlocker&lt;/a&gt; add-on and that will give you time to script the page.&lt;/li&gt;&lt;li&gt;JavaScript redirect... you may need to disable JavaScript so it doesn't redirect but that opens up a whole load of issues normally.&lt;/li&gt;&lt;/ul&gt;&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-09T05:13:41Z</created-at>
    <forumable-id type="integer">1</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">218039</id>
    <topic-id type="integer">45608</topic-id>
    <updated-at type="datetime">2010-02-09T05:14:11Z</updated-at>
    <user-agent>Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7</user-agent>
    <user-id type="integer">37004</user-id>
  </post>
  <post>
    <body>&lt;a href=&quot;/users/131594&quot;&gt;WarmredAnn&lt;/a&gt; is a &lt;a href=&quot;/users/131594/posts&quot;&gt;spammer&lt;/a&gt;, most recently on topic &lt;a href=&quot;/topics/45636&quot;&gt;Hello!&lt;/a&gt;, with &lt;a href=&quot;/topics/45636#posts-217946&quot;&gt;this post&lt;/a&gt;.</body>
    <body-html>&lt;p&gt;&lt;a href=&quot;/users/131594&quot;&gt;WarmredAnn&lt;/a&gt; is a &lt;a href=&quot;/users/131594/posts&quot;&gt;spammer&lt;/a&gt;, most recently on topic &lt;a href=&quot;/topics/45636&quot;&gt;Hello!&lt;/a&gt;, with &lt;a href=&quot;/topics/45636#posts-217946&quot;&gt;this post&lt;/a&gt;.&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-09T02:47:47Z</created-at>
    <forumable-id type="integer">3</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">217975</id>
    <topic-id type="integer">9</topic-id>
    <updated-at type="datetime">2010-02-09T02:47:47Z</updated-at>
    <user-agent>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)</user-agent>
    <user-id type="integer">23652</user-id>
  </post>
  <post>
    <body>I can't think of a good way around that, because a greasemonkey script will never get a chance to run on the original URL, as it will likely be redirected before ever loading any content. So it won't appear in the history.

But you could add a section at the beginning of Autologin that tests &lt;code&gt;window.location.href&lt;/code&gt; to see if it matches the portal page that appears after a successful login, and if it does, automatically sets &lt;code&gt;window.location.href&lt;/code&gt; to a different page. If you wanted to get fancy, it could use GM_getValue() to visit a page you specify from &lt;code&gt;about:config&lt;/code&gt;. Even fancier, you could use GM_registerMenuCommand() to add an entry to the monkey menu which would call &lt;code&gt;window.prompt()&lt;/code&gt; and then use GM_setValue() to change this pseudo-homepage.

I realize that doesn't do exactly what you asked for, but this is the best thing I can think of.</body>
    <body-html>&lt;p&gt;I can't think of a good way around that, because a greasemonkey script will never get a chance to run on the original URL, as it will likely be redirected before ever loading any content. So it won't appear in the history.&lt;/p&gt;

&lt;p&gt;But you could add a section at the beginning of Autologin that tests &lt;code&gt;window.location.href&lt;/code&gt; to see if it matches the portal page that appears after a successful login, and if it does, automatically sets &lt;code&gt;window.location.href&lt;/code&gt; to a different page. If you wanted to get fancy, it could use GM_getValue() to visit a page you specify from &lt;code&gt;about:config&lt;/code&gt;. Even fancier, you could use GM_registerMenuCommand() to add an entry to the monkey menu which would call &lt;code&gt;window.prompt()&lt;/code&gt; and then use GM_setValue() to change this pseudo-homepage.&lt;/p&gt;

&lt;p&gt;I realize that doesn't do exactly what you asked for, but this is the best thing I can think of.&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-09T02:32:21Z</created-at>
    <forumable-id type="integer">1</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">217971</id>
    <topic-id type="integer">45608</topic-id>
    <updated-at type="datetime">2010-02-09T02:32:21Z</updated-at>
    <user-agent>Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6</user-agent>
    <user-id type="integer">76877</user-id>
  </post>
  <post>
    <body>Hi folks,

I wrote &quot;Reddit fixer&quot; hosted here at http://userscripts.org/scripts/show/39742, source code at http://userscripts.org/scripts/source/39742.user.js. I've been using the @require directive to pull in jQuery at http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js, and this has worked for a long time, but now it makes the script not run.

When the metadata block @requires that file, the script seems to install successfully, but never runs. Replacing everything after the metadata block with an alert() call produces no output. The library address is good, and Greasemonkey always reports a good install. As soon as I remove the @require line and re-install, the script works perfectly.

Reddit includes its own copy of jQuery, but requiring my own has always worked before, up until recently. Am I using the @require directive wrong, or is there some other reason that line is making my script not work?

I am using Greasemonkey 0.8.20091209.4 on Firefox 3.6. I also reproduced the problem with Firefox 3.5.7. This happens on Windows XP x64 SP1, and on a fresh VM of WinXP x86 SP3.

I appreciate any help.</body>
    <body-html>&lt;p&gt;Hi folks,&lt;/p&gt;

&lt;p&gt;I wrote &quot;Reddit fixer&quot; hosted here at &lt;a href=&quot;http://userscripts.org/scripts/show/39742&quot;&gt;http://userscripts.org/scripts/show/39742&lt;/a&gt;, source code at &lt;a href=&quot;http://userscripts.org/scripts/source/39742.user.js&quot;&gt;http://userscripts.org/scripts/source/39742.use...&lt;/a&gt;. I've been using the @require directive to pull in jQuery at &lt;a href=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js&quot;&gt;http://ajax.googleapis.com/ajax/libs/jquery/1/j...&lt;/a&gt;, and this has worked for a long time, but now it makes the script not run.&lt;/p&gt;

&lt;p&gt;When the metadata block @requires that file, the script seems to install successfully, but never runs. Replacing everything after the metadata block with an alert() call produces no output. The library address is good, and Greasemonkey always reports a good install. As soon as I remove the @require line and re-install, the script works perfectly.&lt;/p&gt;

&lt;p&gt;Reddit includes its own copy of jQuery, but requiring my own has always worked before, up until recently. Am I using the @require directive wrong, or is there some other reason that line is making my script not work?&lt;/p&gt;

&lt;p&gt;I am using Greasemonkey 0.8.20091209.4 on Firefox 3.6. I also reproduced the problem with Firefox 3.5.7. This happens on Windows XP x64 SP1, and on a fresh VM of WinXP x86 SP3.&lt;/p&gt;

&lt;p&gt;I appreciate any help.&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-09T02:04:08Z</created-at>
    <forumable-id type="integer">1</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">217967</id>
    <topic-id type="integer">45640</topic-id>
    <updated-at type="datetime">2010-02-09T02:04:56Z</updated-at>
    <user-agent>Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6</user-agent>
    <user-id type="integer">76877</user-id>
  </post>
  <post>
    <body>&lt;a href=&quot;/users/131594&quot;&gt;WarmredAnn&lt;/a&gt; is a &lt;a href=&quot;/users/131594/posts&quot;&gt;spammer&lt;/a&gt;, most recently on topic &lt;a href=&quot;/topics/45637&quot;&gt;Hello!&lt;/a&gt;, with &lt;a href=&quot;/topics/45637#posts-217947&quot;&gt;this post&lt;/a&gt;.
Multiple spams</body>
    <body-html>&lt;p&gt;&lt;a href=&quot;/users/131594&quot;&gt;WarmredAnn&lt;/a&gt; is a &lt;a href=&quot;/users/131594/posts&quot;&gt;spammer&lt;/a&gt;, most recently on topic &lt;a href=&quot;/topics/45637&quot;&gt;Hello!&lt;/a&gt;, with &lt;a href=&quot;/topics/45637#posts-217947&quot;&gt;this post&lt;/a&gt;.
&lt;br /&gt;Multiple spams&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-09T01:09:21Z</created-at>
    <forumable-id type="integer">3</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">217951</id>
    <topic-id type="integer">9</topic-id>
    <updated-at type="datetime">2010-02-09T01:41:43Z</updated-at>
    <user-agent>Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7</user-agent>
    <user-id type="integer">37004</user-id>
  </post>
  <post>
    <body>Well it took a few days but I think I've finally made a viable version of the script &lt;a href=&quot;/scripts/show/68219&quot;&gt;uso - installWith&lt;/a&gt;.

What this script does is encapsulates USO's meta.js in an anonymous wrapper and adds one of the compatible updaters out there.

I could use some testers to probe for ERRATA and if I've missed your @require updater let me know on the scripts &lt;a href=&quot;/topics/45481&quot;&gt;SUGGESTIONS page&lt;/a&gt;... some things you should know... In order to keep the script wrapped your updater can not directly install the script unless you are aware of wrapping.  &lt;a href=&quot;/guides/24&quot;&gt;usoCheckup&lt;/a&gt; of course can directly install the script as it is aware of the wrapper. :)

A lot of you have incomplete instructions on how to use your updater so I haven't checked all the others out there. &quot;Chop to it&quot; ;)</body>
    <body-html>&lt;p&gt;Well it took a few days but I think I've finally made a viable version of the script &lt;a href=&quot;/scripts/show/68219&quot;&gt;uso - installWith&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;What this script does is encapsulates USO's meta.js in an anonymous wrapper and adds one of the compatible updaters out there.&lt;/p&gt;

&lt;p&gt;I could use some testers to probe for ERRATA and if I've missed your @require updater let me know on the scripts &lt;a href=&quot;/topics/45481&quot;&gt;SUGGESTIONS page&lt;/a&gt;... some things you should know... In order to keep the script wrapped your updater can not directly install the script unless you are aware of wrapping.  &lt;a href=&quot;/guides/24&quot;&gt;usoCheckup&lt;/a&gt; of course can directly install the script as it is aware of the wrapper. :)&lt;/p&gt;

&lt;p&gt;A lot of you have incomplete instructions on how to use your updater so I haven't checked all the others out there. &quot;Chop to it&quot; ;)&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-09T00:16:44Z</created-at>
    <forumable-id type="integer">3</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">217924</id>
    <topic-id type="integer">45631</topic-id>
    <updated-at type="datetime">2010-02-09T00:18:18Z</updated-at>
    <user-agent>Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7</user-agent>
    <user-id type="integer">37004</user-id>
  </post>
  <post>
    <body>&lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/2108&quot;&gt;Stylish&lt;/a&gt;
&lt;pre&gt;@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain(&amp;quot;sitehere.com&amp;quot;) {

a&amp;gt;img[src*=&amp;quot;/images/smilies/&amp;quot;] {display:none !important;}

}&lt;/pre&gt;</body>
    <body-html>&lt;p&gt;&lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/2108&quot;&gt;Stylish&lt;/a&gt;&lt;pre&gt;@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain(&amp;quot;sitehere.com&amp;quot;) {

a&amp;gt;img[src*=&amp;quot;/images/smilies/&amp;quot;] {display:none !important;}

}&lt;/pre&gt;&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-08T20:01:16Z</created-at>
    <forumable-id type="integer">1</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">217799</id>
    <topic-id type="integer">45577</topic-id>
    <updated-at type="datetime">2010-02-08T20:01:23Z</updated-at>
    <user-agent>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)</user-agent>
    <user-id type="integer">23652</user-id>
  </post>
  <post>
    <body>I'm attempting to modify a script for personal use, specifically Autologin by clem ( http://userscripts.org/users/1302/scripts ), and I want it to work better with the Safeconnect system that my college implements.  Under this system, at the beginning of a (apparently arbitrarily long) session, the system redirects you to a login page.  If you fail to login, you cannot access the internet, but if you do login, you are redirected to a portal page, rather than the original URL you attempted to visit.  Essentially, I want to add functionality to Autologin to grab that original URL, and redirect you to that page instead of the portal page.  Oddly, simply going back doesn't work, because instead of the original URL it will reload the login page.  This has something to do with the fact that Safeconnect sends the browser a permanent redirect code instead of a temporary one.

I know the basics of Greasemonkey coding, and I was hoping someone could point me in the right direction, preferably some code or already existing script that accomplishes this kind of undoing redirection or grabbing a URL from the URL bar. 

Thanks in advance!


NINJ4</body>
    <body-html>&lt;p&gt;I'm attempting to modify a script for personal use, specifically Autologin by clem ( &lt;a href=&quot;http://userscripts.org/users/1302/scripts&quot;&gt;http://userscripts.org/users/1302/scripts&lt;/a&gt; ), and I want it to work better with the Safeconnect system that my college implements.  Under this system, at the beginning of a (apparently arbitrarily long) session, the system redirects you to a login page.  If you fail to login, you cannot access the internet, but if you do login, you are redirected to a portal page, rather than the original URL you attempted to visit.  Essentially, I want to add functionality to Autologin to grab that original URL, and redirect you to that page instead of the portal page.  Oddly, simply going back doesn't work, because instead of the original URL it will reload the login page.  This has something to do with the fact that Safeconnect sends the browser a permanent redirect code instead of a temporary one.&lt;/p&gt;

&lt;p&gt;I know the basics of Greasemonkey coding, and I was hoping someone could point me in the right direction, preferably some code or already existing script that accomplishes this kind of undoing redirection or grabbing a URL from the URL bar. &lt;/p&gt;

&lt;p&gt;Thanks in advance!&lt;/p&gt;

&lt;p&gt;NINJ4&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-08T19:03:41Z</created-at>
    <forumable-id type="integer">1</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">217735</id>
    <topic-id type="integer">45608</topic-id>
    <updated-at type="datetime">2010-02-08T19:50:55Z</updated-at>
    <user-agent>Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5</user-agent>
    <user-id type="integer">32405</user-id>
  </post>
  <post>
    <body>Hello,
I try to add a top link into all the pages from a domain.
I know it's not so complicated but I'm a big noob.
I try with a mix a several script but can't make it work.

Any help, please?

Here is what I have:
&lt;pre&gt;// ==UserScript==
// @name           Add Read all forums
// @namespace      *
// @include        http://forum1.com/*
// @include        http://forum2.com/*
// ==/UserScript==

if(window.location.href.indexOf(&amp;quot;http://forum1.com&amp;quot;)&amp;gt;=0) {
// something for &amp;lt;a href=&amp;quot;index.php?mark=forums&amp;quot;&amp;gt;Mark all forums read&amp;lt;/a&amp;gt;
}
if(window.location.href.indexOf(&amp;quot;http://forum2.com&amp;quot;)&amp;gt;=0) {
// something for &amp;lt;a href=&amp;quot;index.php?markread&amp;quot;&amp;gt;Mark all forums read&amp;lt;/a&amp;gt;
}&lt;/pre&gt;</body>
    <body-html>&lt;p&gt;Hello,
&lt;br /&gt;I try to add a top link into all the pages from a domain.
&lt;br /&gt;I know it's not so complicated but I'm a big noob.
&lt;br /&gt;I try with a mix a several script but can't make it work.&lt;/p&gt;

&lt;p&gt;Any help, please?&lt;/p&gt;

&lt;p&gt;Here is what I have:
&lt;br /&gt;&lt;pre&gt;// ==UserScript==
// @name           Add Read all forums
// @namespace      *
// @include        http://forum1.com/*
// @include        http://forum2.com/*
// ==/UserScript==

if(window.location.href.indexOf(&amp;quot;http://forum1.com&amp;quot;)&amp;gt;=0) {
// something for &amp;lt;a href=&amp;quot;index.php?mark=forums&amp;quot;&amp;gt;Mark all forums read&amp;lt;/a&amp;gt;
}
if(window.location.href.indexOf(&amp;quot;http://forum2.com&amp;quot;)&amp;gt;=0) {
// something for &amp;lt;a href=&amp;quot;index.php?markread&amp;quot;&amp;gt;Mark all forums read&amp;lt;/a&amp;gt;
}&lt;/pre&gt;&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-08T13:43:32Z</created-at>
    <forumable-id type="integer">2</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">217605</id>
    <topic-id type="integer">45582</topic-id>
    <updated-at type="datetime">2010-02-08T13:44:19Z</updated-at>
    <user-agent>Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729)</user-agent>
    <user-id type="integer">45473</user-id>
  </post>
  <post>
    <body>the tag is  &lt;fairy&gt;  (ignore closing fairy lef tby this site) and the code is

http://www.copypastecode.com/21831/</body>
    <body-html>&lt;p&gt;the tag is  &amp;lt;fairy&gt;  (ignore closing fairy lef tby this site) and the code is&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.copypastecode.com/21831/&quot;&gt;http://www.copypastecode.com/21831/&lt;/a&gt;&amp;lt;/fairy&gt;&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-08T12:31:44Z</created-at>
    <forumable-id type="integer">1</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">217575</id>
    <topic-id type="integer">45577</topic-id>
    <updated-at type="datetime">2010-02-08T12:34:30Z</updated-at>
    <user-agent>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2) Gecko/20100115 Firefox/3.6</user-agent>
    <user-id type="integer">119349</user-id>
  </post>
  <post>
    <body>A powerful extension system like Mozilla's requires a deep architecture. Isn't just adding some code: it's rewriting the whole thing. Even if they went for it, they would have to give up speed, spend a lot of resources, and still risk ending up with an inferior clone of Mozilla.

/conspiracy mode off</body>
    <body-html>&lt;p&gt;A powerful extension system like Mozilla's requires a deep architecture. Isn't just adding some code: it's rewriting the whole thing. Even if they went for it, they would have to give up speed, spend a lot of resources, and still risk ending up with an inferior clone of Mozilla.&lt;/p&gt;

&lt;p&gt;/conspiracy mode off&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-08T11:47:07Z</created-at>
    <forumable-id type="integer">4</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">217567</id>
    <topic-id type="integer">41735</topic-id>
    <updated-at type="datetime">2010-02-08T13:21:49Z</updated-at>
    <user-agent>Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.9.2) Gecko/20100115 Firefox/3.6</user-agent>
    <user-id type="integer">20871</user-id>
  </post>
  <post>
    <body>I thought this at first too but it's good to have the history of a contributor and their &quot;choice of words&quot; for self evaluation.</body>
    <body-html>&lt;p&gt;I thought this at first too but it's good to have the history of a contributor and their &quot;choice of words&quot; for self evaluation.&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-08T08:44:45Z</created-at>
    <forumable-id type="integer">3</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">217526</id>
    <topic-id type="integer">45365</topic-id>
    <updated-at type="datetime">2010-02-08T08:44:45Z</updated-at>
    <user-agent>Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7</user-agent>
    <user-id type="integer">37004</user-id>
  </post>
  <post>
    <body>&lt;blockquote&gt;&lt;strong&gt;&lt;a href=&quot;/users/24800&quot;&gt;vOidSenses&lt;/a&gt;&lt;/strong&gt;&amp;nbsp;&lt;a href=&quot;/topics/3001?page=3#posts-216805&quot;&gt;wrote&lt;/a&gt;:
i can't find a link for it anywhere&lt;/blockquote&gt;LOL They've changed it a bit.  Just start typing in the &quot;I suggest you...&quot; text box and it will come up.  I guess this is a way to eliminate duplicates in case someone else has already made the suggestion. :)</body>
    <body-html>&lt;p&gt;&lt;blockquote&gt;&lt;strong&gt;&lt;a href=&quot;/users/24800&quot;&gt;vOidSenses&lt;/a&gt;&lt;/strong&gt;&amp;nbsp;&lt;a href=&quot;/topics/3001?page=3#posts-216805&quot;&gt;wrote&lt;/a&gt;:
&lt;br /&gt;i can't find a link for it anywhere&lt;/blockquote&gt;LOL They've changed it a bit.  Just start typing in the &quot;I suggest you...&quot; text box and it will come up.  I guess this is a way to eliminate duplicates in case someone else has already made the suggestion. :)&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-08T08:43:40Z</created-at>
    <forumable-id type="integer">3</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">217525</id>
    <topic-id type="integer">3001</topic-id>
    <updated-at type="datetime">2010-02-08T08:43:40Z</updated-at>
    <user-agent>Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7</user-agent>
    <user-id type="integer">37004</user-id>
  </post>
  <post>
    <body>&lt;blockquote&gt;&lt;strong&gt;&lt;a href=&quot;/users/129416&quot;&gt;Sagefire&lt;/a&gt;&lt;/strong&gt;&amp;nbsp;&lt;a href=&quot;/topics/44970?page=1#posts-216661&quot;&gt;wrote&lt;/a&gt;:
Figured it out&lt;/blockquote&gt;I can manipulate the i/frame as well but I'm wondering if manipulating the contents inside the i/frame is still possible.  All the samples and documentation fail. I'm wondering if this is a &quot;new thing&quot; in the W3C.</body>
    <body-html>&lt;p&gt;&lt;blockquote&gt;&lt;strong&gt;&lt;a href=&quot;/users/129416&quot;&gt;Sagefire&lt;/a&gt;&lt;/strong&gt;&amp;nbsp;&lt;a href=&quot;/topics/44970?page=1#posts-216661&quot;&gt;wrote&lt;/a&gt;:
&lt;br /&gt;Figured it out&lt;/blockquote&gt;I can manipulate the i/frame as well but I'm wondering if manipulating the contents inside the i/frame is still possible.  All the samples and documentation fail. I'm wondering if this is a &quot;new thing&quot; in the W3C.&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-08T08:36:49Z</created-at>
    <forumable-id type="integer">2</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">217523</id>
    <topic-id type="integer">44970</topic-id>
    <updated-at type="datetime">2010-02-08T08:36:49Z</updated-at>
    <user-agent>Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7</user-agent>
    <user-id type="integer">37004</user-id>
  </post>
  <post>
    <body>&lt;blockquote&gt;&lt;strong&gt;&lt;a href=&quot;/users/83993&quot;&gt;sine non qua&lt;/a&gt;&lt;/strong&gt;&amp;nbsp;&lt;a href=&quot;/topics/45562#posts-217477&quot;&gt;wrote&lt;/a&gt;:
if not a redirect could it be loaded locally with a URI?&lt;/blockquote&gt;It probably could be mirrored on your own, but you'd need to write a server side process to check for updates and/or strip out the privacy invasion bits... this is a lot of work and also suspect to extreme scrutiny if you share that uri with the world.</body>
    <body-html>&lt;p&gt;&lt;blockquote&gt;&lt;strong&gt;&lt;a href=&quot;/users/83993&quot;&gt;sine non qua&lt;/a&gt;&lt;/strong&gt;&amp;nbsp;&lt;a href=&quot;/topics/45562#posts-217477&quot;&gt;wrote&lt;/a&gt;:
&lt;br /&gt;if not a redirect could it be loaded locally with a URI?&lt;/blockquote&gt;It probably could be mirrored on your own, but you'd need to write a server side process to check for updates and/or strip out the privacy invasion bits... this is a lot of work and also suspect to extreme scrutiny if you share that uri with the world.&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-08T06:54:05Z</created-at>
    <forumable-id type="integer">2</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">217487</id>
    <topic-id type="integer">45562</topic-id>
    <updated-at type="datetime">2010-02-08T06:54:05Z</updated-at>
    <user-agent>Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7</user-agent>
    <user-id type="integer">37004</user-id>
  </post>
  <post>
    <body>- or NOT
+ or AND

| or OR
n NEAR


ex
game -(facebook|myspace) 6 NEAR cheat

exact phrase would be awesome as well</body>
    <body-html>&lt;p&gt;- or NOT
&lt;br /&gt;+ or AND&lt;/p&gt;

&lt;p&gt;| or OR
&lt;br /&gt;n NEAR&lt;/p&gt;

&lt;p&gt;ex
&lt;br /&gt;game -(facebook|myspace) 6 NEAR cheat&lt;/p&gt;

&lt;p&gt;exact phrase would be awesome as well&lt;/p&gt;</body-html>
    <created-at type="datetime">2010-02-08T06:16:57Z</created-at>
    <forumable-id type="integer">3</forumable-id>
    <forumable-type>Forum</forumable-type>
    <id type="integer">217481</id>
    <topic-id type="integer">45111</topic-id>
    <updated-at type="datetime">2010-02-08T06:16:57Z</updated-at>
    <user-agent>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.5.0</user-agent>
    <user-id type="integer">83993</user-id>
  </post>
</posts>
