Matthias Jansen

About me

Developer Information
Name Matthias Jansen
Email address
User since July 2, 2009
Number of add-ons developed 0 add-ons
Average rating of developer's add-ons Not yet rated

My Reviews

LongURL Mobile Expander

Bugfix for previous posts Rated 4 out of 5 stars

Hi all,

to fix the bug with the current_domain is null you have to modify the file longurlmobileexpander.js on line 79:

The new line should look like:
-----------------------------------------------------------
var current_domain = document.location.href.match(/^https?:\/\/(?:www\.)?([^\.]+(\.[^\/]+)?)/i);
-----------------------------------------------------------

I just made the second part of the domain optional in the regex.

Best regards,

Matthias Jansen