English 中文(简体)
Plugin for Opera. DOM-tree modification
原标题:

I want to create a plugin for opera that modifies tha DOM-tree after the page have been loaded. Does opera have an appropriate plugin API?

问题回答

Opera now has an extension API. Here s a link to a documentation entry point: http://dev.opera.com/articles/view/opera-extensions-hello-world

Opera supports the NPAPI plugin API (whic powers flash, java, etc), but I suspect you are referring to an extension API like Firefox, Chrome, and Safari have. Opera does not have a comparable extension API.

Edit by Hallvord: this answer is outdated. While correct at the time, Opera has now developed extensions support.





相关问题
PHP DOM - accessing newly added nodes

I use the following to get a html document into DOM: $dom = new domDocument( 1.0 , utf-8 ); $dom->loadHTML($html) and then I add some new content to an element in the html: $element = $dom->...

XML DOM parsing br tag

I need to parse a xml string to obtain the xml DOM, the problem I m facing is with the self closing html tag like <br /> giving me the error of Tag mismatch expected </br>. I m aware this ...

How to get a flash url in a webpage using a webframe?

As we know , When we load frame from webpage of safari, we will invoke the delegate methods of webkit informal protocol(WebFrameLoadDelegate): webView:didStartProvisionalLoadForFrame: webView:...

热门标签