Search completed in 0.85 seconds.
NavigatorPlugins.plugins - Web APIs
returns a pluginarray object, listing the plugin objects describing the
plugins installed in the application.
... in firefox 29 and later, enumeration of the navigator.
plugins array may be restricted as a privacy measure.
... applications that must check for the presence of a browser plugin should query navigator.
plugins or navigator.mimetypes by exact name instead of enumerating the navigator.
plugins array and comparing every plugin's name.
...And 8 more matches
Scripting plugins - Plugins
(a bit of history: npapi
plugins that used to take advantage of being scriptable via liveconnect in 4.x netscape browsers lost this possibility in mozilla (due to the jni making the netscape 4.x jri obsolete).
... as an answer to this large gap in the netscape plugin api, an extension to the api has been developed that lets
plugins be scriptable again, independent of java.
... this extension will also let
plugins access the script objects in the browser, and is thus a much stronger and more flexible api.) the information in this section applies to firefox 1.0 and mozilla 1.7.5 and newer versions.
...And 2 more matches
Using XPInstall to Install Plugins - Archive of obsolete content
it can be a way to ensure a smooth user-experience when obtaining
plugins, without obliging the user to exit the browsing environment to launch a binary installer (the classic setup.exe experience on windows) or obliging the user to restart their browser.
...this article is about how you can use xpinstall to install
plugins to the browsers that support xpinstall.
...this article focuses on how to install
plugins.
...And 18 more matches
Plugins - Archive of obsolete content
note:
plugins are now a legacy technology.
...mozilla encourages website developers to avoid using
plugins wherever possible and use standard web apis instead.
...
plugins are shared libraries that users can install to display content that the browser can't display natively.
...And 18 more matches
Plug-in Basics - Plugins
type "about:
plugins" in the location bar.
... %appdata%\mozilla\
plugins, where %appdata% denotes per-user application data directory.
... profile directory\
plugins, where profile directory is a user profile directory.
...And 15 more matches
Using the Right Markup to Invoke Plugins - Archive of obsolete content
the object element: w3c standards and cross-browser issues the object element is part of the html 4.01 specification, and is the recommended mechanism to invoke
plugins.
...future netscape browsers based on mozilla source code will allow the use of a special param element to specify where to get
plugins that are not present, but this feature is not available in netscape 7.
...ovie" value="javascript-to-flash.swf" /> <param name="quality" value="high" /> <param name="swliveconnect" value="true" /> <p>you need flash -- get the latest version from <a href="http://www.macromedia.com/downloads/"> here.</a></p> </object> </object> web authors have to specify anobtainment mechanism in mozilla-based browsers -- the browser won't automatically retrieve
plugins that are missing if you don't specify where to get the plugin from using the codebase attribute.
...And 6 more matches
Plug-in Development Overview - Plugins
npp_getvalue is called after the plug-in is initialized to get the scripting interface while np_getvalue is called during initialization to retrieve the plug-in's name and description, which will appear in the navigator.
plugins dom object which is used to populate about:
plugins.
... to determine the supported mime types, gecko first checks for registry information in the
plugins info.plist.
...
plugins should use the info.plist approach, and only use the following method as a supplement to support older browsers.
...And 6 more matches
Plugin Roadmap for Firefox - Plugins
plugins are a security and performance problem for firefox users.
... npapi
plugins are an obsolete technology, and mozilla has been moving toward a web which doesn't need
plugins.
...below is the roadmap of past and future support for
plugins in firefox.
...And 6 more matches
Obsolete: XPCOM-based scripting for NPAPI plugins - Archive of obsolete content
it does not cover netscape 6 and 6.01 introduction
plugins that used to take advantage of being scriptable via liveconnect in 4.x netscape browsers lost this possibility in the new world.
...we leverage some of these ideas to help you make your netscape communicator 4.x
plugins exposed to javascript in mozilla based browsers.
... in order to make it still possible to script
plugins, some changes have been made to the mozilla code.
...And 5 more matches
Blocking By Domain - Plugins
plugins such as flash are a performance and security problem for firefox users.
...rather than block
plugins entirely, firefox is limiting the impact of
plugins by blocking certain domains from using
plugins.
... effects of plugin blocking once a site is included in plugin blocking, it is not possible for that site or any subframes within that site to use
plugins.
...And 5 more matches
Plugins
plugins are shared libraries that users can install to display content that the browser can't display natively.
... important:
plugins are a legacy technology that are a security and performance problem for firefox (and other browser) users.
... roadmap highlights since firefox 52,
plugins other than flash are not loaded by firefox.
...And 4 more matches
Installing plugins to Gecko embedding browsers on Windows - Archive of obsolete content
to find the
plugins directory applicable to netscape 6.1, 6.2.x, netscape 7.0 (and up), mozilla 1.0, and compuserve 7.0 this section details the suggested mechanism to find out where to install the plugin dll so that it is picked up by mozilla based browsers on the desktop.
...hkey_local_machine\software\mozilla\netscape 6 6.1\extensions\ access the
plugins value and value-data pair, e.g:
plugins = c:\program files\netscape\netscape 6\
plugins.
...future mozilla based browsers won't distinguish between
plugins and components, and will pick both up from a common location.
...And 3 more matches
XEmbed Extension for Mozilla Plugins - Archive of obsolete content
overview recent versions of mozilla include an extension for writing
plugins that use xembed instead of using the old xt-based mainloop that most
plugins have been using since the netscape 3.x days.
...also, when included with builds of mozilla that are based on gtk 1.2 or gtk 2.x, the xt code that hosts the
plugins is at best hacky and has been the source for many minor problems including inconsistent focus behavior as well as occasional crashes.
... it's recommended that you have a look at the gecko plugin api reference since this document will include information that assumes that you are already familiar with the way that
plugins are currently hosted as well as the apis.
...And 3 more matches
NavigatorPlugins - Web APIs
the navigator
plugins mixin adds to the navigator interface methods and properties for discovering and interacting with
plugins installed into the browser.
... properties navigator
plugins.mimetypes read only returns an mimetypearray listing the mime types supported by the browser.
... navigator
plugins.
plugins read only returns a pluginarray listing the
plugins installed in the browser.
...And 3 more matches
refreshPlugins - Archive of obsolete content
refresh
plugins refreshes the list of plug-ins registered for the browser.
... method of install object syntax int refresh
plugins( [ areloadpages ] ); parameters the refresh
plugins method has the following parameter: areloadpages areloadpages is an optional boolean value indicating whether you want to reload the open web pages after you have refreshed the plug-in list.
...description refresh
plugins lets you register new plug-ins without having to restart the browser.
...And 2 more matches
NPN_ReloadPlugins - Archive of obsolete content
« gecko plugin api reference « browser side plug-in api summary reloads all of the installed
plugins.
... syntax #include <npapi.h> void npn_reload
plugins(npbool reloadpages);code parameters the function has the following parameter: reloadpages whether to reload pages.
... if true, all pages are reloaded once the
plugins are reloaded; otherwise, they aren't.
...And 2 more matches
Document.plugins - Web APIs
the
plugins read-only property of the document interface returns an htmlcollection object containing one or more htmlembedelements representing the <embed> elements in the current document.
... for a list of installed
plugins, use navigator
plugins.
plugins instead.
... syntax embedarrayobj = document.
plugins value an htmlcollection, or null if there are no embeds in the document.
... specifications specification status comment html living standardthe definition of 'document.
plugins' in that specification.
Logging Multi-Process Plugins - Archive of obsolete content
when multi-process
plugins are enabled, firefox has the ability to dump additional information about interactions between the browser and a plugin.
...from within a command prompt: c:\> set nspr_log_modules=ipc
plugins:5 c:\> set nspr_log_file=c:\
plugins.log c:\> cd c:\program files\mozilla firefox c:\> firefox.exe the log file will be saved to c:\
plugins.log (or wherever nspr_log_file is set).
...from within a bash shell: $ export nspr_log_modules=ipc
plugins:5 $ export nspr_log_file=~/
plugins.log $ /usr/bin/firefox the file will be saved to ~/
plugins.log (or wherever nspr_log_file is set).
Supporting private browsing in plugins - Archive of obsolete content
it also introduced a mechanism by which
plugins can determine whether or not private browsing mode is in effect.
...
plugins should be updated to monitor the state of private browsing mode and only save private information when private browsing is disabled.
... for example, if private browsing mode is in effect, video player
plugins should not record the urls of watched videos in their histories.
Creating MozSearch plugins
firefox 2 uses a simplified form of the opensearch format for storing search
plugins.
...it should only be used if your intention is to distribute the search plugin packaged in a firefox extension, or if you are creating
plugins meant to be shipped by default in a firefox build.
... for creating search
plugins for installation from the web, see creating opensearch
plugins for firefox the plugin file the mozsearch format is similar to the opensearch format.
Version, UI, and Status Information - Plugins
bool has_windowless() { npbool supportswindowless = false; nperror ret = npn_getvalue(instance, npnvsupportswindowless, &supportswindowless); return ret == nperr_no_error && supportswindowless; } reloading a plug-in when the browser starts up, it loads all the plug-ins it finds in the
plugins directory for the platform.
... if you call npn_reload
plugins, the browser reloads all plug-ins in the
plugins directory without restarting.
... void npn_reload
plugins(npbool reloadpages); the reloadpages parameter is a boolean that indicates whether to reload the page (true) or not (false).
Gecko Plugin API Reference - Plugins
npn_reload
plugins reloads all plug-ins in the
plugins directory.
... scripting
plugins how the dom handles scripting threading model security model what's in the plugin code?
NavigatorPlugins.mimeTypes - Web APIs
a-applet' in navigator.mimetypes; } function getjavaplugindescription() { var mimetype = navigator.mimetypes['application/x-java-applet']; if (mimetype === undefined) { // no java plugin present return undefined; } return mimetype.enabledplugin.description; } specifications specification status comment html living standardthe definition of 'navigator
plugins.mimetypes' in that specification.
Index - Archive of obsolete content
228 deploying a plugin as an extension add-ons,
plugins one of the new features available in firefox 1.5 is the ability to place browser
plugins in a firefox extension.
... 301 supporting search suggestions in search
plugins add-ons, opensearch, search, search
plugins firefox supports search suggestions in opensearch
plugins; as the user types in the search bar, firefox queries the url specified by the search plugin to fetch live search suggestions.
... 357 activex control for hosting netscape plug-ins in ie add-ons, needsclassification,
plugins microsoft has removed support for netscape plug-ins from ie 5.5 sp 2 and beyond.
...And 111 more matches
The First Install Problem - Archive of obsolete content
unless gecko does a pre-emptive scan upon startup for desirable
plugins that are not in the browser's
plugins directory first, the best way to solve this problem is to encourage plugin vendors to leave dlls (and xpt files, if applicable) in a location that gecko can discover at runtime.
... proposed solution on mac os x, the system's
plugins folder will probably suffice as an install location in which browsers installed later can find their
plugins.
... on linux, a per-profile installation of
plugins seems unavoidable.
...And 17 more matches
Install script template - Archive of obsolete content
the keys are written according to the specification: http://mozilla.org/projects/
plugins/first-install-problem.html and follows the plid specification: http://mozilla.org/projects/
plugins/plugin-identifier.html **/ // define some global variables var plugin_file = "npmyplugin.dll"; // this plugin consists of an xpt file because it is scriptable // http://mozilla.org/projects/
plugins/scripting-
plugins.html var component_file = "npmy
pluginscriptable.xpt"; var plugin_size ...
... = 2000; // (dll file) reserve a little extra so it is not required to update too often var component_size = 10; // (xpi file) reserve a little extra so it is not required to update too often var software_name="cult3d mozilla viewer"; // plids (http://mozilla.org/projects/
plugins/plugin-identifier.html) are coined by vendors.
...ation/x-my-plugin"; var suffix = "my"; var suffix_description = "my plugin files"; var company_name = "mypluginco"; var plugin_description = "my exemplary plugin mine all mine"; // registry constant paths // these will be used when the win32 registry keys are written var hkey_local_machine = "hkey_local_machine"; var hkey_current_user = "hkey_current_user"; var reg_moz_path = "software\\mozilla
plugins"; // my own error code in case secondary installation fails var nosecondaryinstall = 1; // error return codes need some memory var err; // error return codes when we try and install to the current browser var errblock1; // error return codes when we try and do a secondary installation var errblock2 = 0; // global variable containing our secondary install location var secondaryfolder; ...
...And 11 more matches
Index - Web APIs
948 document.
plugins api, document, needsmarkupwork, property, reference the
plugins read-only property of the document interface returns an htmlcollection object containing one or more htmlembedelements representing the <embed> elements in the current document.
... 2573 mimetype api, interface,
plugins, reference the mimetype interface provides contains information about a mime type associated with a particular plugin.
... navigator
plugins.mimetypes returns an array of this object.
...And 10 more matches
OpenSearch description format
this article focuses on creating opensearch-compatible search
plugins that support these additional firefox features.
... opensearch description files can be advertised as described in autodiscovery of search
plugins, and can be installed programmatically as described in adding search engines from web pages.
...(you can generate a data: uri from an icon file at the data: uri kitchen.) <image height="16" width="16" type="image/x-icon">https://example.com/favicon.ico</image> <!-- or --> <image height="16" width="16">data:image/x-icon;base64,aaabaaeaebaaa … daaa=</image> firefox caches the icon as a base64 data: uri (search plug-ins are stored in the profile's search
plugins/ folder).
...And 10 more matches
Shipping a plugin as a Toolkit bundle - Archive of obsolete content
one of the new features that is available in firefox 1.5 is the ability to place browser
plugins in a toolkit bundle.
...when this method is used, you can choose to either place the plugin into the
plugins directory, or place it into your own directory and modify the windows registry to let firefox know where to find the plugin.
...as of firefox 3 (and any gecko 1.9 based application) the use of install.js scripts is no longer supported and
plugins must either be shipped as an executable installer or in a bundle as described here.
...And 7 more matches
Plug-in Development Overview - Gecko Plugin API Reference
npp_getvalue is called after the plug-in is initialized to get the scripting interface while np_getvalue is called during initialization to retrieve the plug-in's name and description, which will appear in the navigator.
plugins dom object which is used to populate about:
plugins.
... to determine the supported mime types, gecko first checks for registry information in the
plugins info.plist.
...
plugins should use the info.plist approach, and only use the following method as a supplement to support older browsers.
...And 6 more matches
From object to iframe — other embedding technologies - Learn web development
they have since fallen out of fashion due to many problems, including accessibility, security, file size, and more; these days most mobile devices don't support such
plugins anymore, and desktop support is on the way out.
... however, you are unlikely to use these elements very much — applets haven't been used for years, flash is no longer very popular, due to a number of reasons (see the case against
plugins, below), pdfs tend to be better linked to than embedded, and other content such as images and video have much better, easier elements to handle those.
...
plugins and these embedding methods are really a legacy technology, and we are mainly mentioning them in case you come across them in certain circumstances like intranets, or enterprise projects.
...And 6 more matches
Index of archived content - Archive of obsolete content
xpcom objects performance best practices in extensions search extension tutorial (draft) security best practices in extensions session store api setting up an extension development environment signing an xpi signing an extension supporting search suggestions in search
plugins tabbed browser techniques promises updating addons broken by private browsing changes using dependent libraries in extension components using the stylesheet service bookmarks.export() bookmarks.import() adding preferences to an extension ...
... install wizards (aka: stub installers) mac stub installer unix stub installer windows stub installer learn xpi installer scripting by example installer script using xpinstall to install
plugins install script template xpinstall api reference examples file.macalias file.windowsshortcut install.adddirectory install.addfile installtrigger.installchrome inst...
...localizing an extension mmgc makefile - .mk files misc top level bypassing security restrictions and signing code creating a web based tone generator defining cross-browser tooltips environment variables affecting crash reporting io guide images, tables, and mysterious gaps installing
plugins to gecko embedding browsers on windows mcd, mission control desktop, aka autoconfig monitoring wifi access points no proxy for configuration notes on html reflow same-origin policy for file: uris source navigator source code directories overview using xml data islands in mozilla using content preferences ...
...And 4 more matches
Deploying a Plugin as an Extension - Archive of obsolete content
one of the new features available in firefox 1.5 is the ability to place browser
plugins in a firefox extension.
...when this method is used, you can choose to either place the plugin into the
plugins directory, or, on windows, place it into your own directory and modify the windows registry to let firefox know where to find the plugin.
...rhapsodyplayerengine_inst_win.xpi install.rdf
plugins/ license.rtf nprhapengine.dll the important file here is the install.rdf file.
...And 3 more matches
Plugin Architecture - Archive of obsolete content
this page contains some notes on how
plugins work internally in gecko.
...do not use this document for deciding what
plugins can rely on.
... classes there are some classes involved in
plugins: nsobjectloadingcontent embed, object and applet nodes inherit from that class, which provides services for loading various kinds of objects.
...And 3 more matches
External resources for plugin creation - Archive of obsolete content
frameworks and tools there are several open source projects designed to assist with the creation of npapi
plugins.
...
plugins created with firebreath work on all major browsers, including firefox 3.0 and later.
...project: nixysa project home page description (from the home page): nixysa is a framework written in python to automatically generate glue code for npapi
plugins (
plugins for browsers such as google chrome or firefox), letting you easily expose c++ classes to javascript from a simple idl representation.
...And 3 more matches
NPAPI plugin reference - Archive of obsolete content
the articles below describe each of the apis related to npapi
plugins.
... npn_getauthenticationinfo the function is called by
plugins to get http authentication information from the browser.
... npn_reload
plugins reloads all of the installed
plugins.
...And 3 more matches
IPDL Tutorial
all messages for multi-process
plugins and tabs in firefox are declared in the ipdl language.
... the parent actor is typically the more permanent side of the conversation: parent/child actors parent child ipc tabs chrome process content process ipc
plugins content process plugin process each protocol is declared in a separate file.
... using mozilla::
plugins::npremoteevent; sync protocol pplugininstance { child: async handleevent(npremoteevent); }; unions ipdl has built-in support for declaring discriminated unions.
...And 3 more matches
nsIPluginHost
dom/
plugins/base/nsipluginhost.idlscriptable please add a summary to this article.
... void load
plugins(); native code only!
... void reload
plugins(in boolean reloadpages); void setisscriptableinstance(in nsiplugininstance ainstance, in boolean ascriptable); native code only!
...And 3 more matches
PluginArray - Web APIs
the pluginarray interface is used to store a list of plugin objects describing the available
plugins; it's returned by the window.navigator.
plugins property.
... the pluginarray is not a javascript array, but has the length property and supports accessing individual items using bracket notation (
plugins[2]), as well as via item(index) and nameditem("name") methods.
... properties pluginarray.lengthread only the number of
plugins in the array.
...And 3 more matches
Structure of an installable bundle - Archive of obsolete content
(>=2.0) /chrome.manifest chrome registration manifest (>=1.8) /components/* xpcom components (*.js, *.dll), and interface files from *.xpt (>=1.7) /defaults/preferences/*.js default preferences (>=1.7) /
plugins/* npapi
plugins (>=1.8) /chrome/icons/default/* window icons (>=1.8) /icon.png extension icon, for display in the add-ons manager, 32px × 32px (>=1.9.2) /icon64.png extension icon, for display in the add-ons manager, 64px × 64px (>=2.0) /options.xul extension options, for display in the add-ons manager (>=7.0) ...
... additional resources (such as chrome:// or resource:// providers can be registered in the chrome.manifest) application-specific /search
plugins/*.src sherlock search
plugins firefox 1.5 and greater.
... /search
plugins/*.xml mozsearch and opensearch
plugins firefox 2 and greater /dictionaries/*.{aff|dic} myspell dictionaries firefox 2 and greater of course, an extension need not (and normally won't) have all of these directories.
...And 2 more matches
NPAPI plugin developer guide - Archive of obsolete content
plugins are shared libraries that users can install to display content that the application itself can't display natively.
... for example, the adobe flash plug-in is used to access flash content (including videos and certain interactive applications), and the quicktime and realplayer
plugins are used to play special format videos in a web page.
... important:
plugins are now a legacy technology.
...And 2 more matches
Multi-process plugin architecture - Archive of obsolete content
plugins are a frequent source of instability or crashes for browser users.
... when
plugins run in the same process as the browser, any leaks or crashes in the plugin will affect the entire browser: in order to make the browser user experience better, it is possible to separate plugin execution from the process in which the browser normally executes.
... when multi-process
plugins are enabled, a shim layer in the browser implements the plugin api (the npp_ functions which would normally be implemented directly by the plugin).
...And 2 more matches
Adobe Flash - Archive of obsolete content
scriptability refers to the ability of
plugins to interact with javascript.
... using the right html the object element or the embed element can be used to invoke
plugins in netscape gecko browsers.
... the former is part of the w3c html 4 standard, whereas the latter is a deprecated element, as discussed in using the right markup to invoke
plugins.
...And 2 more matches
Mozilla Plugin Accessibility
plugins in gecko-based browsers have a lot of accessibility issues.
...all browser keys unavailable when plugin has focus focused
plugins currently have no choice but to consume all keyboard events.
... the new plugin api will allow
plugins to bubble unused keypresses to the browser.
...And 2 more matches
Getting Started with Firefox Extensions - Archive of obsolete content
all extensions are add-ons, but add-ons can also be themes,
plugins, or language packs.
...
plugins are entirely different, and they will not be covered here.
... you can read more about
plugins and their development in the
plugins page.
...installing, uninstalling, enabling and disabling add-ons require a restart to complete, with the exception of npapi
plugins, add-ons sdk extensions and bootstrapped extensions.
XUL Questions and Answers - Archive of obsolete content
return to mozilla-dev-tech-xul summaries the frequently asked questions should be moved to xul faq (make sure they have a clear answer.) where can i get more information about creating mozsearch
plugins?
... creating mozsearch
plugins contains more help information about creating mozsearch plugin on firefox 2.
... more documentation on search
plugins is available in the search
plugins category.
... there are several options for displaying graphics and animation in xul: <html:canvas> svg <xul:image> (static images or animated gif; support for apng is planned)
plugins templates with non-rdf datasources?
Introducing a complete toolchain - Learn web development
many of today's code editors (such as vs code and atom) have integration support for a lot of tools via
plugins.
... using code editor
plugins to run prettier commands each time a file is saved.
... the final config file should look like this — add in the bolded parts and save it: { "env": { "es6": true, "browser": true }, "extends": ["eslint:recommended", "plugin:react/recommended"], "parseroptions": { "ecmaversion": 6, "sourcetype": "module", "ecmafeatures": { "jsx": true } }, "
plugins": ["react"], "rules": { "semi": "error", "no-console": 0, "react/jsx-uses-vars": "error" } } as the configuration now uses a plugin called "react", this development dependency also needs to be installed, so that the code is there to actually run that part of the linting process.
... add the following contents to the new file, which will automagically give us full access to the latest css features: { "
plugins": { "postcss-preset-env": { "stage": 0 } } } that’s all we need to do — remember that parcel installs the dependencies for us by default!
nsICategoryManager
rymanager); var enumerator = categorymanager.enumeratecategory("app-startup"); var entries = []; while (enumerator.hasmoreelements()) { var item = enumerator.getnext(); var entry = item.queryinterface(components.interfaces.nsisupportscstring) entries.push(entry.tostring()); } entries.sort(); var entriesstring = entries.join("\n"); dump(entriesstring + "\n"); disable currently loaded
plugins by type this snippet here shows how to disable
plugins that are currently loaded for the file type of pdf.
... the second portion of this snippet disables
plugins from loading in the future, it does not user the category manager but it is included for completness of the example.
... var content_type = 'application/pdf'; // update the category manager in case the
plugins are already loaded.
... let categorymanager = cc['@mozilla.org/categorymanager;1']; categorymanager.getservice(ci.nsicategorymanager).deletecategoryentry('gecko-content-viewers', content_type, false); // update pref manager to prevent
plugins from loading in future var stringtypes = ''; var types = []; var pref_disabled_plugin_types = 'plugin.disable_full_page_plugin_for_types'; if (services.prefs.prefhasuservalue(pref_disabled_plugin_types)) { stringtypes = services.prefs.getcharpref(pref_disabled_plugin_types); } if (stringtypes !== '') { types = stringtypes.split(','); } if (types.indexof(content_type) === -1) { types.push(content_type); } services.prefs.setcharpref(pref_disabled_plugin_types, types.join(',')); remarks categories have a variety of uses throughout the mozilla platform.
Navigator - Web APIs
properties doesn't inherit any properties, but implements those defined in navigatorid, navigatorlanguage, navigatoronline, navigatorcontentutils, navigatorstorage, navigatorstorageutils, navigatorconcurrenthardware, navigator
plugins, and navigatorusermedia.
... navigator
plugins.javaenabled read only returns a boolean flag indicating whether the host browser is java-enabled or not.
... navigator
plugins.mimetypes read only returns an mimetypearray listing the mime types supported by the browser.
... navigator
plugins.
plugins read only returns a pluginarray listing the
plugins installed in the browser.
Developing add-ons - Archive of obsolete content
there are three primary types of add-on: extensions,
plugins, and themes.
...
plugins information about how to create
plugins, which are binary components that let mozilla based software display content they can't handle natively.
... search engine
plugins firefox supports search engine
plugins, which enable the search box to support different search engines.
NPN_SetValue - Archive of obsolete content
variable values the function can set: nppvpluginwindowbool: sets windowed/windowless mode for plugin display; true=windowed, false=windowless nppvplugintransparentbool: sets transparent mode for display of a plugin; true=transparent, false=opaque nppvjavaclass nppvpluginwindowsize nppvplugintimerinterval nppv
pluginscriptableinstance nppv
pluginscriptableiid nppvjavascriptpushcallerbool: specifies whether you are pushing or popping the jscontext off the stack nppvpluginkeeplibraryinmemory: tells browser that the plugin dll should live longer than usual nppvpluginneedsxembed nppv
pluginscriptablenpobject nppvformvalue nppvplugindrawingmodel value the value of the specified variable to be s...
...by default,
plugins are windowed.
... nppvjavascriptpushcallerbool sets whether you are pushing or popping the appropriate jscontext off the stack (see the two-way scriptability article on the mozilla
plugins project page for more details).
Archive of obsolete content
newsgroup summaries obsolete: xpcom-based scripting for npapi
plugins plugins that used to take advantage of being scriptable via liveconnect in 4.x netscape browsers lost this possibility in the new world.
...we leverage some of these ideas to help you make your netscape communicator 4.x
plugins exposed to javascript in mozilla based browsers.
...
plugins for more information about plugin roadmap, see non-archived plugin information.
Implementing controls using the Gamepad API - Game development
eventually, extra drivers and
plugins allowed us to use console gamepads with desktop games — either native games or those running in the browser.
... now in the era of html5, we finally have the gamepad api, which gives us the ability to play browser-based games using gamepad controllers without any
plugins.
...now it's easier than ever to deliver a console-like experience to the browser without the need for any
plugins.
What text editors are available? - Learn web development
in particular (if possible in your editor), try to: change syntax highlighting settings and colors play with indentation width, setting it to an appropriate setting for your needs check autosave and session saving settings configure any available
plugins and investigate how to get new ones change color schemes adjust view settings and see how you can change the layout of the views check what programming languages/technologies your editor supports while you're learning the default settings of most text editors should be fine to use, but it is important to become familiar with your chosen tools, so you can select the best one for your usage.
...the best editors provide many
plugins, and ideally a way to look for and install new
plugins automatically.
... if you like lots of features and your editor is slowing down because of all your
plugins, try using an ide (integrated development environment).
Deployment and next steps - Learn web development
note: there is also an official template for using webpack and also many community-maintained
plugins for other bundlers.
...ave a look at the rollup.config.js file, we can see that the svelte compiler is just a rollup plugin: import svelte from 'rollup-plugin-svelte'; [...] import { terser } from 'rollup-plugin-terser'; const production = !process.env.rollup_watch; export default { input: 'src/main.js', output: { sourcemap: true, format: 'iife', name: 'app', file: 'public/build/bundle.js' },
plugins: [ svelte({ // enable run-time checks when not in production dev: !production, // we'll extract any component css out into // a separate file - better for performance css: css => { css.write('public/build/bundle.css'); } }), later on in the same file you'll also see how rollup minimizes our scripts in production mode and launches a local serv...
...: // in dev mode, call `npm run start` once // the bundle has been generated !production && serve(), // watch the `public` directory and refresh the // browser on changes when not in production !production && livereload('public'), // if we're building for production (npm run build // instead of npm run dev), minify production && terser() ], there are many
plugins for rollup that allow you to customize its behavior.
Handling common JavaScript problems - Learn web development
code editor
plugins it is not very convenient to have to copy and paste your code over to a web page to check its validity several times.
...many code editors have linter
plugins, for example github's atom code editor has a jshint plugin available.
...for example, see the "
plugins for text editors and ides" section of the jshint install page.
Patches and pushes
patchify search
plugins are found in browser/search
plugins.
...upload your
plugins icon image to data kitchen to obtain its uri id and add to the xml file within the image tag.
... create a patch of the search
plugins directory by entering the following command in your command-line tool, where mypatch.diff is where you give your patch a name: $ hg add mozilla/browser/search
plugins/ $ hg diff mozilla/browser/search
plugins/ > mypatch.diff attach your patch file to the bug by clicking the "add an attachment" link.
libmime content type handlers
this functionality will be accomplished via content type handler
plugins for libmime.
... libmime has a homegrown object system written in c, and since the content type handler
plugins need to exist in this module, a description of the libmime object system should be reviewed and understood.
... api's content type handler
plugins are dynamically loaded and need to access internal pointers, functions that are part of the c based object system.
Mozilla
here is a very simple example of the observer pattern: creating mozsearch
plugins firefox 2 uses a simplified form of the opensearch format for storing search
plugins.
...all messages for multi-process
plugins and tabs in firefox are declared in the ipdl language.
...xpi modules (so called " bundles") are employed to install a wide variety of software, including
plugins, extensions, themes, and thunderbird dictionaries.
Live streaming web audio and video - Developer guides
important: although the <audio> and <video> tags are protocol agnostic, no browser currently supports anything other than http without requiring
plugins, although this looks set to change.
...through its plugin system, gstreamer provides support for more than a hundred codecs (including mpeg-1, mpeg-2, mpeg-4, h.261, h.263, h.264, realvideo, mp3, wmv, and flv.) gstreamer
plugins such as souphttpclientsink and shout2send exist to stream media over http.
... see also http live streaming hls browser support http live streaming javascript player the basics of http live streaming dash adaptive streaming for html 5 video dynamic adaptive streaming over http (mpeg-dash) mpeg-dash media source demo dash reference client dynamic streaming over http the state of mpeg-dash deployment look, no
plugins: live streaming to the browser using media source extensions and mpeg-dash media source extensions (w3c) icecast shoutcast gstreamer streaming gstreamer pipelines via http streaming media using gstreamer on the web gstreamer and raspberry pi acceptance of media source extensions as w3c candidate recommendation will accelerate adoption of dash.js comparison of streaming media systems moz...
CSP: plugin-types - HTTP
the http content-security-policy (csp) plugin-types directive restricts the set of
plugins that can be embedded into a document by limiting the types of resources which can be loaded.
... examples disallowing
plugins to disallow all
plugins, the object-src directive should be set to 'none' which will disallow
plugins.
... the plugin-types directive is only used if you are allowing
plugins with object-src at all.
HTML to DOM - Archive of obsolete content
frame.setattribute("collapsed", "true"); document.getelementbyid("main-window").appendchild(frame); // or // document.documentelement.appendchild(frame); // set restrictions as needed frame.webnavigation.allowauth = false; frame.webnavigation.allowimages = false; frame.webnavigation.allowjavascript = false; frame.webnavigation.allowmetaredirects = true; frame.webnavigation.allow
plugins = false; frame.webnavigation.allowsubframes = false; // listen for load frame.addeventlistener("load", function (event) { // the document of the html in the dom var doc = event.originaltarget; // skip blank page or frame if (doc.location.href == "about:blank" || doc.defaultview.frameelement) return; // do something with the dom of doc alert(doc.location.href); /...
...nt handler: onload: function() { donkeybrowser = document.getelementbyid("donkey-browser"); if (donkeybrowser) { donkeybrowser.style.height = "0px"; donkeybrowser.webnavigation.allowauth = true; donkeybrowser.webnavigation.allowimages = false; donkeybrowser.webnavigation.allowjavascript = false; donkeybrowser.webnavigation.allowmetaredirects = true; donkeybrowser.webnavigation.allow
plugins = false; donkeybrowser.webnavigation.allowsubframes = false; donkeybrowser.addeventlistener("domcontentloaded", function (e) { donkeyfire.donkeybrowser_onpageload(e); }, true); } with that code, we obtain a reference to the iframe element we declared in the .xul file.
Displaying web content in an extension without security issues - Archive of obsolete content
here it is most important to disable javascript and
plugins.
... it won’t harm disabling everything else as well unless it is really required: frame.docshell.allowauth = false; frame.docshell.allowimages = false; frame.docshell.allowjavascript = false; frame.docshell.allowmetaredirects = false; frame.docshell.allow
plugins = false; frame.docshell.allowsubframes = false; but what about interactivity, for example if you want a certain reaction to mouse clicks?
Listening to events in Firefox extensions - Archive of obsolete content
domlinkhandler the domlinkhandler object is called by the domlinkadded event in order to detect any rss feeds, site icons, or opensearch
plugins for the web site.
... pageshoweventhandlers the pageshoweventhandlers() function is called by the pageshow event and is used to populate the character set menu and update the ui elements associated with any detected feeds or opensearch
plugins for the website.
jspage - Archive of obsolete content
b=new hash(c);break;case"array":b=[];for(var d=0,a=c.length;d<a;d++){b[d]=$unlink(c[d]);}break;default:return c;}return b;}var browser=$merge({engine:{name:"unknown",version:0},platform:{name:(window.orientation!=undefined)?"ipod":(navigator.platform.match(/mac|win|linux/i)||["other"])[0].tolowercase()},features:{xpath:!!(document.evaluate),air:!!(window.runtime),query:!!(document.queryselector)},
plugins:{},engines:{presto:function(){return(!window.opera)?false:((arguments.callee.caller)?960:((document.getelementsbyclassname)?950:925)); },trident:function(){return(!window.activexobject)?false:((window.xmlhttprequest)?((document.queryselectorall)?6:5):4);},webkit:function(){return(navigator.taintenabled)?false:((browser.features.xpath)?((browser.features.query)?525:420):419); },gecko:function(){re...
...ar a=this.engines[b]();if(a){this.engine={name:b,version:a};this.engine[b]=this.engine[b+a]=true; break;}}return{name:b,version:a};};browser.detect();browser.request=function(){return $try(function(){return new xmlhttprequest();},function(){return new activexobject("msxml2.xmlhttp"); },function(){return new activexobject("microsoft.xmlhttp");});};browser.features.xhr=!!(browser.request());browser.
plugins.flash=(function(){var a=($try(function(){return navigator.
plugins["shockwave flash"].description; },function(){return new activexobject("shockwaveflash.shockwaveflash").getvariable("$version");})||"0 r0").match(/\d+/g);return{version:parseint(a[0]||0+"."+a[1],10)||0,build:parseint(a[2],10)||0}; })();function $exec(b){if(!b){return b;}if(window.execscript){window.execscript(b);}else{var a=document...
BundleLibrary - Archive of obsolete content
only way i found to add the flash plugin to webrunner was to copy my
plugins folder from firefox to the webrunner folder.
... not the cleanest, but it got all my
plugins at once) istylr: istylr.webapp online web design tool (full win installer bundled with prism is available here - thanks to lars eric for his nsis script) meebo: meebo.webapp miro guide: miroguide.webapp motor0: motor0.webapp useful webapp on maintenance and fuel consumptions managment pandora: pandora@prism.app.webapp internet radio that only plays music you like.
Priority Content - Archive of obsolete content
started: scripting
plugins: macromedia flash original: scripting
plugins: macromedia flash wiki location: scripting
plugins: macromedia flash migrators: dependant on (these parts need to be done, put your name down) completed: soap in netscape gecko-based browsers original: soap in netscape gecko-based browsers wiki location: soap in gecko-based browsers migrators: doron rosenberg in progress: css support char...
...keller equivalents security developer central -> security
plugins central ->
plugins devedge community -> mozilla web developer community notes from devmo wishlist devedge toolbox tools on devedge examples on devedge started: devedge sidebar completed: standards-compliant authoring tools on devedge mostly completed: tools:validators on devedge dependant on the sidebar tabs and the tune-up wizard.
Static Analysis for Windows Code under Linux - Archive of obsolete content
build gcc corss-compiler with plugin support by default gcc does not support
plugins.
... dehydra requires patching gcc such that it can load
plugins as shared libraries: # prepare a directory mkdir $home/dehydra cd $home/dehydra #obtain gcc 4.3 sources wget ftp://mirrors.kernel.org/gnu/gcc/gcc...-4.3.0.tar.bz2 tar jxvf gcc-4.3.0.tar.bz2 # get the patches which enable
plugins cd gcc-4.3.0/ # create an hg repository.
getFolder - Archive of obsolete content
the value of foldername must be one of the following (info is based on mozilla 1.7 stable branch, might also work in other versions): "chrome" "components" "current user" "defaults" "file:///" "os drive" "
plugins" "preferences" "profile" "program" "temporary" "mac apple menu" "mac control panel" "mac desktop" "mac documents" "mac extension" "mac fonts" "mac shutdown" "mac startup" "mac system" "mac trash" "mac preferences" ...
... example to get an object representing the standard plug-ins directory, you would use this call: plugindir = getfolder("
plugins"); ...
initInstall - Archive of obsolete content
package the client version registry pathname for the software (for example:
plugins/adobe/acrobat or /royalairways/royalpi/).
...a relative pathname must start with
plugins/, to be relative to the plug-ins portion of that namespace or java/download/, to be relative to the java portion.
registerChrome - Archive of obsolete content
example example assumes your xpi file is in
plugins folder and rdf file is in resources subfolder of xpi.
... registerchrome( package | delayed_chrome, getfolder("
plugins"), "resources"); ...
enumKeys - Archive of obsolete content
the following example shows how to use enumkeys to find the
plugins subdirectory below the various mozilla-based browser installations.
... var winreg = getwinregistry(); winreg.setrootkey(winreg.hkey_local_machine); var index = 0; var basekey = "software\\mozilla"; while ( (mozillaversion = winreg.enumkeys(basekey,index)) != null ) { logcomment("mozillaversion = " + mozillaversion); subkey = basekey + "\\" + mozillaversion + "\\extensions";
pluginsdir = winreg.getvaluestring ( subkey, "
plugins" ); if (
pluginsdir ) logcomment("
pluginsdir = " +
pluginsdir); else logcomment("no
plugins dir for " + basekey + "\\" + mozillaversion); index++; } ...
Learn XPI Installer Scripting by Example - Archive of obsolete content
first, a quick scan of the contents of the xpi file (which you can open using with any unzip utility) reveals the following high-level directory structure: install.js bin\ chrome\ components defaults\ icons\
plugins\ res\ note that this high-level structure parallels the directory structure of the installed browser very closely: as you will see in the installation script, the contents of the archive are installed onto the file system in much the same way that they are stored in the archive itself, though it's possible to rearrange things arbitrarily upon installation--to create new directories, to ins...
...are added in lines 26-41: err = adddirectory("program", "6.0.0.2000110807", "bin", // jar source folder communicatorfolder, // target folder "", // target subdir true ); // force flag logcomment("adddirectory() returned: " + err); // create the
plugins folder next to mozilla var
pluginsfolder = getfolder("
plugins"); if (!fileexists(
pluginsfolder)) { var ignoreerr = dircreate(
pluginsfolder); logcomment("dircreate() returned: " + ignoreerr); } else logcomment("
plugins folder already exists"); in this case, the files are contained within a single directory, so calling the install object's adddirectory method is suffic...
Gecko Compatibility Handbook - Archive of obsolete content
plugins coding you'll find for that some
plugins behave differently in gecko than in netscape navigator 4.
... visit the
plugins page to learn about scripting gecko browsers, proper use of tags, changes in the plugin architecture vs.
NPP_SetValue - Archive of obsolete content
« gecko plugin api reference « plug-in side plug-in api summary implemented by
plugins.
... this call is used to inform
plugins of variable information controlled by the browser.
Samples and Test Cases - Archive of obsolete content
in addition to those samples, there are 2 more
plugins in the tree that might be helpful.
... spy tester npapi plugin test cases mozilla.org qa
plugins testcases mozilla.org qa oji testcases
plugins verification testing checklist (including smoketesting) ...
Writing a plugin for Mac OS X - Archive of obsolete content
to install the plugin, just copy it into one of these two locations: /library/internet
plugins/ ~/library/internet
plugins/ from this point, you can simply modify the sample plugin to do whatever you want.
... symbol visibility symbol visibility is a common problem for people trying to get npapi
plugins working.
Windows Media in Netscape - Archive of obsolete content
in netscape 7.1,
plugins and activex controls are not exposed to the global namespace, but rather as properties of the document object.
...bad approach if (document.all) { // use activexobject or write ie only object markup } else { // use netscape
plugins } better approach if (window.activexobject) { // activexobject is supported } else if (window.geckoactivexobject) { // geckoactivexobject is supported } else { // use netscape
plugins } use of microsoft's msxml in conjunction with the windows media player remember that windows media player is the only activex control that netscape 7.1 supports.
Mobile touch controls - Game development
dedicated
plugins you could go even further and use dedicated
plugins like virtual joystick — this is a paid, official phaser plugin, but you can find free and open source alternatives.
... the initialization of virtual joystick looks like this: this.pad = this.game.
plugins.add(phaser.virtualjoystick); this.stick = this.pad.addstick(30, 30, 80, 'generic'); in the create() function of the game state we're creating a virtual pad and a generic stick that has four directional virtual buttons by default.
Visual-js game engine - Game development
2) you are free to use any version of visual js library in any other project (even commercial projects) as long as the copyright header is left intact except for
plugins on sale and graphics that come with them (they have special commercial licence).
... to make all dependency works in build proccess we need some
plugins.
Visual typescript game engine - Game development
client part to make all dependency works in build process we need some
plugins.
... if you wanna insert some new html page just define it intro webpack.config.js :
plugins : [ new htmlwebpackplugin({ filename: '/templates/mygamelobby.html', template: 'src/html-components/mygamelobby.html' }), ...
Getting started with Vue - Learn web development
you can register additional babel
plugins in this file.
...right now, it should contain a welcome message, a link to the vue documentation, links to the
plugins you added when you initialized the app with your cli, and some other useful links to the vue community and ecosystem.
Client-side tooling overview - Learn web development
developers can also write and publish
plugins for babel.
... if you are looking for a plugin to integrate tool functionality into your code editor, look at the code editor’s
plugins/extensions page — see atom packages and vscode extensions, for example.
Mozilla's Section 508 Compliance
caveats: 1) although sidebar cannot be customized without a mouse, all sidebar functions that come with the browser are available through other means 2) java and in-page
plugins cannot be used with the keyboard, so they must not be installed for keyboard-only users additional features for the keyboard: 1) find as you type allows for quick navigation to links and convenient text searching 2) browse with caret (f7 key toggles) allows users to select arbitrary content with the keyboard and move through content as if inside a readonly editor.
...audio is not a core part of mozilla --
plugins or the os take care of audio playback.
Simple SeaMonkey build
debian linux: # this one-liner should install all necessary build deps sudo aptitude install zip mercurial libasound2-dev libcurl4-openssl-dev libnotify-dev libxt-dev libiw-dev libidl-dev mesa-common-dev autoconf2.13 yasm libgtk2.0-dev libdbus-1-dev libdbus-glib-1-dev python-dev libgstreamer0.10-dev libgstreamer-
plugins-base0.10-dev libpulse-dev ubuntu linux # for ubuntu 12.04 lts (precise pangolin), replace the following line with: sudo apt-get build-dep thunderbird sudo apt-get build-dep seamonkey sudo apt-get install zip unzip mercurial g++ make autoconf2.13 yasm libgtk2.0-dev libglib2.0-dev libdbus-1-dev libdbus-glib-1-dev libasound2-dev libcurl4-openssl-dev libnotify-dev libgstreamer0.
...10-dev libgstreamer-
plugins-base0.10-dev libiw-dev libxt-dev mesa-common-dev libpulse-dev fedora linux centos rhel: sudo yum groupinstall 'development tools' 'development libraries' 'gnome software development' sudo yum install mercurial autoconf213 glibc-static libstdc++-static yasm wireless-tools-devel mesa-libgl-devel alsa-lib-devel libxt-devel gstreamer-devel gstreamer-
plugins-base-devel pulseaudio-libs-devel # 'development tools' is defunct in fedora 19 and above use the following sudo yum groupinstall 'c development tools and libraries' sudo yum group mark install "x software development" mac: install xcode tools.
Creating a New Protocol
the protocol hierarchy unless you are working on some special project, your protocol will fit into the protocol hierarchy for multi-process
plugins or tabs.
... the toplevel protocol for
plugins is ppluginmodule.
Preface
despite what old documentation says, xpcom should not be used to make npapi
plugins scriptable.
... starting with gecko 1.7.5 (firefox 1.0) a special npapi extension for scriptability is supported, see scripting
plugins.
nsIBlocklistPrompt
xpcom/system/nsiblocklistservice.idlscriptable this interface is used, if available, by the default implementation of nsiblocklistservice to display a confirmation user interface to the user before blocking extensions or
plugins.
...void prompt( [array, size_is(acount)] in nsivariant aaddons, in pruint32 acount optional ); parameters aaddons an array of addons and
plugins that are blocked.
nsIMsgFolder
alertfilterchanged(in nsimsgwindow msgwindow); void throwalertmsg(in string msgname, in nsimsgwindow msgwindow); astring getstringwithfoldernamefrombundle(in string msgname); void notifycompactcompleted(); long comparesortkeys(in nsimsgfolder msgfolder); [noscript] void getsortkey(out octet_ptr key, out unsigned long length); boolean callfilter
plugins(in nsimsgwindow amsgwindow); acstring getstringproperty(in string propertyname); void setstringproperty(in string propertyname, in acstring propertyvalue); boolean isancestorof(in nsimsgfolder folder); boolean containschildnamed(in astring name); nsimsgfolder getchildnamed(in astring aname); nsimsgfolder findsubfolder(in acstring escapedsubfol...
... in nsimsgwindow msgwindow); getstringwithfoldernamefrombundle() astring getstringwithfoldernamefrombundle(in string msgname); notifycompactcompleted() void notifycompactcompleted(); comparesortkeys() long comparesortkeys(in nsimsgfolder msgfolder); getsortkey() [noscript] void getsortkey(out octet_ptr key, out unsigned long length); callfilter
plugins() boolean callfilter
plugins(in nsimsgwindow amsgwindow); getstringproperty() acstring getstringproperty(in string propertyname); setstringproperty() void setstringproperty(in string propertyname, in acstring propertyvalue); isancestorof() determines if this folder is an ancestor of the supplied folder.
XPIDL
source and binary compatibility some consumers of idl interfaces create binary
plugins that expect the interfaces to be stored in a specific way in memory.
... in other words, some changes made to idl interfaces require the author to modify the unique identifier (iid) in order to make it clear to
plugins that utilize these interfaces that they have changed, and thus their plugin must be recompiled.
Zombie compartments
compartment(http://techcrunch.com/) compartment(http://www.facebook.com/
plugins/like.php?...) compartment(https://plusone.google.com/_/+1/fastbutton?...) compartment(http://platform.twitter.com/widgets/...utton.html?...) compartment(http://cdn.at.atwola.com/_media/uac/tcode3.html) compartment(https://s-static.ak.fbcdn.net/connec..._proxy.php?...) compartment(http://ads.tw.adsonar.com/adserving/getads.jsp?...) (some of those compartment urls are long and have been trun...
..."
plugins/like.php?...").
MimeTypeArray - Web APIs
the mimetypearray interface returns an array of mimetype instances, each of which contains information about a supported browser
plugins.
... this object is returned by navigator
plugins.mimetypes.
Content-Security-Policy - HTTP
plugin-types restricts the set of
plugins that can be embedded into a document by limiting the types of resources which can be loaded.
...amples example: disable unsafe inline/eval, only allow loading of resources (images, fonts, scripts, etc.) over https: // header content-security-policy: default-src https: // meta tag <meta http-equiv="content-security-policy" content="default-src https:"> example: pre-existing site that uses too much inline code to fix but wants to ensure resources are loaded only over https and to disable
plugins: content-security-policy: default-src https: 'unsafe-eval' 'unsafe-inline'; object-src 'none' example: do not implement the above policy yet; instead just report violations that would have occurred: content-security-policy-report-only: default-src https:; report-uri /csp-violation-report-endpoint/ see mozilla web security guidelines for more examples.
Index - HTTP
42 csp: plugin-types csp, directive, flash, http, java,
plugins, security the http content-security-policy (csp) plugin-types directive restricts the set of
plugins that can be embedded into a document by limiting the types of resources which can be loaded.
...it applies restrictions to a page's actions including preventing popups, preventing the execution of
plugins and scripts, and enforcing a same-origin policy.
HTTP Index - HTTP
91 csp: plugin-types csp, content-security-policy, directive, flash, http, java, plugin,
plugins, security the http content-security-policy (csp) plugin-types directive restricts the set of
plugins that can be embedded into a document by limiting the types of resources which can be loaded.
...it applies restrictions to a page's actions including preventing popups, preventing the execution of
plugins and scripts, and enforcing a same-origin policy.
mimeTypes.rdf corruption - SVG: Scalable Vector Graphics
symptoms previously you were able to open and display svg content with mozilla, but for no apparent reason its behaviour changes and now it always pops up the "open or save file" dialog when you try to open local svg files, and displays the "additional
plugins are required to display all the media on this page" bar when you try to view html with embedded svg.
... note: the "additional
plugins are required" bar can appear for legitimate reasons when the svg or its embedding html is broken or served incorrectly over the network (see the svg faq).
File I/O - Archive of obsolete content
here are some of the special locations the directory service supports: (scope: d = product-wide, f = profile wide) string scope meaning achrom d %curprocd%/chrome aplugns d %curprocd%/
plugins (deprecated - use aplugnsdl) aplugnsdl d comsd n/a %curprocd%/components curprocd n/a current working directory (usually the application's installation directory).
Finding window handles - Archive of obsolete content
typically the top level browser window hwnd has no children, although if there are windowed
plugins (such as flash) visible in the window, they will have hwnds whose parent is the top level browser window hwnd.
Install Manifests - Archive of obsolete content
if an extension includes the following then it must request unpacking: binary xpcom components
plugins search
plugins dlls loaded with ctypes dictionaries window icons examples <description about="urn:mozilla:install-manifest"> <em:id>extension@mysite.com</em:id> <em:unpack>true</em:unpack> ...
Embedding Mozilla in a Java Application using JavaXPCOM - Archive of obsolete content
quals("curprocd") || aprop.equals("comsd") || aprop.equals("profd")) { file = libxulpath; if (aprop.equals("comsd")) { file = new file(file, "components"); } } return file; } public file[] getfiles(string aprop) { file[] files = null; if (aprop.equals("a
pluginsdl")) { files = new file[1]; files[0] = new file(libxulpath, "
plugins"); } return files; } } calling xpcom ui from another thread appstartup.run() enters the main event loop and will stay there until the application exits.
Mozilla Web Developer Community - Archive of obsolete content
newsgroups, mailing lists, and forums by topic: css - mozilla.dev.tech.css dom - mozilla.dev.tech.dom html - mozilla.dev.tech.html
plugins - mozilla.dev.tech.
plugins xml - mozilla.dev.tech.xml documentation - see mdc:community more at http://www.mozilla.org/community/dev...er-forums.html mozillazine forums mozilla news and development help mozilla (testing and development) mozdev.org mozillazine planet mozilla spread firefox standards communities get involved in grass-roots web standards evangelism efforts through these groups: the web standards project, a grassroots coalition fighting for standards maccaws, making a commercial cas...
XPInstall API reference - Archive of obsolete content
erties methods adddirectory addfile alert cancelinstall confirm deleteregisteredfile execute gestalt getcomponentfolder getfolder getlasterror getwinprofile getwinregistry initinstall loadresources logcomment patch performinstall refresh
plugins registerchrome reseterror setpackagefolder installtrigger no properties methods compareversion enabled getversion install installchrome startsoftwareupdate installversion properties methods compareto init tostring file no properties ...
Browser-side plug-in API - Archive of obsolete content
npn_destroystream npn_forceredraw npn_getauthenticationinfo npn_geturl npn_geturlnotify npn_getvalue npn_getvalueforurl npn_invalidaterect npn_invalidateregion npn_memalloc npn_memflush npn_memfree npn_newstream npn_pluginthreadasynccall npn_poppopupsenabledstate npn_posturl npn_posturlnotify npn_pushpopupsenabledstate npn_reload
plugins npn_requestread npn_setvalue npn_setvalueforurl npn_status npn_useragent npn_version npn_write ...
NPClass - Archive of obsolete content
« gecko plugin api reference « scripting
plugins summary npclass is a structure that holds a set of pointers to functions that make up the behavior of an instance of an npclass (i.e.
NPN_GetValue - Archive of obsolete content
bled npnvisofflinebool: tells whether offline mode is enabled; true=offline mode enabled, false=not enabled npnvtoolkit: npnvsupportsxembedbool: npnvwindownpobject: returns the npobject * pointer for the dom window object; see getting the page url in npapi plugin for a rough example npnvpluginelementnpobject: npnvsupportswindowless: tells whether the browser supports windowless
plugins.
NPObject - Archive of obsolete content
« gecko plugin api reference « scripting
plugins summary npobject is a structure that holds a pointer to an npclass and an integer reference count, and possibly also implementation specific (i.e.
NPString - Archive of obsolete content
« gecko plugin api reference « scripting
plugins summary npstring is a struct that holds a pointer to a sequence of 8-bit units (nputf8) making up a utf-8 string, and the number of 8-bit units in the utf-8 string.
LiveConnect - Archive of obsolete content
mailing list newsgroup rss feed related topics javascript,
plugins older notes (please update or remove as needed.) while the bloated liveconnect code in the mozilla source was removed in version 1.9.2 of the platform (see bug 442399), its former api has been restored (see also the specification and this thread) (building on npapi?), and as of java 6 update 12, extensions as well as applets can make use of this restored api.
Index - Game development
now it's easier than ever to deliver a console-like experience to the browser without the need for any
plugins.
Game distribution - Game development
you can just send them a direct url to access the game, which they can then click to play the game right away without the need to use third party
plugins or download and install a large package.
2D breakout game using Phaser - Game development
after that, you can pick any framework you like and use it for your projects; we have chosen phaser as it is a good solid framework, with a good support and community available, and a good set of
plugins.
Gecko FAQ - Gecko Redirect 1
gecko also offers the ability to parse various document types (html, xml, svg, etc), advanced rendering capabilities including compositing and transformations, and support for embedded javascript and
plugins.
The HTML5 input types - Learn web development
most modern frameworks have good components available to provide this functionality, and there are standalone libraries available too (see top date picker javascript
plugins and libraries for some suggestions).
Server-side web frameworks - Learn web development
restful routes,
plugins, commands, perl-ish templates, content negotiation, session management, form validation, testing framework, static file server, cgi/psgi detection, and first-class unicode support.
Starting our Svelte Todo list app - Learn web development
if you want to globally disable this warning you can add this onwarn handler to your rollup.config.js file inside the configuration for the svelte plugin, like this:
plugins: [ svelte({ dev: !production, css: css => { css.write('public/build/bundle.css'); }, // warnings are normally passed straight to rollup.
Gecko info for Windows accessibility vendors
going forward, this may be the only way to efficiently find the content area, as mozilla will begin to become a windowless application, with an exception for
plugins which create their own window.
Accessibility and Mozilla
feedback and constructive suggestions are encouraged.mozilla plugin accessibility
plugins in gecko-based browsers have a lot of accessibility issues.
Benchmarking
in about:addons >
plugins, set shockwave flash to "never activate".
Testopia
developing
plugins or extensions for any software is like trying to hit a moving target.
Choosing the right memory allocator
ze) pr_newzap (same as pr_new, but zeros memory) pr_delete (pr_free() and also clears the pointer) pr_freeif special cases pr_smprintf(), pr_sprintf_append(), pr_vsmprintf() and pr_vsprintf_append() must be freed with pr_smprintf_free() pl_strdup(), pl_strndup() must be freed with pl_strfree() nscrt::strdup/nscrt::strndup must be freed with nscrt::free allocating memory within
plugins there are special memory allocation routines specifically intended for use from
plugins, which must not be used from within mozilla itself.
ESLint
see the eslint user guide for which
plugins to install in your editor.
Eclipse CDT
if you're on linux, you may also need to set the "working directory" to {your-obj-dir}/dist/bin, and then select the environment tab and set ld_library_path to ".:./
plugins:." and library_path to ".:./components:.".
Error codes returned by Mozilla APIs
ns_error_
plugins_
pluginsnotchanged (0x804c03e8) ns_error_plugin_disabled (0x804c03e9) ns_error_uconv_noconv (0x80500001) ns_error_udec_illegalinput (0x8050000e) ns_imagelib_error_failure (0x80540005) ns_imagelib_error_no_decoder (0x80540006) ns_imagelib_error_not_finished (0x80540007) ns_imagelib_error_load_aborted (0x80540008) ns_error_wont_handle_content (0x805d0001) moz_erro...
Firefox and the "about" protocol
y to display memory usage, save it as report and run the gc and cc about:mozilla special page showing a message from "the book of mozilla" about:networking displays networking information about:newtab start page when opening a new tab about:performance displays memory and performance information about firefox subprocesses/add-ons/tabs about:
plugins displays information about installed
plugins about:policies lists out the firefox for enterprise policies about:preferences firefox settings (also available through firefox menu > options) about:privatebrowsing start page when opening a private window about:profiles display and manage firefox profiles about:protections privacy protect...
Gecko SDK
the gecko sdk contains all of the necessary tools and headers for making scriptable npapi
plugins including the xpidl compiler/linker and the latest npapi.h.
How Mozilla determines MIME Types
if that also failed, the list of loaded
plugins is checked for a plugin that can handle this extension, and is asked for the mime type if no plugin is registered, the ext-to-type-mapping xpcom category is searched for the extension.
Bootstrapping a new locale
mkdir -p ab-cd/browser/installer ab-cd/browser/profile/chrome ab-cd/browser/search
plugins ab-cd/browser/updater ab-cd/toolkit cp -r mozilla-1.9.x/browser/locales/ ab-cd/browser cp -r mozilla-1.9.x/dom/locales/ ab-cd/dom cp -r mozilla-1.9.x/editor/locales/ ab-cd/editor cp -r mozilla-1.9.x/extensions/reporter/locales/chrome ab-cd/extensions cp -r mozilla-1.9.x/netwerk/locales/ ab-cd/netwerk cp -r mozilla-1.9.x/other-licenses/branding/firefox/locales/ ab-cd/other-licenses cp -r mozilla-1...
Translation phase
this is where you research and select the search
plugins, content and protocol handlers, bookmarks, and links to recommended sites on the in-product pages that your locale's users will find in their mozilla products.
Localization technical reviews
search
plugins similar to the region.properties files, the list.txt file should be reverted to en-us and amended accordingly as the search plugin productization bugs are completed.
What every Mozilla translator should know
search
plugins, protocol handlers, rss/live bookmarks), you will need to upload a patch with the suggested changes to bugzilla and get approval before pushing those changes to your hg repository.
Shumway
the simple method is to install the shumway extension (or run a browser version with shumway included and enabled) and browse to your flash content with adobe flash player set "ask to activate" or "never activate" in firefox's add-ons menu (this will be listed as "shockwave flash" under the
plugins tab).
nsICachingChannel
inherits from: nsicacheinfochannel last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) this interface provides: support for "stream as file" semantics (for jar and
plugins).
nsIDOMNSHTMLDocument
obsolete since gecko 6.0 linkcolor domstring same as body.link
plugins nsidomhtmlcollection same as embeds for compatibility with netscape 4.x read only.
nsIDocShell
allow
plugins boolean whether to allow plugin execution.
nsIHTTPHeaderListener
inherits from: nsisupports last changed in gecko 1.9 (firefox 3) note: the plugin author must provide an instance to {geturl,posturl}() that implements both nsi
pluginstreamlistener and nsihttpheaderlistener.
nsIMarkupDocumentViewer
inherits from: nsisupports last changed in gecko 7.0 (firefox 7.0 / thunderbird 7.0 / seamonkey 2.4) method overview void scrolltonode(in nsidomnode node); void sizetocontent(); attributes attribute type description allow
plugins boolean if true,
plugins are allowed within the doc shell.
nsIPropertyBag
ation language:"en-us" mimetypes:mimetypearray mozalarms:null mozapps:xpcwrappednative_nohelper mozcameras:cameramanager mozconnection:mozconnection mozcontacts:contactmanager mozid:null mozkeyboard:xpcwrappednative_nohelper mozpay:null mozpermissionsettings:null mozphonenumberservice:phonenumberservice mozpower:mozpowermanager moztcpsocket:null online:true oscpu:"windows nt 5.1" platform:"win32"
plugins:pluginarray product:"gecko" productsub:"20100101" useragent:"mozilla/5.0 (windows nt 5.1; rv:30.0) gecko/20100101 firefox/30.0" vendor:"" vendorsub:"" __proto__:navigatorprototype from here we can easily see the operating system version.
nsIUploadChannel
history here is that we need to support both streams that already have headers (for example, content-type and content-length) information prepended to the stream (by
plugins) as well as clients (composer, uploading application) that want to upload data streams without any knowledge of protocol specifications.
nsIWebNavigation
this includes animated images,
plugins and pending javascript timeouts.
Setting HTTP request headers
by not advertising to all sites what extensions are installed this improves both privacy (this makes it harder to track a user known by his set of
plugins, addons and extensions) and security (some
plugins, addons and extensions may be known to have flaws by attackers).
XPI
xpi modules (so called "bundles") are employed to install a wide variety of software, including
plugins, extensions, themes, and thunderbird dictionaries.
The HTML DOM API - Web APIs
d html element interfaces htmlmarqueeelement obsolete html element interfaces htmlbasefontelement htmlfontelement htmlframeelement htmlframesetelement htmlisindexelement htmlmenuitemelement web app and browser integration interfaces these interfaces offer access to the browser window and document that contain the html, as well as to the browser's state, available
plugins (if any), and various configuration options.
Media Source API - Web APIs
media source extensions concepts and usage playing video and audio has been available in web applications without
plugins for a few years now, but the basic features offered have really only been useful for playing single whole tracks.
Web APIs
messagechannel messageevent messageport metadata mimetype mimetypearray mouseevent mousescrollevent mousewheelevent mutationevent mutationobserver mutationobserverinit mutationrecord n ndefmessage ndefreader ndefreadingevent ndefrecord ndefwriter namelist namednodemap navigationpreloadmanager navigator navigatorconcurrenthardware navigatorid navigatorlanguage navigatoronline navigator
plugins navigatorstorage networkinformation node nodefilter nodeiterator nodelist nondocumenttypechildnode notation notification notificationaction notificationevent notifyaudioavailableevent o oes_element_index_uint oes_fbo_render_mipmap oes_standard_derivatives oes_texture_float oes_texture_float_linear oes_texture_half_float oes_texture_half_float_linear oes_vertex_array_object ovr_multiv...
HTML documentation index - HTML: Hypertext Markup Language
98 <embed>: the embed external content element element, embedding content, external content, html, html embedded content, html5,
plugins, reference, web, embed the html <embed> element embeds external content at the specified point in the document.
CSP: sandbox - HTTP
it applies restrictions to a page's actions including preventing popups, preventing the execution of
plugins and scripts, and enforcing a same-origin policy.