<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Discussion on Text to Link | Userscripts.org</title>
    <link>http://userscripts.org/scripts/show/7122</link>
    <description>Recent comments on userscript: Text to Link</description>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>CSS bug, replied by Vaer</title>
      <description>&lt;p&gt;Inherit from their parent:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;
(added spans), (added links) {
	color:inherit;
	background:transparent;
}
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;Although, it's just come to my mind that the real problem isn't the CSS. It's that &quot;+100&quot; shouldn't be made into a link?&lt;/p&gt;</description>
      <pubDate>Tue, 05 May 2009 21:41:21 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:23677:118188</guid>
      <author>Vaer</author>
      <link>http://userscripts.org/posts/118188</link>
    </item>
    <item>
      <title>CSS bug, replied by Kim A. Brandt</title>
      <description>&lt;p&gt;... inherit the colour from where?&lt;/p&gt;

&lt;p&gt;I don't think this script should add any CSS to the links it's generating. What I like about the way it's done is that links inherit the styles from the CSS on the page they're on and for the position they're in. This makes them unobtrusive and fit right into the page together with existing links (most of the time that is).&lt;/p&gt;

&lt;p&gt;Maybe instead you could add some styles to your userChrome.css for the page you're talking about.&lt;/p&gt;</description>
      <pubDate>Mon, 20 Apr 2009 16:34:19 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:23677:112888</guid>
      <author>Kim A. Brandt</author>
      <link>http://userscripts.org/posts/112888</link>
    </item>
    <item>
      <title>IP parsing bug, replied by Vaer</title>
      <description>&lt;p&gt;Thanks :)&lt;/p&gt;</description>
      <pubDate>Tue, 24 Mar 2009 07:30:00 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21453:105214</guid>
      <author>Vaer</author>
      <link>http://userscripts.org/posts/105214</link>
    </item>
    <item>
      <title>CSS bug, replied by Vaer</title>
      <description>&lt;p&gt;I've run into a case which are like this on Stack Overflow.&lt;/p&gt;

&lt;p&gt;original html:
&lt;br /&gt;&lt;pre&gt;
&amp;lt;div title=&quot;this question has an open bounty worth 100 reputation&quot; class=&quot;bounty-indicator&quot;&gt;
	+100
&amp;lt;/div&gt;
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;after text to link:
&lt;br /&gt;&lt;pre&gt;
&amp;lt;div title=&quot;this question has an open bounty worth 100 reputation&quot; class=&quot;bounty-indicator&quot;&gt;
	&amp;lt;span&gt;
		&amp;lt;a href=&quot;tel:+100&quot;&gt;
			+100
		&amp;lt;/a&gt;
	&amp;lt;/span&gt;
