Greasemonkey,jquery and elements from links to new link

Posted by Bulfen on Stack Overflow See other posts from Stack Overflow or by Bulfen
Published on 2010-05-18T12:05:36Z Indexed on 2010/05/18 12:11 UTC
Read the original article Hit count: 165

Filed under:

Hi all,

I'm pretty new to jquery and greasemonkey. So if someone could help me out it would be great.

Here is an example url I get values from.

Org: http://www.example.com/index.php?value1=blabla1&sid=blabla2&mid=blabla3 Result I want: link://www.example.com/blabla1/data/blabla2/blabla3.ext

example: var sid=document.URL.substring(document.URL.indexOf('sid=')+15); // How do I set the lenght of blabla2 ? -7 ?

Anyway, Hopefully someone understand what I mean and can help me out alittle.

© Stack Overflow or respective owner

Related posts about greasemonkey