Thanks for the help Adam. A browser-action or "content-action", would be fine, as long as the API allows developers to code for the previously mentioned use cases. For example, the a content action that shows a link preview could be set as "clicked" declaratively, showing the html behind the action. Another attribute that hides the icon would complete the desired effect.
I'd like the file an RFE in the proper channel, which I believe to the the Chrome issues tracker, but I discovered a design proposal called Gleam which aims to do something similar, but not quite what I want. Could you point me in the right direction? -Min On Jan 7, 6:20 pm, Adam Barth <[email protected]> wrote: > 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 > > 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.