&amp;lt;/div&gt;
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;The problem occurs because the css applies a blue background to .bounty-indicator and a blue color to all links:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;
.bounty-indicator {
	background-color:#0077DD;
	color:white;
}
a {
	color:#0077CC;
}
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;The only solution I can think of is if you assign a class to the links and spans and add CSS that makes them inherit their color and have a transparent background.&lt;/p&gt;</description>
      <pubDate>Mon, 23 Mar 2009 07:17:51 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:23677:104890</guid>
      <author>Vaer</author>
      <link>http://userscripts.org/posts/104890</link>
    </item>
    <item>
      <title>redirect bug, replied by Kim A. Brandt</title>
      <description>&lt;p&gt;Oh right, I didn't really fix anything yet. I just saw the `false positive' in your example and added some rules to the regexp. Just visit any other text document with links in it. It still does what you described.&lt;/p&gt;</description>
      <pubDate>Thu, 12 Feb 2009 17:30:08 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21481:95757</guid>
      <author>Kim A. Brandt</author>
      <link>http://userscripts.org/posts/95757</link>
    </item>
    <item>
      <title>redirect bug, replied by anonymous_user</title>
      <description>&lt;p&gt;Thanks for the fix :)&lt;/p&gt;</description>
      <pubDate>Wed, 11 Feb 2009 22:28:17 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21481:95648</guid>
      <author>anonymous_user</author>
      <link>http://userscripts.org/posts/95648</link>
    </item>
    <item>
      <title>IP parsing bug, replied by Kim A. Brandt</title>
      <description>&lt;p&gt;I uploaded the current version of this script, which seams to ignore that pattern. Though it is a valid IPv6 address:) By the way I keep my (close to) up-to-date scripts at the `Script homepage': &lt;a href=&quot;http://www.mozdev.org/source/browse/prefswitch/src/inject/&quot;&gt;http://www.mozdev.org/source/browse/prefswitch/...&lt;/a&gt;.&lt;/p&gt;</description>
      <pubDate>Tue, 10 Feb 2009 20:48:11 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21453:95353</guid>
      <author>Kim A. Brandt</author>
      <link>http://userscripts.org/posts/95353</link>
    </item>
    <item>
      <title>redirect bug, replied by Kim A. Brandt</title>
      <description>&lt;p&gt;I am not sure if this only happens with Firefox 3 (wyciwyg-scheme [&lt;a href=&quot;http://en.wikipedia.org/wiki/WYCIWYG&quot;&gt;http://en.wikipedia.org/wiki/WYCIWYG&lt;/a&gt;]) or also with older versions of Firefox!? I will see what can be done. In the meantime you could use the `Recent pages' drop-down and skip the text-document which would otherwise be re-linkified, what you described as `looping', or you could remove/comment out the part in the source of the script which creates links in text documents.&lt;/p&gt;</description>
      <pubDate>Tue, 10 Feb 2009 20:27:45 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21481:95344</guid>
      <author>Kim A. Brandt</author>
      <link>http://userscripts.org/posts/95344</link>
    </item>
    <item>
      <title>redirect bug, replied by anonymous_user</title>
      <description>&lt;p&gt;Sometimes a link will send you to another page (or a text file) and when you try to go back it will go to the url and you get in a loop.&lt;/p&gt;

&lt;p&gt;One example is the changelog link found on this page: &lt;a href=&quot;http://www.twotoasts.de/index.php?/pages/midori_summary.html&quot;&gt;http://www.twotoasts.de/index.php?/pages/midori...&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Screenshot: &lt;a href=&quot;http://img18.picoodle.com/img/img18/3/1/20/f_20090120123m_77b55b8.png&quot;&gt;http://img18.picoodle.com/img/img18/3/1/20/f_20...&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I found the problem was caused by this script.&lt;/p&gt;</description>
      <pubDate>Sun, 08 Feb 2009 21:47:02 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21481:94882</guid>
      <author>anonymous_user</author>
      <link>http://userscripts.org/posts/94882</link>
    </item>
    <item>
      <title>IP parsing bug, replied by Vaer</title>
      <description>&lt;p&gt;IPs in the form &quot;[123.123.123.123]&quot; get parsed to &quot;http://[123.123.123.123]&quot;. The square brackets should be removed.&lt;/p&gt;</description>
      <pubDate>Sun, 08 Feb 2009 09:03:12 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21453:94789</guid>
      <author>Vaer</author>
      <link>http://userscripts.org/posts/94789</link>
    </item>
    <item>
      <title>Archived Comments, replied by Kim A. Brandt</title>
      <description>&lt;p&gt;Do you want to open links in a new tab? Shouldn't that be the job of your browser?&lt;/p&gt;</description>
      <pubDate>Thu, 06 Nov 2008 17:03:23 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:11812:30263</guid>
      <author>Kim A. Brandt</author>
      <link>http://userscripts.org/posts/30263</link>
    </item>
    <item>
      <title>Archived Comments, replied by NotStyle</title>
      <description>&lt;p&gt;can be posible &quot;link in new tab&quot; function?&lt;/p&gt;</description>
      <pubDate>Wed, 05 Nov 2008 04:08:14 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:11812:30264</guid>
      <author>NotStyle</author>
      <link>http://userscripts.org/posts/30264</link>
    </item>
    <item>
      <title>Archived Comments, replied by Midnightrusher</title>
      <description>&lt;p&gt;No, I mean something other ^^ , but it's not neccessary
