I still have a feeling that it would be nice to have a generic interface that allows any Firefox standard command to be executed. Who makes that decision? Would I just have to add two new files, ext-print.js and print.json?Ĥ. We may want to add the new interface to a new set of interfaces, for example, to browser.print rather than to browser.tabs. I understand I would have to add the new bespoke interface to browser.tabs rather than to chrome.tabs. As an example, to add a new interface to chrome.tabs, what else would I need to modify besides ext-tabs.js and tabs.json?Ģ. ![]() I have looked at the documents and source code referenced by Andy.Īs far as I can see, the changes I need to make to implement a printPreview() API are fairly trivial, and the effort involved will be far outweighed by setting up the Firefox build environment!ġ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |