Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var NewUrl = 'http://technorati.com/tag/';
- var LastPart = location.pathname.match( /[^/]+/?$/ );
- window.open( NewUrl + LastPart );
- ^[a-z]+://[^/#?]+/[^#?]*?([^#?/]+)(?:[#?]|$)
- ^([^#?]*?)/?(?:[#?]|$)
- $1/tag
Add Comment
Please, Sign In to add comment