kwierso | 5 years ago | on: Rust Foundation: Hello, World
kwierso's comments
kwierso | 6 years ago | on: Things about the new Firefox browser for Android
kwierso | 6 years ago | on: Things about the new Firefox browser for Android
kwierso | 6 years ago | on: Things about the new Firefox browser for Android
kwierso | 10 years ago | on: Windows 10 is unfinished
kwierso | 11 years ago | on: WebIDE lands in Firefox Nightly
kwierso | 12 years ago | on: Reconciling Mozilla’s Mission and the W3C EME
"As plugins today, the CDM itself will be distributed by Adobe and will not be included in Firefox. The browser will download the CDM from Adobe and activate it based on user consent."
kwierso | 13 years ago | on: Everybody Hates Firefox Updates
kwierso | 14 years ago | on: Writing Browser Extensions - Comparing Firefox, Chrome and Opera
Then just use "Cc" instead of "Components.classes" and "Ci" instead of "Components.interfaces" for anything that needs them.
For example, the code in the "adding a stylesheet" section of this page ( https://developer.mozilla.org/en/Using_the_Stylesheet_Servic... ) would look like this: var sss = Cc["@mozilla.org/content/style-sheet-service;1"] .getService(Ci.nsIStyleSheetService); var ios = Cc["@mozilla.org/network/io-service;1"] .getService(Ci.nsIIOService); var uri = ios.newURI("chrome://myext/content/myext.css", null, null); sss.loadAndRegisterSheet(uri, sss.USER_SHEET);
(Assuming you actually have a stylesheet registered at "chrome://myext/content/myext.css", you will just have registered it with the stylesheet service, and it will take effect immediately.)
"rust-acean"