Sorry to ask, but could you clarify a little? I tried

pdflinks[i].style.background = 'url(location.hostname://
edonhiglkbcngojedpmbgenfgohdekoj/image.gif)';

but that didn't work.


On Oct 17, 9:21 pm, Pedro Junior <[email protected]> wrote:
> location.hostname
>
> On Oct 17, 10:59 pm, ehamiter <[email protected]> wrote:
>
> > Title says it all, really. Using find and replace links and want to
> > include a local image instead of calling on the http address to save
> > bandwidth. I have the image in the directory, and manually typing in
>
> > chrome-extension://edonhiglkbcngojedpmbgenfgohdekoj/image.gif
>
> > works. However, when I try to use it in a script as such
>
> > links[i].style.background = 'url(chrome-extension://
> > edonhiglkbcngojedpmbgenfgohdekoj/image.gif) no-repeat';
>
> > then it doesn't get called. Can I get around this?
>
> > Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" 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/chromium-extensions?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to