Hopefully one day we'll get a simple API to do this automatically. See: http://ubiquity.mozilla.com/trac/ticket/356
- Blair On 2/02/2009 9:56 AM, satyr wrote: > The easiest way would be to use the BASE element. e.g.: > > pblock.innerHTML = '<base href="http://url.of.your/choice/"/>'+ htm; > > On Feb 2, 4:00 am, amau96<[email protected]> wrote: >> In my code, I use jquery to get html from a page and insert it by >> inner html in the preview part of ubiquity. >> The probleme is some link are relative, like<a href="/mypage/ >> look.txt">, so when I click on the link the url look like that : >> chrome://ubiquity/mypage/look.txt >> >> What can I do to fix this, to replace chrome://ubiquity bye the url >> of my choice? >> >> thanks > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ubiquity-firefox" 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/ubiquity-firefox?hl=en -~----------~----~----~----~------~----~------~--~---
