[Ext] MR Tech's Link Wrapper 2.2.1 Released

Announce and Discuss the Latest Theme and Extension Releases.
Post Reply
Zoolcar9
Posts: 2225
Joined: November 9th, 2004, 6:45 pm
Location: Jakarta, Indonesia (UTC+7)
Contact:

Post by Zoolcar9 »


The text inside <code>script</code> element still being wrapped although the <code>script</code> tag already blacklisted.

To test this,
open any thread at TEM and paste this code in location bar

Code: Select all

javascript:alert(document.getElementById('gfooter').getElementsByTagName('script')[0].firstChild.nodeValue);

or open any photo at Flickr and paste this code in location bar

Code: Select all

javascript:alert(document.getElementById('button_bar').getElementsByTagName('script')[0].firstChild.nodeValue);


You will see <code><wbr></code> in the script.

My Firefox information | Add-ons | GitHub

"With great power, comes great desire to show it off."
John Liebson
Posts: 6920
Joined: July 29th, 2003, 1:09 pm

Post by John Liebson »

I just found a strange fatal error: The extension not only blocks the automatic inserting of my user name and password at the following URl, but even when I enter the data manually, prevents me from entering the forums:

http://www.trains.com/maghomepage/magho ... Magazine=1

When I disable the extension, the logon works correctly.

[EDIT] Okay, I found out how to fix this myself: Go into About:Config, search for link_wrapper.ignoreList, then chose "modify," go to the end of the string, add |trains ; restart Firefox, and now my password appears when I to to the Trains Magazine site.

Toot, toot (or beep, beep, if you prefer diesel engines...).

This is one of the hidden options add to release 0.9.3.1, as found on the extension's home page.
Pop45398
Posts: 2
Joined: January 10th, 2006, 1:05 pm

Post by Pop45398 »

Why can't Firefox be fixed so it breaks up long links? Internet Explorer does.
User avatar
XerBlade
Posts: 865
Joined: October 4th, 2005, 10:45 pm
Location: Nashville, TN, US

Post by XerBlade »

It does? Since when? The only times I've seen IE do that are when technically I was in a forum where the forum itself was coded to do that itself, so it wasn't IE doing it at all.
User Agent
Extensions
AMD64/2.41GHz RAM/1.0GB ATI/256MB-GDDR3/128-bit/8xAGP Cable6.0M/384kbps
User avatar
gssq
Posts: 504
Joined: December 7th, 2002, 10:17 am
Location: Singapore
Contact:

Post by gssq »

Viewing this page in FF 1.5 and IE 6, the latter wraps the quoted line above so I don't have to scroll horizontally to see all of the screen.

This doesn't happen with FF.
Zoolcar9
Posts: 2225
Joined: November 9th, 2004, 6:45 pm
Location: Jakarta, Indonesia (UTC+7)
Contact:

Post by Zoolcar9 »


BTW, I fixed my Force Wrap GM script (thanks to _Jim_), but failed when I tried to fix Link Wrapper (my FF crashed).

My Firefox information | Add-ons | GitHub

"With great power, comes great desire to show it off."
User avatar
Recall
Posts: 1686
Joined: November 7th, 2004, 11:07 am
Location: United Kingdom

Post by Recall »

Zoolcar9 wrote:
BTW, I fixed my Force Wrap GM script (thanks to _Jim_), but failed when I tried to fix Link Wrapper (my FF crashed).




This one seems to work real nice so far. Yet to come across a site that is broken. Can anyone confirm broken sites
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9) Gecko/2008051206 Firefox/3.0
Zoolcar9
Posts: 2225
Joined: November 9th, 2004, 6:45 pm
Location: Jakarta, Indonesia (UTC+7)
Contact:

Post by Zoolcar9 »

Recall wrote:This one seems to work real nice so far. Yet to come across a site that is broken. Can anyone confirm broken sites

  • Add to exclude list: http*://mail.google.com/*
Last edited by Zoolcar9 on January 16th, 2006, 4:10 pm, edited 1 time in total.
My Firefox information | Add-ons | GitHub

