On Wed, May 5, 2010 at 7:05 PM, zyothi <[email protected]> wrote: > Can I write a script to change the url lets say from google.com to > m.google.com based on some conditions. > Can this be done using greasemonkey? > > and I want to know, is it difficult to write a firefox addon? > How long does it to take to finish the above tasks?
Changing url sounds like the typical thing to do with Greasemokey, although it is not completely clear what do you intend to do (changing the url of some link in the page, changing the current url, i.e., navigating to another site/page?) Writing a Firefox extension is quite a different task, it assumes knowledge of javascirpt, xul, css and some other Mozilla 'technologies' (xpcom), depending -again- on what you plan to do. I don't know what an average person is, but I'd dare say count with some hours/days until you have a working extension if you're starting from scratch without knowledge of the above ahm... technologies? For tasks that can be achieved with 'just' a Greasemonkey script, you have the option of automatically converting the script to a Firefox extension, check out the Greasemonkey wiki to find out how (sorry, I'm too lazy to provide the link). -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/greasemonkey-users?hl=en.
