Hi!
Guys I have a question, hoping you can help me out with this one. I have a bookmarklet;
javascript:q=(document.location.href);void(open('http://other.example.com/search.php?search='+location.href,'_self ','resizable,location,menubar,toolbar,scrollbars,status'));
which takes URL of the current webpage and search for it in another website. When I use this bookmarklet it takes the whole URL including http://
and searches for it. But now I would like to change this bookmarklet so it will take only the www.example.com
or just example.com
(without http://
) and search for this url. Is it possible to do this and can you please help me with this one?
Thank you!