"With great power, comes great desire to show it off."
User avatar
mrtech
Posts: 2007
Joined: May 15th, 2003, 7:46 am
Location: New York
Contact:

Post by mrtech »

well I just applied the patch to Link Wrapper locally set "link_wrapper.ignoreList" to blank and this forums preview worked as does submit, this might fix a few other issues so I'll do some more testing.
mel reyes • mrtech.com • BlogPlaxoLinkedInTwitter
Support mrtech.com get our toolbar
User avatar
XerBlade
Posts: 865
Joined: October 4th, 2005, 10:45 pm
Location: Nashville, TN, US

Post by XerBlade »

gssq wrote:Viewing this page in FF 1.5 and IE 6, the latter wraps the quoted line above so I don't have to scroll horizontally to see all of the screen.

This doesn't happen with FF.

It works in IE because IE doesn't just count spaces as word separators, but various non-letter symbols as well (such as parentheses, brackets, commas, etc., basically punctuation), whereas Firefox does not. IE is not actually wrapping a line of extra-long text so much as treating it as multiple words.
Try this page in IE (made it myself to ensure it sticks, for no other purpose). It is one long line containing absolutely nothing but letters and numbers, and no punctuation. Notice it doesn't wrap, even in IE. Notice this extension, related bookmarklet or script, or other method of wrapping text in a page will wrap it.

Edit: Oh yeah, I forgot to mention, IE doesn't count slashes as word separators either (it is not among those non-letter symbols I mentioned previously). So don't get your hopes up for it wrapping links on that premise, either. See this page (basically the previous one with some slashes added in) to test.
User Agent
Extensions
AMD64/2.41GHz RAM/1.0GB ATI/256MB-GDDR3/128-bit/8xAGP Cable6.0M/384kbps
User avatar
gssq
Posts: 504
Joined: December 7th, 2002, 10:17 am
Location: Singapore
Contact:

Post by gssq »

There's a currently open bug about wrapping links with dashes inside I think.
User avatar
mrtech
Posts: 2007
Joined: May 15th, 2003, 7:46 am
Location: New York
Contact:

Post by mrtech »

0.9.9.9 Release Notes:
<li> Fixed: EventListener fix by Jim Roberts, testing has shown that Link Wrapper no longer needs to ignore specific sites (link_wrapper.ignoreList pref), the ignore list is now reset with this version
<li> Fixed: Resolved some JS console errors
<li> Fixed: Should resolve conflicts with Linkification on some sites
<li> Updated: Now supports newer Flock dev builds
mel reyes • mrtech.com • BlogPlaxoLinkedInTwitter
Support mrtech.com get our toolbar
User avatar
Recall
Posts: 1686
Joined: November 7th, 2004, 11:07 am
Location: United Kingdom

Post by Recall »

All seems to be working fine, will report back with any problems :D
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9) Gecko/2008051206 Firefox/3.0
Zoolcar9
Posts: 2225
Joined: November 9th, 2004, 6:45 pm
Location: Jakarta, Indonesia (UTC+7)
Contact:

Post by Zoolcar9 »


Same problem as my GM script: can't open Gmail, and even worse, it freezes Firefox and Flock.
Add mail.google.com to ignore list

My Firefox information | Add-ons | GitHub

"With great power, comes great desire to show it off."
User avatar
mrtech
Posts: 2007
Joined: May 15th, 2003, 7:46 am
Location: New York
Contact:

Post by mrtech »

Zoolcar9 wrote:
Same problem as my GM script: can't open Gmail, and even worse, it freezes Firefox and Flock.
Add mail.google.com to ignore list

appears to be a 1.5 build issue, using Deer Park builds doesn't do this, if anyone finds any more sites with issues, let me know so that I can add them to the list for an official 1.0 release, thanks.

I've added it locally and will do some more 1.5 testing thanks.
mel reyes • mrtech.com • BlogPlaxoLinkedInTwitter
Support mrtech.com get our toolbar
Post Reply