&lt;br /&gt;forget my idea ;-)&lt;/p&gt;</description>
      <pubDate>Sat, 13 Sep 2008 15:03:57 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:11812:30265</guid>
      <author>Midnightrusher</author>
      <link>http://userscripts.org/posts/30265</link>
    </item>
    <item>
      <title>Archived Comments, replied by Kim A. Brandt</title>
      <description>&lt;p&gt;I guess you are talking about greasemonkey and `Adding items to the menubar'[1].
&lt;br /&gt;I do not specifically write scripts for greasemonkey but you're welcome to make
&lt;br /&gt;the necessary changes and upload a new script.&lt;/p&gt;

&lt;p&gt;You would have to fiddle around with the regular expressions that I used in the
&lt;br /&gt;script. When making a callback from a menuitem you could change some boolean
&lt;br /&gt;value to signalize a change in the settings.&lt;/p&gt;

&lt;p&gt;[1] Adding items to the menubar - &lt;a href=&quot;http://diveintogreasemonkey.org/advanced/gm_registermenucommand.html&quot;&gt;http://diveintogreasemonkey.org/advanced/gm_reg...&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 13 Sep 2008 13:39:15 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:11812:30266</guid>
      <author>Kim A. Brandt</author>
      <link>http://userscripts.org/posts/30266</link>
    </item>
    <item>
      <title>Archived Comments, replied by Midnightrusher</title>
      <description>&lt;p&gt;hiho, nice script ;-)&lt;/p&gt;</description>
      <pubDate>Sat, 13 Sep 2008 10:10:10 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:11812:30267</guid>
      <author>Midnightrusher</author>
      <link>http://userscripts.org/posts/30267</link>
    </item>
    <item>
      <title>Archived Comments, replied by Kim A. Brandt</title>
      <description>&lt;p&gt;What we could do is transform a XML into XHTML by using XSLT. I will look into it.
&lt;br /&gt;For now I fixed the script so no exception is thrown when encountering unsupported documents.&lt;/p&gt;</description>
      <pubDate>Thu, 28 Aug 2008 16:22:07 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:11812:30268</guid>
      <author>Kim A. Brandt</author>
      <link>http://userscripts.org/posts/30268</link>
    </item>
    <item>
      <title>Archived Comments, replied by Argrithmag Neocram</title>
      <description>&lt;p&gt;I installed this, however when i navigated to an xml file, not of the text links in the xml file were displayed as links.  Any suggestions?&lt;/p&gt;</description>
      <pubDate>Tue, 26 Aug 2008 13:23:44 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:11812:30269</guid>
      <author>Argrithmag Neocram</author>
      <link>http://userscripts.org/posts/30269</link>
    </item>
    <item>
      <title>Archived Comments, replied by Kim A. Brandt</title>
      <description>&lt;p&gt;That's cool.&lt;/p&gt;

&lt;p&gt;An explanation for that could be the script makes changes to the HTML-source directly instead of using DOM (objects). It's faster but there're more things to take care of.&lt;/p&gt;

&lt;p&gt;Cheers&lt;/p&gt;</description>
      <pubDate>Wed, 12 Dec 2007 13:57:59 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:11812:30270</guid>
      <author>Kim A. Brandt</author>
      <link>http://userscripts.org/posts/30270</link>
    </item>
    <item>
      <title>Archived Comments, replied by bobielawlintine</title>
      <description>&lt;p&gt;Well with the updated script I no longer experience the problem. Thanks.&lt;/p&gt;</description>
      <pubDate>Wed, 12 Dec 2007 07:04:14 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:11812:30271</guid>
      <author>bobielawlintine</author>
      <link>http://userscripts.org/posts/30271</link>
    </item>
    <item>
      <title>Archived Comments, replied by Kim A. Brandt</title>
      <description>&lt;p&gt;Hmm... it's working for me. Are you sure it's this script and not something else? If you can/like try to run this script alone and turn of the others. Maybe changing the order of executing scripts might help!?&lt;/p&gt;

&lt;p&gt;Is that the only site or does that happen all the time?&lt;/p&gt;

&lt;p&gt;I guess I would need the HTML-source from that site since it could be that you are served with a slightly different HTML-code then me. You can send it to `kimabrandt at gmx dot de'.&lt;/p&gt;

