Those are good use cases.  I'm sorry that we don't have anything
better to offer you at this time than an iframe.  I wonder if the
ability to create a browser-action like popup in the content area
would be helpful here.

Adam


On Thu, Jan 7, 2010 at 6:02 PM, Min Huang <[email protected]> wrote:
> Basically I'm trying to emulate one of the following effects:
>
> a) xmarks smarter search
> http://www.xmarks.com/about/features
>
> b) coolpreview's site preview
> https://addons.mozilla.org/en-US/firefox/addon/2207
>
> or even the simpler
> c) https://addons.mozilla.org/en-US/firefox/addon/189
>
> In the case of xmarks, the content is injected based on browsing
> preferences, and I want that (and any other data used to determine
> where/what content to inject) to be kept private.
>
> On Jan 7, 5:05 pm, Adam Barth <[email protected]> wrote:
>> > Can you explain at a higher level what you're trying to achieve?
>> > There might be another way to achieve the same thing.
>>
>> > Adam
>>
>> > On Thu, Jan 7, 2010 at 4:54 PM, Min Huang <[email protected]> wrote:
>> >> I was afraid of that.
>>
>> >> I briefly considered iframes, but the problem remained that a sneaky
>> >> webpage could still change the iframe's src attribute and mess me up.
>>
>> >> -Min
>>
>> >> On Jan 7, 4:30 pm, Adam Barth <[email protected]> wrote:
>> >>> This effect is difficult to achieve.  The only way I can think of to
>> >>> do it is with an iframe to a domain your control.  You can also use an
>> >>> iframe to a data URL if you don't want to involve a server.
>>
>> >>> Adam
>>
>> >>> On Thu, Jan 7, 2010 at 4:22 PM, Min Huang <[email protected]> wrote:
>> >>> > Hello, I would like to inject content into a webpage's DOM; however, I
>> >>> > do not want said webpage to have access to any of the injected
>> >>> > content.  There is a means of doing this in Firefox via XBL and
>> >>> > anonymous content (eg the file input element is composed of a text
>> >>> > input and a button input, but the individual text and button inputs
>> >>> > are not accessible directly).
>>
>> >>> > If this is not possible, I would be happy with some mechanism to
>> >>> > overlay content onto a webpage or the browser (similar to how XUL
>> >>> > panels work in Firefox).
>>
>> >>> > Can anybody help?
>>
>> >>> > 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 
>> >>> > athttp://groups.google.com/group/chromium-extensions?hl=en.
>>
>> >> --
>> >> 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 
>> >> athttp://groups.google.com/group/chromium-extensions?hl=en.
>
> --
> 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.
>
>
>
>
-- 
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