&lt;p&gt;I'm sorry I can't be of a better help at the moment.&lt;/p&gt;

&lt;p&gt;Cheers&lt;/p&gt;</description>
      <pubDate>Tue, 11 Dec 2007 21:17:47 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:11812:30272</guid>
      <author>Kim A. Brandt</author>
      <link>http://userscripts.org/posts/30272</link>
    </item>
    <item>
      <title>Archived Comments, replied by bobielawlintine</title>
      <description>&lt;p&gt;With the script enabled:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://i14.tinypic.com/71xvfhy.png&quot;&gt;http://i14.tinypic.com/71xvfhy.png&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;and script disabled:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://i7.tinypic.com/6jmxwys.png&quot;&gt;http://i7.tinypic.com/6jmxwys.png&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 10 Dec 2007 18:35:11 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:11812:30273</guid>
      <author>bobielawlintine</author>
      <link>http://userscripts.org/posts/30273</link>
    </item>
    <item>
      <title>Archived Comments, replied by Kim A. Brandt</title>
      <description>&lt;p&gt;Do you have a link and/or screenshot?&lt;/p&gt;</description>
      <pubDate>Sun, 09 Dec 2007 23:02:42 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:11812:30274</guid>
      <author>Kim A. Brandt</author>
      <link>http://userscripts.org/posts/30274</link>
    </item>
    <item>
      <title>Archived Comments, replied by bobielawlintine</title>
      <description>&lt;p&gt;It seems that when I have this script enabled, Google Images will not show.&lt;/p&gt;</description>
      <pubDate>Sat, 08 Dec 2007 07:21:42 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:11812:30275</guid>
      <author>bobielawlintine</author>
      <link>http://userscripts.org/posts/30275</link>
    </item>
    <item>
      <title>Archived Comments, replied by Kim A. Brandt</title>
      <description>&lt;p&gt;&lt;a href=&quot;http://userscripts.org/scripts/show/7122#comment-24543&quot;&gt;matrixik&lt;/a&gt; I added a variable `AUTO_STOP' which when set to `false' will ask to continue the script (no change). You have to set it to `true' by yourself if you don't want the question to pop up.&lt;/p&gt;

&lt;p&gt;To do this:
&lt;br /&gt;	1) right-click on the Greasemonkey icon in the status-bar
&lt;br /&gt;	2) click on the `Manage User Scripts' menu-item
&lt;br /&gt;	3) select `Text to Link' from the list-box
&lt;br /&gt;	4) click on the `Edit' button
&lt;br /&gt;	4a) evtl. choose the editor to use
&lt;br /&gt;	5) search for `const AUTO_STOP' in the script
&lt;br /&gt;	6) change `const AUTO_STOP = false;' to say `const AUTO_STOP = true;'&lt;/p&gt;</description>
      <pubDate>Thu, 06 Dec 2007 10:57:24 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:11812:30276</guid>
      <author>Kim A. Brandt</author>
      <link>http://userscripts.org/posts/30276</link>
    </item>
    <item>
      <title>Archived Comments, replied by matrixik</title>
      <description>&lt;p&gt;Can You add option to auto stop change text to link if your script work too long? I don't want to see that message every time.&lt;/p&gt;</description>
      <pubDate>Wed, 05 Dec 2007 20:47:50 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:11812:30277</guid>
      <author>matrixik</author>
      <link>http://userscripts.org/posts/30277</link>
    </item>
  </channel>
</rss>
