Search completed in 1.31 seconds.
Capabilities, constraints, and settings - Web APIs
this article discusses capabilities and constraints, as well as media
settings, and includes an example we call the constraint exerciser.
...for a complete representation of the track's current configuration, use get
settings().
... retrieving current constraints and
settings it's important to remember the difference between constraints and
settings.
...And 22 more matches
Settings - Archive of obsolete content
the jetpack.storage.
settings namespace allows jetpacks to specify user-configurable
settings.
...the
settings persist across browser sessions and are stored using the jetpack [simple storage api][].
...
settings are private to each jetpack and are not accessible by other jetpacks.
...And 8 more matches
Settings - Archive of obsolete content
the jetpack.storage.
settings namespace allows jetpacks to specify user-configurable
settings.
...the
settings persist across browser sessions and are stored using the jetpack simple storage api.
...
settings are private to each jetpack and are not accessible by other jetpacks.
...And 8 more matches
Settings - Firefox Developer Tools
opening
settings beginning with firefox 62, the icon to open developer tools
settings has been moved into a menu accessed by clicking/touching ...
... the menu includes
settings to control the location of the developer tools.
...these
settings are particularly useful if you have a widescreen monitor.
...And 6 more matches
font-feature-settings - CSS: Cascading Style Sheets
the font-feature-
settings css property controls advanced typographic features in opentype fonts.
... syntax /* use the default
settings */ font-feature-
settings: normal; /* set values for opentype feature tags */ font-feature-
settings: "smcp"; font-feature-
settings: "smcp" on; font-feature-
settings: "swsh" 2; font-feature-
settings: "smcp", "swsh" 2; /* global values */ font-feature-
settings: inherit; font-feature-
settings: initial; font-feature-
settings: unset; whenever possible, web authors should instead use the font-variant shorthand property or an associated longhand property such as font-variant-ligatures, font-variant-caps, font-variant-east-asian, font-variant-...
... these lead to more effective, predictable, understandable results than font-feature-
settings, which is a low-level feature designed to handle special cases where no other way exists to enable or access an opentype font feature.
...And 4 more matches
MediaSettingsRange - Web APIs
the media
settingsrange interface of the the mediastream image capture api provides the possible range and value size of photocapabilities.imageheight and photocapabilities.imagewidth.
... properties media
settingsrange.max returns the maximum value of this
settings.
... media
settingsrange.min returns the minimum value of this setting.
...And 3 more matches
ImageCapture.getPhotoSettings() - Web APIs
the getphoto
settings() method of the imagecapture interface returns a promise that resolves with a photo
settings object containing the current photo configuration
settings.
... syntax const
settingspromise = imagecapture.getphoto
settings() return value a promise that resolves with a photo
settings object containing the following properties: filllightmode: the flash setting of the capture device, one of "auto", "off", or "on".
... example the following example, extracted from chrome's image capture / photo resolution sample, uses the results from getphoto
settings() to modify the size of an input range.
...And 2 more matches
FontFace.featureSettings - Web APIs
the feature
settings property of the fontface interface retrieves or sets infrequently used font features that are not available from a font's variant properties.
... it is equivalent to the font-feature-
settings descriptor.
... syntax var featuresettingdescriptor = fontface.feature
settings; fontface.feature
settings = featuresettingdescriptor; value a cssomstring containing a descriptor.
... specifications specification status comment css font loading module level 3the definition of 'feature
settings' in that specification.
MediaStreamTrack.getSettings() - Web APIs
the get
settings() method of the mediastreamtrack interface returns a mediatrack
settings object containing the current values of each of the constrainable properties for the current mediastreamtrack.
... see capabilities, constraints, and
settings for details on how to work with constrainable properties.
... syntax const
settings = track.get
settings() returns a mediatrack
settings object describing the current configuration of the track's constrainable properties.
... specifications specification status comment media capture and streamsthe definition of 'get
settings()' in that specification.
MediaTrackSettings - Web APIs
the mediatrack
settings dictionary is used to return the current values configured for each of a mediastreamtrack's
settings.
... to learn more about how constraints and
settings work, see capabilities, constraints, and
settings.
... properties of shared screen tracks tracks containing video shared from a user's screen (regardless of whether the screen data comes from the entire screen or a portion of a screen, like a window or tab) are generally treated like video tracks, with the exception that they also support the following added
settings: cursor a domstring which indicates whether or not the mouse cursor is being included in the generated stream and under what conditions.
... specifications specification status comment screen capturethe definition of 'mediatrack
settings' in that specification.
font-variation-settings - CSS: Cascading Style Sheets
the font-variation-
settings css property provides low-level control over variable font characteristics, by specifying the four letter axis names of the characteristics you want to vary, along with their values.
... syntax /* use the default
settings */ font-variation-
settings: normal; /* set values for variable font axis names */ font-variation-
settings: "xhgt" 0.7; /* global values */ font-variation-
settings: inherit; font-variation-
settings: initial; font-variation-
settings: unset; values this property's value can take one of two forms: normal text is laid out using default
settings.
... font characteristics set using font-variation-
settings will always override those set using the corresponding basic font properties, e.g.
... specifications specification status comment css fonts module level 4the definition of 'font-variation-
settings' in that specification.
MediaTrackSettings.aspectRatio - Web APIs
the mediatrack
settings dictionary's aspectratio property is a double-precision floating-point number indicating the aspect ratio of the mediastreamtrack as currently configured.
... syntax var aspectratio = mediatrack
settings.aspectratio; value a double-precision floating-point number indicating the current configuration of the track's aspect ratio.
... example see example: constraint exerciser in capabilities, constraints, and
settings for an example.
MediaTrackSettings.autoGainControl - Web APIs
the mediatrack
settings dictionary's autogaincontrol property is a boolean value whose value indicates whether or not automatic gain control (agc) is enabled on an audio track.
... syntax var autogaincontrol = mediatrack
settings.autogaincontrol; value a boolean value which is true if the track has automatic gain control enabled or false if agc is disabled.
... example see example: constraint exerciser in capabilities, constraints, and
settings for an example.
MediaTrackSettings.channelCount - Web APIs
the mediatrack
settings dictionary's channelcount property is an integer indicating how many audio channel the mediastreamtrack is currently configured to have.
... syntax var channelcount = mediatrack
settings.channelcount; value an integer value indicating the number of audio channels on the track.
... example see example: constraint exerciser in capabilities, constraints, and
settings for an example.
MediaTrackSettings.cursor - Web APIs
the mediatrack
settings dictionary's cursor property indicates whether or not the cursor should be captured as part of the video track included in the mediastream returned by getdisplaymedia().
... syntax cursorsetting = mediatrack
settings.cursor; value the value of cursor comes from the cursorcaptureconstraint enumerated string type, and may have one of the following values: always the mouse should always be visible in the video content of the {domxref("mediastream"), unless the mouse has moved outside the area of the content.
... specifications specification status comment screen capturethe definition of 'mediatrack
settings.cursor' in that specification.
MediaTrackSettings.deviceId - Web APIs
the mediatrack
settings dictionary's deviceid property is a domstring which uniquely identifies the source for the corresponding mediastreamtrack for the origin corresponding to the browsing session.
... syntax var deviceid = mediatrack
settings.deviceid; value a domstring whose value is an origin-unique identifier for the track's source.
... example see example: constraint exerciser in capabilities, constraints, and
settings for an example.
MediaTrackSettings.displaySurface - Web APIs
the mediatrack
settings dictionary's displaysurface property indicates the type of display surface being captured.
... syntax displaysurface = mediatrack
settings.displaysurface; value the value of displaysurface is a string that comes from the displaycapturesurfacetype enumerated type, and is one of the following: application the stream's video track contains all of the windows belonging to the application chosen by the user.
... specifications specification status comment screen capturethe definition of 'mediatrack
settings.displaysurface' in that specification.
MediaTrackSettings.echoCancellation - Web APIs
the mediatrack
settings dictionary's echocancellation property is a boolean value whose value indicates whether or not echo cancellation is enabled on an audio track.
... syntax var echocancellation = mediatrack
settings.echocancellation; value a boolean value which is true if the track has echo cancellation functionality enabled or false if echo cancellation is disabled.
... example see example: constraint exerciser in capabilities, constraints, and
settings for an example.
MediaTrackSettings.facingMode - Web APIs
the mediatrack
settings dictionary's facingmode property is a domstring indicating the direction in which the camera producing the video track represented by the mediastreamtrack is currently facing.
... syntax var facingmode = mediatrack
settings.facingmode; value a domstring whose value is one of the strings in videofacingmodeenum.
... example see example: constraint exerciser in capabilities, constraints, and
settings for an example.
MediaTrackSettings.frameRate - Web APIs
the mediatrack
settings dictionary's framerate property is a double-precision floating-point number indicating the frame rate, in frames per second, of the mediastreamtrack as currently configured.
... syntax var framerate = mediatrack
settings.framerate; value a double-precision floating-point number indicating the current configuration of the track's frame rate, in frames per second.
... example see example: constraint exerciser in capabilities, constraints, and
settings for an example.
MediaTrackSettings.groupId - Web APIs
the mediatrack
settings dictionary's groupid property is a browsing-session unique domstring which identifies the group of devices which includes the source for the mediastreamtrack.
... syntax var groupid = mediatrack
settings.groupid; value a domstring whose value is a browsing-session unique identifier for a group of devices which includes the source of the track's contents.
... example see example: constraint exerciser in capabilities, constraints, and
settings for an example.
MediaTrackSettings.height - Web APIs
the mediatrack
settings dictionary's height property is an integer indicating the number of pixels tall mediastreamtrack is currently configured to be.
... syntax var height = mediatrack
settings.height; value an integer value indicating the height, in pixels, of the video track as currently configured.
... example see example: constraint exerciser in capabilities, constraints, and
settings for an example.
MediaTrackSettings.latency - Web APIs
the mediatrack
settings dictionary's latency property is a double-precision floating-point number indicating the estimated latency (specified in seconds) of the mediastreamtrack as currently configured.
... syntax var latency = mediatrack
settings.latency; value a double-precision floating-point number indicating the estimated latency, in seconds, of the audio track as currently configured.
... example see example: constraint exerciser in capabilities, constraints, and
settings for an example.
MediaTrackSettings.logicalSurface - Web APIs
the mediatrack
settings dictionary's logicalsurface property indicates whether or not the display area being captured is a logical surface.
... syntax islogicalsurface = mediatrack
settings.logicalsurface; value a boolean value which is true if the video track in the stream of captured video is taken from a logical display surface.
... specifications specification status comment screen capturethe definition of 'mediatrack
settings.logicalsurface' in that specification.
MediaTrackSettings.noiseSuppression - Web APIs
the mediatrack
settings dictionary's noisesuppression property is a boolean value whose value indicates whether or not noise suppression technology is enabled on an audio track.
... syntax var noisesuppression = mediatrack
settings.noisesuppression; value a boolean value which is true if the input track has noise suppression enabled or false if agc is disabled.
... example see example: constraint exerciser in capabilities, constraints, and
settings for an example.
MediaTrackSettings.sampleRate - Web APIs
the mediatrack
settings dictionary's samplerate property is an integer indicating how many audio samples per second the mediastreamtrack is currently configured for.
... syntax var samplerate = mediatrack
settings.samplerate; value an integer value indicating how many samples each second of audio data includes.
... example see example: constraint exerciser in capabilities, constraints, and
settings for an example.
MediaTrackSettings.sampleSize - Web APIs
the mediatrack
settings dictionary's samplesize property is an integer indicating the linear sample size (in bits per sample) the mediastreamtrack is currently configured for.
... syntax var samplesize = mediatrack
settings.samplesize; value an integer value indicating how many bits each audio sample is represented by.
... example see example: constraint exerciser in capabilities, constraints, and
settings for an example.
MediaTrackSettings.volume - Web APIs
the mediatrack
settings dictionary's volume property is a double-precision floating-point number indicating the volume of the mediastreamtrack as currently configured, as a value from 0.0 (silence) to 1.0 (maximum supported volume for the device).
... syntax var volume = mediatrack
settings.volume; value a double-precision floating-point number indicating the volume, from 0.0 to 1.0, of the audio track as currently configured.
... example see example: constraint exerciser in capabilities, constraints, and
settings for an example.
MediaTrackSettings.width - Web APIs
the mediatrack
settings dictionary's width property is an integer indicating the number of pixels wide mediastreamtrack is currently configured to be.
... syntax var width = mediatrack
settings.width; value an integer value indicating the width, in pixels, of the video track as currently configured.
... example see example: constraint exerciser in capabilities, constraints, and
settings for an example.
font-variation-settings - CSS: Cascading Style Sheets
the font-variation-
settings css descriptor allows authors to specify low-level opentype or truetype font variations in the @font-face rule.
... syntax /* use the default
settings */ font-variation-
settings: normal; /* set values for opentype axis names */ font-variation-
settings: "xhgt" 0.7; values normal text is laid out using default
settings.
... formal definition related at-rule@font-faceinitial valuenormalcomputed valueas specified formal syntax normal | [ <string> <number> ]# examples setting font weight and stretch in a @font-face rule @font-face { font-family: 'opentypefont'; src: url('open_type_font.woff2') format('woff2'); font-weight: normal; font-style: normal; font-variation-
settings: 'wght' 400, 'wdth' 300; } specifications specification status comment css fonts module level 4the definition of 'font-variation-
settings' in that specification.
Locked config settings - Archive of obsolete content
putting into place locked configuration
settings this feature exists for mozilla and firefox, but not for thunderbird locked
settings can be put into a mozilla.cfg file in the c:\program files\mozilla.org\mozilla directory.
...moreover, some
settings (such as mail & news configuration) unfortunately seem to be inaccessible to mozilla.cfg, which means that these cannot be locked.
nsIGSettingsService
xpcom/system/nsig
settingsservice.idlscriptable please add a summary to this article.
... 1.0 66 introduced gecko 6.0 inherits from: nsisupports last changed in gecko 6.0 (firefox 6.0 / thunderbird 6.0 / seamonkey 2.3) implemented by: @mozilla.org/g
settings-service;1 as a service: var g
settingsservice = components.classes["@mozilla.org/g
settings-service;1"] .createinstance(components.interfaces.nsig
settingsservice); method overview nsig
settingscollection getcollectionforschema(in autf8string schema); methods getcollectionforschema() nsig
settingscollection getcollectionforschema( in autf8string schema ); parameters schema return value ...
MediaSettingsRange.max - Web APIs
the max read-only property of the media
settingsrange interface returns the maximum value of the
settings range.
... syntax var max = media
settingsrange.max value a double integer.
MediaSettingsRange.min - Web APIs
the min read-only property of the media
settingsrange interface returns the minimum value of the
settings range.
... syntax var min = media
settingsrange.min value a double integer.
MediaSettingsRange.step - Web APIs
the step read-only property of the media
settingsrange interface returns the minimum difference between consecutive values of the
settings range.
... syntax var step = media
settingsrange.step value a double integer.
Settings - Archive of obsolete content
the debugger has its own
settings menu, which you can access from an icon in the toolbar: each setting is a simple on/off switch: auto prettify minified sources with this option enabled, the debugger will automatically detect minified js files and pretty-print them.
Index - Web APIs
137 audiocontextoptions api, audio, audiocontext, audiocontextoptions, configuration, context, dictionary, interface, options, reference,
settings, web audio api, samplerate the audiocontextoptions dictionary is used to specify configuration options when constructing a new audiocontext object to represent a graph of web audio nodes.
... 604 canvasrenderingcontext2d.strokerect() api, canvas, canvasrenderingcontext2d, method, reference the canvasrenderingcontext2d.strokerect() method of the canvas 2d api draws a rectangle that is stroked (outlined) according to the current strokestyle and other context
settings.
... 858 displaymediastreamconstraints.audio api, audio, capture, constraints, displaymediastreamtrack, options, property, reference, screen capture, screen capture api, screen sharing,
settings, sharing, screen, track the displaymediastreamconstraints dictionary's audio property is used to specify whether or not to request that the mediastream containing screen display contents also include an audio track.
...And 47 more matches
sslfnc.html
however, these
settings control the behavior of pr_connect and pr_accept only; if you don't call one of those functions after importing a non-ssl socket with ssl_import (as in the case of an already established tcp connection), ssl still needs to know whether the application is functioning as a client or server.
... syntax #include "ssl.h" secstatus ssl_cipherprefsetdefault(print32 cipher, prbool enabled); parameters this function has the following parameters: cipher one of the following values for ssl2 (factory
settings for all are enabled): ssl_en_rc4_128_with_md5 ssl_en_rc4_128_export40_with_md5 ssl_en_rc2_128_cbc_with_md5 ssl_en_rc2_128_cbc_export40_with_md5 ssl_en_des_64_cbc_with_md5 ssl_en_des_192_ede3_cbc_with_md5 or one of the following values for ssl3/tls (unless indicated otherwise, factory
settings for all are enabled): tls_dhe_rsa_with_aes_256_cbc_sha ...
...you typically call this in response to changes in user-controlled
settings.
...And 15 more matches
Variable fonts guide - CSS: Cascading Style Sheets
the lower-level syntax (font-variation-
settings) was the first mechanism implemented in order to test the early implementations of variable font support, and is necessary to utilize new or custom axes beyond the five registered ones.
...therefore wherever possible, the appropriate property should be used, with the lower-level syntax of font-variation-
settings only being used to set values or axes not available otherwise.
... notes when using font-variation-
settings it is important to note that axis names are case-sensitive.
...And 15 more matches
Index - Archive of obsolete content
227 default preferences a key part of any extension is the default
settings that come with it.
... mozilla provides a simple way of shipping default
settings by allowing default preferences.
... 295 search extension tutorial (draft) extensions, search, tutorial many add-ons, for monetization or other reasons, change several search-related
settings at install time.
...And 12 more matches
Accessibility: What users can do to browse more safely - Accessibility
this article discusses making web content accessible for those with vestibular disorders, and those who support them, by taking advantage of personalization and accessibility
settings built into the operating systems.
... taking advantage of personalization
settings can help prevent exposure to content leading to seizures and / or other physical reactions.
... personalization and accessibility
settings from the article, "understanding success criterion 2.3.1: three flashes or below threshold" "flashing can be caused by the display, the computer rendering the image or by the content being rendered.
...And 9 more matches
Debugging on Mac OS X
macos 10.15 went further, requiring applications to be notarized with hardened runtime enabled in order to launch (ignoring workarounds.) when run on earlier macos versions, notarization and hardened runtime
settings have no effect.
...after you click ok, xcode should open the
settings window for the new scheme.
... (if not, then open its
settings from the product > edit scheme menu.) select "run" on the left-hand side of the
settings window, then select the "info" tab.
...And 6 more matches
Eclipse CDT Manual Setup
whenever you create a new workspace for a mozilla source tree, you should be sure to turn off the following two
settings in the workspace preferences (window > preferences, or eclipse > preferences) before creating a project in that workspace: in "general > workspace", disable "build automatically" in "c/c++ > indexer", disable "automatically update the index" turning off automatic indexing prevents the cpu intensive indexer from running at various stages during the steps below before we're ready.
...(note that the format
settings under "general > editors > text editors" have no effect in c/c++ views, since the c/c++
settings are more specific and override those
settings.
... however, you may still want to tweak those
settings if you'll be editing other file types in eclipse.) select "c/c++ > editor" and set "workspace default" to "doxygen".
...And 6 more matches
nsIPrintingPrompt
returning ns_ok assumes that the print
settings object was correctly filled in and if it does not have valid fields for printer name, and so on.
...you can then fly you own dialog and then properly fill in the print
settings object before calling nsiwebbrowserprint's print method.
... defaults for platform service: showprintdialog - displays a native dialog showpagesetup() - displays a native dialog showprogress() - displays a xul dialog method overview void showpagesetup(in nsiprint
settings print
settings, in nsiobserver aobs); void showprintdialog(in nsiwebbrowserprint webbrowserprint, in nsiprint
settings print
settings); void showprogress(in nsiwebbrowserprint webbrowserprint, in nsiprint
settings print
settings, in nsiobserver opendialogobserver, in boolean isforprinting, out nsiwebprogresslistener webprogresslistener, out nsiprintprogressparams printprogressparams,...
...And 6 more matches
OpenType font features guide - CSS: Cascading Style Sheets
these are all referred to as opentype features, and are made available to use on the web via specific properties and a low-level control property — font-feature-
settings.
...they are all defined and shown here, but many will only work using the lower-level font-feature-
settings property.
...the issue with simply using font-feature-
settings for everything is that every time you want to change one of the individual features, you have to redefine the entire string (similar to manipulating variable fonts with font-variation-
settings).
...And 5 more matches
MCD, Mission Control Desktop, AKA AutoConfig - Archive of obsolete content
thunderbird.cfg (version 1) here's the complete file, first we get the user login name from environment variables, then configure the ldap address book, create an email account, and configure imap and smtp: [root@calaz /usr/lib/thunderbird] $ cat thunderbird.cfg //put everything in a try/catch try { // 1) env variables if(getenv("user") != "") { // *nix
settings var env_user = getenv("user"); var env_home = getenv("home"); } else { // windows
settings var env_user = getenv("username"); var env_home = getenv("homepath"); } var env_mozdebug= getenv("mozilla_debug"); // var env_user = prompt("indiquez votre login", toto); // 2) lock general preferences //ldap address book lockpref("ldap_2.prefs_migrated", true); lockpref("ldap_2.servers.ldapint.a...
...dapvalues() getldapattributes( ldaphost, ldapbase, ldapfilter, ldapattrs.join(",") ); // create account // see also http://blog.deanandadie.net/2010/06/easy-thunderbird-account-management-using-mcd/ // identity defaultpref("mail.identity.id1.fullname", userinfo.cn ); defaultpref("mail.identity.id1.smtpserver", "smtp1" ); defaultpref("mail.identity.id1.useremail", userinfo.mail ); // imap server
settings defaultpref("mail.server.server1.hostname", "myimap.server.com" ); defaultpref("mail.server.server1.name", userinfo.mail ); defaultpref("mail.server.server1.port", 993 ); defaultpref("mail.server.server1.sockettype", 3 ); defaultpref("mail.server.server1.type", "imap" ); defaultpref("mail.server.server1.username", userinfo.mail ); // smtp server
settings defaultpref("mail.smtpserver.smtp1.authme...
...at"); defaultpref("network.proxy.type", 2); lockpref("network.protocol-handler.app.mailto", "/usr/bin/thunderbird"); //firefox3 urlclassifier3.sqlite iowait/cpu pb //http://forums.mozillazine.org/viewtopic.php?p=3381133#3381133 defaultpref("browser.safebrowsing.enabled", false); defaultpref("browser.safebrowsing.malware.enabled", false); // 1) env variables if(getenv("user") != "") { // *nix
settings var env_user = getenv("user"); var env_home = getenv("home"); } else { // windows
settings var env_user = getenv("username"); var env_home = getenv("homepath"); } var env_mozdebug= getenv("mozilla_debug"); // 2) define here (because if set after "3)" below it doesn't work !) processldapvalues which is eventually called by getldapattributes() just below, // check ge...
...And 4 more matches
Setting up the Gecko SDK
if you choose some other location, remember to adjust the
settings described here (e.g., in the building a microsoft visual cpp project section below) to point to this new location.
... adding the gecko sdk to the project
settings in order to build anything that uses gecko, you have to further modify the project so that it knows where to find the gecko sdk on the disk.
... to edit project
settings, select
settings from the project menu (or press alt-f7).
...And 4 more matches
Edit fonts - Firefox Developer Tools
for standard (static) fonts, you will be able to change the
settings listed below size the font-size for the inspected element.
... note: as you change
settings, firefox applies inline styles to the element to make the changes instantly visible on the page.
...the css font-variation-
settings property uses the tag as part of the key-value pair.
...And 4 more matches
Web Video Text Tracks Format (WebVTT) - Web APIs
crédit de transcription 00:04.000 --> 00:05.000 transcrit par célestes™ ::cue(#\31) { color: lime; } ::cue(#crédit\ de\ transcription) { color: red; } positioning of text tracks is also supported, by including positioning information after the timings in a cue, as seen below (see cue
settings for more information): webvtt 00:00:00.000 --> 00:00:04.000 position:10%,line-left align:left size:35% where did he go?
... optional cue
settings with at least one space before the first and between each setting.
...00:30.739 --> 00:00:34.074 00:00:34.159 --> 00:00:35.743 00:00:35.827 --> 00:00:40.122 example 11 - overlapping cue timing examples 00:00:00.000 --> 00:00:10.000 00:00:05.000 --> 00:01:00.000 00:00:30.000 --> 00:00:50.000 example 12 - non-overlapping cue timing examples 00:00:00.000 --> 00:00:10.000 00:00:10.000 --> 00:01:00.581 00:01:00.581 --> 00:02:00.100 00:02:01.000 --> 00:02:01.000 cue
settings cue
settings are optional components used to position where the cue payload text will be displayed over the video.
...And 4 more matches
Example and tutorial: Simple synth keyboard - Web APIs
the
settings bar beneath the keyboard, we'll put some controls for configuring the layer.
... the volume control first we create the <div> to contain the
settings bar, so it can be styled as needed.
... <div class="
settingsbar"> <div class="left"> <span>volume: </span> <input type="range" min="0.0" max="1.0" step="0.01" value="0.5" list="volumes" name="volume"> <datalist id="volumes"> <option value="0.0" label="mute"> <option value="1.0" label="100%"> </datalist> </div> we specify a default value of 0.5, and we provide a <datalist> element which is connected to the range using the name attribute to find an option list whose id matches; in this case, the data set is named...
...And 4 more matches
Handling Preferences - Archive of obsolete content
preferences are used to store
settings and information to change their default behavior.
...this is where the user's
settings are stored.
...this file is never written to by firefox, but you may wish to set preferences manually in this file to override other
settings.
...And 3 more matches
Drawing and Event Handling - Plugins
however, for the plug-in to draw at any other time, for example, to highlight on a mouse-down event or draw animation at idle time, it must save the current setting of the port, set up its drawing environment as appropriate, draw, and then restore the port to the previous
settings.
... in this case, the plug-in makes it unnecessary for the browser to save and restore its port
settings before and after every call into the plug-in.
...the instance must restrict its drawing to a specified area of the shared window, and it must always save the current
settings, set up the drawing environment, and restore the shared drawing environment to the previous
settings.
...And 3 more matches
ImageCapture.takePhoto() - Web APIs
syntax const blobpromise = imagecaptureobj.takephoto([photo
settings]) parameters photo
settings optional an object that sets options for the photo to be taken.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internettakephoto experimentalchrome full support 60 full support 60 no support 59 — 60notes notes photo
settings argument not supported.edge full support ≤79firefox ?
... opera full support 47 full support 47 no support 46 — 47notes notes photo
settings argument not supported.safari ?
...And 3 more matches
Border-image generator - CSS: Cascading Style Sheets
</div> <!-- border-image-width --> <div id="border-width-control" class="category"> <div class="title"> border-image-width </div> </div> <!-- border-image-outset --> <div id="border-outset-control" class="category"> <div class="title"> border-image-outset </div> </div> <!-- other-
settings --> <div id="aditional-properties" class="category"> <div class="title"> aditional-properties </div> <div class="property"> <div class="name"> repeat-x </div> <div class="ui-dropdown border-repeat" data-topic="image-repeat-x" data-selected="2"> <div data-value="0">repeat</div> ...
...* border-image-slice */ #border-slice-control .ui-dropdown-list { height: 4.3em; } /* border-image-width */ #border-width-control .ui-dropdown-list { height: 6.2em; } /* border-image-outset */ #border-outset-control .ui-dropdown-list { height: 4.3em; } #aditional-properties .property { width: 200px; } #aditional-properties .ui-input-slider > input { width: 80px !important; } /* unit
settings panel */ #unit-
settings { padding: 10px; position: absolute; background: #fff; font-size: 12px; border-radius: 3px; border: 1px solid #ccc; text-align: center; color: #555; position: absolute; z-index: 1000; box-shadow: 0 0 3px 0 #bababa; transition: all 0.25s; } #unit-
settings .title { width: 100%; margin: -5px auto 0; color: #666; font-size: 14px; font-weight: bold; lin...
...e-height: 25px; border-bottom: 1px solid #e5e5e5; } #unit-
settings .ui-input-slider { margin: 10px 0 0 0; } #unit-
settings .ui-input-slider-info { width: 50px; line-height: 1.5em; } #unit-
settings input { font-size: 12px; width: 40px !important; } #unit-
settings .close { width: 16px; height: 16px; background: url('https://mdn.mozillademos.org/files/6019/close.png') no-repeat center center; background-size: 75%; position: absolute; top: 4px; right: 4px; opacity: 0.5; } #unit-
settings .close:hover { cursor: pointer; opacity: 1; } #unit-
settings[data-active='true'] { opacity: 1; } #unit-
settings[data-active='false'] { opacity: 0; top: -100px !important; } /* * css output code */ #output { padding: 10px; border: 2px dashed #888 !important; box-shadow: none !important;...
...And 3 more matches
Setting up an extension development environment - Archive of obsolete content
development profile the use of a separate user profile for development can be advantageous, averting performance degradation from development related
settings, and further isolating personal data (such as bookmarks, extensions, and
settings) from your testing environment.
...explore this profile a little: change some
settings, install any additional extensions, and finally close this instance of firefox.
... accessing firefox development preferences to change preference
settings in firefox or seamonkey, type about:config in the location bar.
...And 2 more matches
XUL accessibility guidelines - Archive of obsolete content
by default, xul menus, labels, and other widgets get their font, size, and color
settings from the user
settings specified in the operating system.
... testing display verify that your application is functional and pleasant looking using user-defined font and color
settings.
... do this by changing system display
settings to an accessible theme (such as the high-contrast theme on windows, available via left-alt + left-shift + printscreen).
...And 2 more matches
Vulnerabilities - Archive of obsolete content
examples of
settings are an operating system offering access to control lists that set the privileges that users have for files, and an application offering a setting to enable or disable the encryption of sensitive data stored by the application.
... a security configuration issue vulnerability involves the use of security configuration
settings that negatively affect the security of the software.
... first, many configuration
settings increase security at the expense of reducing functionality, so using the most secure
settings could make the software useless or unusable.
...And 2 more matches
Embedding Tips
normally it provide some functionality that is required from lots of places such as looking up preference
settings, creating new windows, locating files, displaying prompt or password dialog boxes and so on.
...call the nsiwebbrowserprint::print() method supplying a print
settings object (e.g.
... that returned from nsiwebbrowserprint::getglobalprint
settings) that you wish to print the page with.
...And 2 more matches
Profiling with the Firefox Profiler
startup profiling does not use the
settings that you configured in the add-on's panel.
... it uses
settings that can be configured with the environment variables moz_profiler_startup_entries, moz_profiler_startup_interval and moz_profiler_startup_filters: if it looks like the buffer is not large enough, you can tweak the buffer size with the env var moz_profiler_startup_entries.
...this example is for firefox nightly (package name is org.mozilla.fennec_aurora), and you have to allow storage access on permission
settings before launching it.
...And 2 more matches
nsIPrinterEnumerator
inherits from: nsisupports last changed in gecko 1.9 (firefox 3) method overview void displaypropertiesdlg(in wstring aprinter, in nsiprint
settings aprint
settings); void enumerateprinters(out pruint32 acount,[retval, array, size_is(acount)] out wstring aresult); obsolete since gecko 1.9 void initprint
settingsfromprinter(in wstring aprintername, in nsiprint
settings aprint
settings); attributes attribute type description defaultprintername wstring the name of the system default printer.
...this is not necessarily gecko's default printer; see nsiprint
settingsservice.defaultprintername for that.
... methods displaypropertiesdlg() void displaypropertiesdlg( in wstring aprinter, in nsiprint
settings aprint
settings ); parameters aprinter aprint
settings enumerateprinters() obsolete since gecko 1.9 (firefox 3) returns an array of the names of all installed printers.
...And 2 more matches
Tips - Firefox Developer Tools
settings: choose between a light and a dark theme for the developer tools.
... check "enable persistent logs" in the
settings to keep logged messages from before even after navigation.
... check "enable timestamps" in the
settings to show timestamps besides the logged messages.
...And 2 more matches
Transformations - Web APIs
each time the restore() method is called, the last saved state is popped off the stack and all saved
settings are restored.
... function draw() { var ctx = document.getelementbyid('canvas').getcontext('2d'); ctx.fillrect(0, 0, 150, 150); // draw a rectangle with default
settings ctx.save(); // save the default state ctx.fillstyle = '#09f'; // make changes to the
settings ctx.fillrect(15, 15, 120, 120); // draw a rectangle with new
settings ctx.save(); // save the current state ctx.fillstyle = '#fff'; // make changes to the
settings ctx.globalalpha = 0.5; ctx.fillrect(30, 30, 90, 90); // draw a rectangle with new
settings ctx.restore(); // restore previous state ctx.fillrect(45...
..., 45, 60, 60); // draw a rectangle with restored
settings ctx.restore(); // restore original state ctx.fillrect(60, 60, 30, 30); // draw a rectangle with restored
settings } <canvas id="canvas" width="150" height="150"></canvas> draw(); the first step is to draw a large rectangle with the default
settings.
...And 2 more matches
Screen Capture API - Web APIs
mediatrack
settings mediatrack
settings.cursor a string which indicates whether or not the display surface currently being captured includes the mouse cursor, and if so, whether it's only visible while the mouse is in motion or if it's always visible.
... mediatrack
settings.displaysurface a string indicating what type of display surface is currently being captured.
... mediatrack
settings.logicalsurface a boolean value which is true if the video being captured doesn't directly correspond to a single onscreen display area.
...And 2 more matches
WebGL model view projection - Web APIs
webglbox.prototype.draw = function(
settings) { // create some attribute data; these are the triangles that will end being // drawn to the screen.
... var data = new float32array([ //triangle 1
settings.left,
settings.bottom,
settings.depth,
settings.right,
settings.bottom,
settings.depth,
settings.left,
settings.top,
settings.depth, //triangle 2
settings.left,
settings.top,
settings.depth,
settings.right,
settings.bottom,
settings.depth,
settings.right,
settings.top,
settings.depth ]); // use webgl to draw this onto the screen.
...r(); gl.bindbuffer(gl.array_buffer, buffer); gl.bufferdata(gl.array_buffer, data, gl.static_draw); // setup the pointer to our attribute data (the triangles) gl.enablevertexattribarray(this.positionlocation); gl.vertexattribpointer(this.positionlocation, 3, gl.float, false, 0, 0); // setup the color uniform that will be shared across all triangles gl.uniform4fv(this.colorlocation,
settings.color); // draw the triangles to the screen gl.drawarrays(gl.triangles, 0, 6); } the shaders are the bits of code written in glsl that take our data points and ultimately render them to the screen.
...And 2 more matches
Search Extension Tutorial (Draft) - Archive of obsolete content
changing default search setting from extensions many add-ons, for monetization or other reasons, change several search-related
settings at install time.
...due to the large volume of user complaints regarding hidden
settings being changed against their will, and not being restored after the add-ons responsible are disabled, mozilla will take any steps necessary to mitigate the impact of offending add-ons.
...other
settings violations designed to restrict user choice will result in stronger action, such as blacklisting of the add-ons in question.
...example extension and utility module in order to simplify the process of correctly changing these kinds of
settings, we've developed a reusable utility module, and an example add-on to demonstrate its use.
New Skin Notes - Archive of obsolete content
--nickolay do you know if there's a local
settings variable to have the edit-section links off by default?
...--dria the menu column seems larger than before in the current test theme, so as to cause some reference pages to look ugly when browser set in 800x* resolution, using the default firefox 1.0.6 fonts
settings on xfree86.
...that our screen resolutions are now wider than 800 pixels width does not mean that we always want to enlarge the window that large and as a result get extra-wide unreadable text lines :) and some people really are restricted to 800 (we can ignore 640, this will most likely require fonts
settings changes as well).
...since i manage a number of sites for which i must respect quality standards at 800 pixels width for compatibility (we accept break 640 compatibility nowadays except for sites intended for pdas/ppcs), i find myself needing to use ctrl+- with the devmo wikki currently, not to change my global
settings of course, which are fine and factory-default, working well with the other sites i visit regularily or manage...
Scratchpad - Archive of obsolete content
first you need to check "scratchpad" in the "default firefox developer tools" section of the
settings page.
...to do this check "enable chrome and add-on debugging" in the developer tool
settings.
... in the editor preferences section of the developer tools
settings, you can choose to use vim, emacs, or sublime text key bindings instead.
... from firefox 33 onwards, the key binding preference is exposed in the editor preferences section of the developer tools
settings, and you can set it there instead of about:config.
Deployment and next steps - Learn web development
./ auto-detected project
settings (svelte): - build command: `npm run build` or `rollup -c` - output directory: public - development command: sirv public --single --dev --port $port ?
... want to override the
settings?
... to change the domain or build command, go to https://zeit.co/opensas/mdn-svelte-tutorial/
settings accept all the defaults, and you'll be fine.
...you can check your page's url in gitlab's ui — see the
settings > pages menu option.
Debugging on Windows
enable it by going its configuration menu in "debug > other debugging targets > child process debugging
settings", and ticking the box.
... changing/setting the executable to debug vc++ 6.0: to change or set the executable to debug, go to project >
settings..., debug tab and select general from the drop down list.
... command line parameters and environment variables vc++ 6.0: to change or set the command line options, go to project >
settings..., debug tab and select general from the drop down list.
... setting breakpoints in dlls which are not yet loaded in memory vc++ 6.0: go to project >
settings..., debug tab and select "additional dlls" from the drop down list.
Index
for the current
settings or to see the format of the module spec in the database, use the -rawlist option.
...this makes it easier when more than one platform uses the same
settings.
...the trust arguments for certificates have the format ssl,s/mime,code-signing, so the middle trust
settings relate most to email certificates (though the others can be set).
... certutil -v -n certificate-name [-b time] [-e] [-u cert-usage] -d [sql:]directory for example, to validate an email certificate: $ certutil -v -n "john smith's email cert" -e -u s,r -d sql:/home/my/sharednssdb modifying certificate trust
settings the trust
settings (which relate to the operations that a certificate is allowed to be used for) can be changed after a certificate is created or added to the database.
nsIMsgDatabase
olean mark, in nsidbchangelistener instigator); void markoffline(in nsmsgkey key, in boolean offline, in nsidbchangelistener instigator); void setlabel(in nsmsgkey key, in nsmsglabelvalue label); void setstringproperty(in nsmsgkey akey, in string aproperty, in string avalue); void markimapdeleted(in nsmsgkey key, in boolean deleted, in nsidbchangelistener instigator); void applyretention
settings(in nsimsgretention
settings amsgretention
settings, in boolean adeleteviafolder); boolean hasnew(); void clearnewlist(in boolean notify); void addtonewlist(in nsmsgkey key); void startbatch(); void endbatch(); nsimsgofflineimapoperation getofflineopforkey(in nsmsgkey messagekey, in boolean create); void removeofflineop(in nsimsgofflineimapoperation op); nsisimpleenumerator enumerate...
...in nsmsgkey anewhits, out unsigned long anumbadhits, array, size_is(anumbadhits) out nsmsgkey astalehits); void updatehdrincache(in string asearchfolderuri, in nsimsgdbhdr ahdr, in boolean aadd); boolean hdrisincache(in string asearchfolderuri, in nsimsgdbhdr ahdr); attributes attribute type description dbfolderinfo nsidbfolderinfo readonly: firstnew nsmsgkey readonly: msgretention
settings nsimsgretention
settings msgdownload
settings nsimsgdownload
settings lowwaterarticlenum nsmsgkey readonly: highwaterarticlenum nsmsgkey readonly: nextpseudomsgkey nsmsgkey for undo-redo of move pop->imap.
...) void setlabel(in nsmsgkey key, in nsmsglabelvalue label); setstringproperty() void setstringproperty(in nsmsgkey akey, in string aproperty, in string avalue); markimapdeleted() void markimapdeleted(in nsmsgkey key, in boolean deleted, in nsidbchangelistener instigator); applyretention
settings() purge unwanted message headers and/or bodies.
... void applyretention
settings(in nsimsgretention
settings amsgretention
settings, in boolean adeleteviafolder); hasnew() boolean hasnew(); clearnewlist() void clearnewlist(in boolean notify); addtonewlist() void addtonewlist(in nsmsgkey key); startbatch() batching - can be used to cache file stream for local mail, and perhaps to use the mdb batching mechanism as well.
Filelink Providers
a provider implementation can choose what information it gets from the user from the setup dialog by pointing the
settingsurl attribute of their nsimsgcloudfileprovider implementation to a chrome url for an xhtml page that contains a form with the extra information.
... custom
settings fields to handle custom
settings, the
settings xhtml page should contain a form with the id "provider-form", with its onsubmit attribute set to "return false;".
... saving custom
settings in preferences custom
settings for a provider are saved using the preferences api.
... the hightail
settings.xhtml and
settings.js file have examples of this.
Index - Firefox Developer Tools
underneath the magnifying glass it shows the color value for the current pixel using whichever scheme you've selected in
settings > inspector > default color unit: 34 index tools found 158 pages: 35 json viewer firefox includes a json viewer.
...to enable it, open the developer tool
settings, and check the "memory" box under "default firefox developer tools": 40 dom allocation example this article describes a very simple web page that we'll use to illustrate some features of the memory tool.
... 83 allocations to enable the allocations view, you must check "record allocations" in the performance tool
settings, before recording a profile.
... 102 rulers devtools, firefox, rulers, tools you can overlay horizontal and vertical rulers on a web page: 103
settings beginning with firefox 62, the icon to open developer tools
settings has been moved into a menu accessed by clicking/touching ...
Examine and edit CSS - Firefox Developer Tools
to view user-agent styles (i.e., browser-default css rules), enable "inspector > show browser styles" under the developer tool
settings panel.
...that means that if you are using a css preprocessor that has support for source maps, and you've enabled source map support in the style editor
settings, then the link will take you to the original source, not the generated css.
... typing in the search box performs a live filtering of the list, so, for example, if you just want to see font-related
settings, you can type "font" in the search box, and only properties with "font" in the name will be listed.
... if you are satisfied with the changes you have made, you can copy the new
settings to page the edited rule into your stylesheet.
Responsive Design Mode - Firefox Developer Tools
from left to right, the display includes: name of the selected device - a drop-down list that includes whatever devices you have selected from the device
settings screen.
... if you checked "screenshot to clipboard" in the developer tools
settings page, then the screenshot will be copied to the system clipboard.
... on the right end of the screen, three buttons allow you to: camera button - take a screenshot
settings button - opens the rdm
settings menu close button - closes rdm mode and returns to regular browsing the
settings menu includes the following commands: left-align viewport - when checked moves the rdm viewport to the left side of the browser window show user agent - when checked displays the user agent string the final two options define when the page is reloaded: reload when touch...
... now when you change such
settings for the first time, you are given a warning message that tells you these reloads are no longer automatic, and informed about how you can make them automatic.
Style Editor - Firefox Developer Tools
you can switch autocomplete off in the style editor
settings.
... viewing original sources now, if you check "show original sources" in the style editor
settings, the links next to css rules in the rules view will link to the original sources in the style editor.
... in the editor preferences section of the developer tools
settings, you can choose to use vim, emacs, or sublime text key bindings instead.
... from firefox 33 onwards, the key binding preference is exposed in the editor preferences section of the developer tools
settings, and you can set it there instead of about:config.
Toolbox - Firefox Developer Tools
extra tools next there's an array of buttons that can be added or removed in the developer tool
settings.
... the following tools are not included in the toolbar by default, but you can add them in the
settings: highlight painted area 3d view (note that this is not available in firefox 40) scratchpad grab a color from the page take a screenshot of the entire page: take a screenshot of the complete web page and saves it in your downloads directory toggle rulers for the page measure a portion of the page: measure a part of the website by selecting areas within the page toolbox controls finally there's a row of buttons to: close the window toggle the window between attached to the bottom of the browser...
... window, and attached to the side of the browser window toggle the window between standalone and attached to the browser window access developer tool
settings settings see the separate page on the developer tools
settings.
... command windows macos linux cycle through tools left to right ctrl + ] cmd + ] ctrl + ] cycle through tools right to left ctrl + [ cmd + [ ctrl + [ toggle between active tool and
settings.
about:debugging - Firefox Developer Tools
before you connect: enable developer
settings on your android device.
... enable usb debugging in the android developer
settings.
... enable remote debugging via usb in the advanced
settings in firefox on the android device.
... connecting over the network you can connect to a firefox debug server on your network, or on your debugging machine using the network location
settings of the about:debugging page.
MediaStreamTrack - Web APIs
properties in addition to the properties listed below, mediastreamtrack has constrainable properties which can be set using applyconstraints() and accessed using getconstraints() and get
settings().
... see capabilities, constraints, and
settings to learn how to correctly work with constrainable properties.
... mediastreamtrack.readonly read only returns a boolean value with a value of true if the track is readonly (such a video file source or a camera that
settings can't be modified), false otherwise.
... mediastreamtrack.get
settings() returns a mediatrack
settings object containing the current values of each of the mediastreamtrack's constrainable properties.
MediaTrackConstraints.cursor - Web APIs
see how constraints are defined in capabilities, constraints, and
settings for an explanation of how to define constraints.
... usage notes you can check the setting selected by the user agent after the display media has been created by getdisplaymedia() by calling get
settings() on the display media's video mediastreamtrack, then checking the value of the returned mediatrack
settings object's cursor object.
... for example, if your app needs to alter the stream by inserting a representation of the cursor position if the stream doesn't include the rendered cursor, you can determine the need to do so by using code like this: let insertfakecursorflag = false; if (displaystream.getvideotracks()[0].get
settings().cursor === "never") { insertfakecursorflag = true; } following this code, insertfakecursorflag is true if there's no cursor rendered into the stream already.
...in addition, see example: constraint exerciser in capabilities, constraints, and
settings for a complete example showing how constraints are used.
MediaTrackConstraints.displaySurface - Web APIs
see how constraints are defined in capabilities, constraints, and
settings for an explanation of how to define constraints.
... usage notes you can check the setting selected by the user agent after the display media has been created by getdisplaymedia() by calling get
settings() on the display media's video mediastreamtrack, then checking the value of the returned mediatrack
settings object's displaysurface object.
... for example, if your app needs to know that the surface being shared is a monitor or application—meaning that there's possibly a non-content backdrop—it can use code similar to this: let mayhavebackdropflag = false; let displaysurface = displaystream.getvideotracks()[0].get
settings().displaysurface; if (displaysurface === "monitor" || displaysurface ==="application") { mayhavebackdropflag = true; } following this code, mayhavebackdrop is true if the display surface contained in the stream is of type monitor or application; either of these may have non-content backdrop areas.
...in addition, see example: constraint exerciser in capabilities, constraints, and
settings for a complete example showing how constraints are used.
Using the Screen Capture API - Web APIs
there are three new constraints added to mediatrackconstraints (as well as to mediatracksupportedconstraints and mediatrack
settings) for configuring a screen capture stream: cursor indicates whether or not to capture the mouse cursor, and if so, whether to do so all the time or only while the mouse is in motion.
... function stopcapture(evt) { let tracks = videoelem.srcobject.gettracks(); tracks.foreach(track => track.stop()); videoelem.srcobject = null; } dumping configuration information for informational purposes, the startcapture() method shown above calls a method named dumpoptions(), which outputs the current track
settings as well as the constraints that were placed upon the stream when it was created.
... function dumpoptionsinfo() { const videotrack = videoelem.srcobject.getvideotracks()[0]; console.info("track
settings:"); console.info(json.stringify(videotrack.get
settings(), null, 2)); console.info("track constraints:"); console.info(json.stringify(videotrack.getconstraints(), null, 2)); } the track list is obtained by calling getvideotracks() on the capture'd screen's mediastream.
... the
settings currently in effect are obtained using get
settings() and the established constraints are gotten with getconstraints() html the html starts with a simple introductory paragraph, then gets into the meat of things.
prefers-reduced-motion - CSS: Cascading Style Sheets
alternatively, add gtk-enable-animations = false to the [
settings] block of the gtk 3 configuration file.
... in windows 10:
settings > ease of access > display > show animations in windows.
... in ios:
settings > general > accessibility > reduce motion.
... in android 9+:
settings > accessibility > remove animations.
CSS Fonts - CSS: Cascading Style Sheets
reference properties font font-family font-feature-
settings font-kerning font-language-override font-optical-sizing font-size font-size-adjust font-stretch font-style font-synthesis font-variant font-variant-alternates font-variant-caps font-variant-east-asian font-variant-ligatures font-variant-numeric font-variant-position font-variation-
settings font-weight line-height at-rules @font-face font-family font-feature-setti...
...these are all referred to as opentype features, and are made available to use on the web via specific properties and a low-level control property — font-feature-
settings.
... specifications specification status comment css fonts module level 4 working draft adds font-variation-
settings (and related higher-level properties) and font-optical-sizing.
... css fonts module level 3 candidate recommendation adds font-feature-
settings (and related higher-level properties) css level 2 (revision 1) recommendation css level 1 recommendation initial definition ...
Standard metadata names - HTML: Hypertext Markup Language
the browser will use this information in tandem with the user's browser or device
settings to determine what colors to use for everything from background and foregrounds to form controls and scrollbars.
...browser
settings can ignore this rule and ios10+ ignores it by default.
...browser
settings can ignore this rule and ios10+ ignores it by default.
...browser
settings can ignore this rule, and ios10+ ignores it by default.
File I/O - Archive of obsolete content
the user's desktop directory (for example ~/desktop on linux or mac os x, c:\documents and
settings\username\desktop on windows).
... profld f local
settings on windows; where the network cache and fastload files are stored.
... progs d user start menu programs directory (for example, c:\documents and
settings\username\start menu\programs).
Inline options - Archive of obsolete content
settings are tied to actual preferences, except the button setting, which is designed more for actions.
... some discussion on the subject at stackoverflow: how to use addeventlistener on inputchanged of inline options display notifications if you want to use the
settings ui for anything more than storing preferences, then you will probably need to initialize them when they first appear.
... you can't do this until your options xul has been loaded into the add-on manager window, so you should listen for the addon-options-displayed notification to initialize your
settings.
Hacking wiki - Archive of obsolete content
once you're done with the configuration script, copy the <tt>config/local
settings.php</tt> file it created to the parent directory and navigate to the location you installed mediawiki to.
...you can enable them by adding include("extensions/exampleext.php"); to the end of your <tt>local
settings.php</tt>.
... random tips you can set the file to log by putting something like this in your local
settings.php: $wgdebuglogfile = 'c:\\123'; you can then use wfdebug() function to write to the log.
Proxy UI - Archive of obsolete content
camino configured in os (networking preferences) (recently added - some support for reading os and account
settings.)ui elements preferences panel overview the ui is based on selecting a proxy mode, then filling out any additional needed information in "related" ui.
...for example, firefox 3: [ ] no proxy [ ] auto-detect proxy
settings for this network [ ] manual proxy configuration: [ ] automatic proxy configuration url: behavior default value: "no proxy" is selected all other "type" radio buttons are enabled, but not selected.
... the radio buttons do not map to the proxy type in order (due the evolution of the ui): proxy mode "network.proxy.type" no proxy (direct) network.proxy.type=0 auto-detect proxy
settings...
Running Tamarin acceptance tests - Archive of obsolete content
the /android-public/android-vars.sh script has commented-out examples of the environment
settings for running tests on the android avm shell.
... to recap the other environment
settings: - set the builtinabc environment variable to the path of the generated/builtin.abc.
...under
settings->applications->development, is usb debugging enabled?
Running Tamarin performance tests - Archive of obsolete content
the /android-public/android-vars.sh script has commented-out examples of the environment
settings for running tests on the android avm shell.
... to recap the other environment
settings: - set the builtinabc environment variable to the path of the /generated/builtin.abc.
...under
settings->applications->development, is usb debugging enabled?
NP_Port - Archive of obsolete content
save the current port
settings before changing the port for drawing.
... set the desired port
settings before drawing.
... restore the previous port
settings after drawing.
Using the W3C DOM - Archive of obsolete content
eltop dom level 2: parseint(elemref.style.top, 10) ie5+: elemref.style.pixelleft = x; elemref.style.pixeltop = y; dom level 2: elemref.style.left = x + "px"; elemref.style.top = y + "px"; w3c dom2 reflection of an element's css properties keep in mind that according to the w3c recommendation, the values returned by the style property of an element reflect static
settings in the element's style attribute only, not the total "computed style" that includes any inherited style
settings from parent elements.
...so, if you want to get the element's inline style
settings for left and top as integers, parse the integer from the string by using parseint().
... conversely, if you want to set the element's inline style
settings for left and top, make sure to construct a string that includes the unit (such as "140px") by appending the unit string to the integer value.
Mobile accessibility - Learn web development
to turn it on, go to your
settings app and select accessibility > voiceover.
... note: some older ios devices have the voiceover menu at
settings app > general > accessibility > voiceover.
... to turn it off again, navigate back to
settings > general > accessibility > voiceover using the above gestures, and toggle the voiceover slider back to off.
What text editors are available? - Learn web development
try digging through the
settings of your editor and read the manual or documentation to see what its capabilities are.
... 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.
...e, in one or multiple documents, based on regular expressions or other patterns as needed quickly jump to a given line view two parts of a large document separately view html as it will look in the browser select text in multiple places at once view your project's files and directories format your code automatically with code beautifier check spelling auto-indent code based on indentation
settings do i want to add extra features to my text editor?
Getting started with Vue - Learn web development
"in dedicated config files" will put your config
settings for things like eslint into their own, dedicated files.
... the other option, "in package.json", will put all of your config
settings into the app's package.json file.
...if you like these
settings over the existing presets and want to use them again, type y , otherwise type n.
Introduction to automated testing - Learn web development
these can be retrieved from your user
settings page.
...
settings (cog icon) — allows you to alter general
settings for the session.
...within each device you can further adjust
settings like monitor size, to get a good idea of how your site's layout works across different form factors.
Introducing a complete toolchain - Learn web development
to configure prettier, give .prettierrc.json the following contents: { "singlequote": true, "trailingcomma": "es5" } with these
settings, when prettier formats javascript for you it will use single quotes for all your quoted values, and it won't use trailing commas (a newer feature of ecmascript that will cause errors in older browsers).
...r file in the root of your will-it-miss directory called .eslintrc.json, and give it the following contents: { "env": { "es6": true, "browser": true }, "extends": "eslint:recommended", "parseroptions": { "ecmaversion": 6, "sourcetype": "module" }, "rules": { "no-console": 0 } } the above eslint configuration says that we want to use the "recommended" eslint
settings, that we're going to allow usage of es6 features (such as map() or set()), that we can use module import statements, and that using console.log() is allowed.
... putting jsx syntax in the middle of our javascript is going to cause eslint to complain pretty quickly with the current configuration, so we'll need to add a little more configuration to the eslint
settings to get it to accept jsx features.
Embedding API for Accessibility
of assertions (bug 71598) to use prefs in embedding, use something like the following code: #include "nsipref.h"; nsresult rv; nscomptr<nsipref> prefs(do_getservice(ns_pref_contractid, &rv)); prefs->setboolpref("bool.pref.name", pr_true /* or pr_false */); prefs->setintpref("int.pref.name", newvalue); prefs->setcharpref("string.pref.name", newcharstarvalue); to manually add a pref to your
settings, add a line like the following to your prefs.js: user_pref("accessibility.browsewithcaret", true); accessibility prefs reference the following is a description of what accessibility prefs give us (or will give us), for accessibility: functionality implementation works as of images setintp...
... open issue: accessibility
settings per url a powerful possibility is that we design an interface for setting certain preferences based on the url.
...for example,
settings per url would allow a user to accept scripts from their known benign web pages, but not others.
Mozilla's Section 508 Compliance
the default theme, classic, uses the operating system's font and color contrast
settings.
...the default theme, classic, uses gnome's font and color contrast
settings.
... (j) when a product permits a user to adjust color and contrast
settings, a variety of color selections capable of producing a range of contrast levels shall be provided.
Eclipse CDT
it also used to be necessary to add the following two lines to your mozconfig to make the compiler output errors all on a single line, but that may not be needed anymore: export cflags="-fmessage-length=0" export cppflags="-fmessage-length=0" debugging to create a debug configuration, open the project properties window, and select "run/debug
settings" on the left.
...you'd select "c/c++ general > prepocessor include paths, macros etc.", and select "gnu c++" and "cdt user
settings entries".
...(if you didn't, and you have projects for more than one source tree entangled in a workspace directory, well, you're on your own.) simply delete the .project and .cproject files and the .
settings directory (if it exists) from the root of your mozilla tree, and then delete the workspace directory corresponding to your tree.
mach
you can specify configuration
settings in a ~/.mozbuild/machrc file.
... to see the list of the 4 available
settings ( which are: alias , test , try , runprefs ) type : $ ./mach
settings should i implement x as a mach command?
...this object holds state from the mach driver, including the current directory, a handle on the logging manager, the
settings object, and information about available mach commands.
Multiple Firefox profiles
a profile in firefox is the collection of
settings, customizations, add-ons, and other personalizations that a user has made or installed into their copy of firefox.
...having different profiles would help separate work and personal life, or allow each family member to have his or her own set of bookmarks,
settings, and add-ons.
... delete files removes the profile and its files, including the profile bookmarks,
settings, passwords, etc.
Firefox and the "about" protocol
the most useful is the url about:config, which displays preferences and
settings that can be inspected and changed.
...-ons manager about:buildconfig displays the configuration and platform used to build firefox about:cache displays information about the memory, disk, and appcache about:checkerboard switches to the checkerboarding measurement page, which allows to detect checkerboarding issues about:config provides a way to inspect and change firefox preferences and
settings about:compat lists overriding site compatability fixes, linked to specific bug issues.
...etworking 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 protections report consisting of enhanced tracking protection, firefox monitor and firefox lockwise data about:restartrequired a page users are sent to when firefo...
Leak And Bloat Tests
ing are be stored in: http://mxr.mozilla.org/comm-central/source/mailnews/test/performance these files consist of: overlays (used to provide the hooks for the javascript): bloat/bloataddroverlay.xul bloat/bloatcomposeoverlay.xul bloat/bloatmainoverlay.xul javascript files (used to drive the tests): bloat/bloataddroverlay.js bloat/bloatcomposeoverlay.js bloat/bloatmainoverlay.js preference
settings (used to provide a defined profile, see below): common/mailnewstestprefs.js python scripts (used to set up the profile and run the test): bloat/setupbloattest.py bloat/runtest.py common/setupcommonmailnews.py pre-defined profile initial setup: one pop3 account (mails tbd) one identity one smtp server defined (not used) future requirements/possibilities: one address book where pab has ...
... 08/04/2008: prefs.js created via tb with the above
settings, the first section is for preferences included in tinderbox, the second section is ones which don't currently get set.
...ion", 1); user_pref("mail.folder.views.version", 1); user_pref("mail.spam.version", 1); user_pref("mailnews.quotingprefs.version", 1); user_pref("mailnews.ui.threadpane.version", 6); changes to leak and bloat tests date and time (pst) description approx effect on numbers pre dec 2008 initial version - 2008/12/07 11:20 bug 463594 disabled os x and outlook address books via the preference
settings mac lk -56.2kb.
gtstd.html
>certutil -l -d ca_db the trust flag
settings "ctu,u,u" indicate that the certificate is a ca certificate that is trusted to issue both client (c) and server (t) ssl certificates.
... >certutil -l -d server_db the trust flag
settings "u,u,u" indicate that the server's databases contain the private key for this certificate.
... >certutil -l -d client_db the trust flag
settings "u,u,u" indicate that the client's databases contain the private key for this certificate.
Index
403 nsiclipboarddragdrophooks clipboard, interfaces, interfaces:scriptable, xpcom, xpcom api reference, xpcom interface reference embedders who want to have these hooks made available should implement nsiclipboarddragdrophooks and use the command manager to send the appropriate commands with these parameters/
settings: 404 nsiclipboardhelper clipboard, interfaces, interfaces:scriptable, xpcom, xpcom api reference, xpcom interface reference this method copies string to (default) clipboard.
... 669 nsig
settingscollection interfaces, interfaces:scriptable, needscontent no summary!
... 670 nsig
settingsservice interfaces, interfaces:scriptable, needscontent implemented by: @mozilla.org/g
settings-service;1 as a service: 671 nsigeolocationprovider dom, geolocation, interfaces, interfaces:scriptable, xpcom, xpcom interface reference this must be called on the main thread interface provides location information to the nsgeolocator via the nsidomgeolocationcallback interface.
nsIMsgFolder
oolean shutdownchildren); void setinvfeditsearchscope(in boolean asearchthisfolder, in boolean asetonsubfolders); void copydatatooutputstreamforappend(in nsiinputstream aistream, in long alength, in nsioutputstream outputstream); void copydatadone(); void setjunkscoreformessages(in nsisupportsarray amessages, in acstring ajunkscore); void applyretention
settings(); boolean fetchmsgpreviewtext([array, size_is (anumkeys)] in nsmsgkey akeystofetch, in unsigned long anumkeys, in boolean alocalonly, in nsiurllistener aurllistener); void addkeywordstomessages(in nsisupportsarray amessages, in acstring akeywords); void removekeywordsfrommessages(in nsisupportsarray amessages, in acstring akeywords); autf8string getmsgtextfrom...
...stream(in nsimsgdbhdr amsghdr, in nsiinputstream astream, in long abytestoread, in long amaxoutputlen, in boolean acompressquotes); attributes attribute type description supportsoffline boolean readonly offlinestoreoutputstream nsioutputstream readonly offlinestoreinputstream nsiinputstream readonly retention
settings nsimsgretention
settings download
settings nsimsgdownload
settings sortorder long used for order in the folder pane, folder pickers, etc.
...nd() void copydatatooutputstreamforappend(in nsiinputstream aistream, in long alength, in nsioutputstream outputstream); copydatadone() void copydatadone(); setjunkscoreformessages() void setjunkscoreformessages(in nsisupportsarray amessages, in acstring ajunkscore); applyretention
settings() void applyretention
settings(); fetchmsgpreviewtext() get the beginning of the message bodies for the passed in keys and store them in the msg hdr property "preview".
nsIMsgIncomingServer
downloadonbiff boolean download
settings nsimsgdownload
settings emptytrashonexit boolean filterscope nsmsgsearchscopevalue read only.
... realhostname acstring real hostname of the server (if server name is changed it is stored here) realusername acstring real username of the server (if username is changed it is stored here) redirectortype string obsolete since gecko 1.9 rememberpassword boolean retention
settings nsimsgretention
settings rootfolder nsimsgfolder rootmsgfolder nsimsgfolder read only.
... spam
settings nsispam
settings spam
settings.
nsIWindowsShellService
inherits from: nsishellservice last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) method overview string getregistryentry(in long ahkeyconstant, in string asubkeyname, in string avaluename); obsolete since gecko 1.8 void restorefile
settings(in boolean aforallusers); obsolete since gecko 1.9 void shortcutmaintenance(); attributes attribute type description desktopbackgroundcolor unsigned long the desktop background color, visible when no background image is used, or if the background image is centered and does not fill the entire screen.
... restorefile
settings() obsolete since gecko 1.9 (firefox 3) restores system
settings to what they were before firefox modified them.
... void restorefile
settings( in boolean aforallusers ); parameters aforallusers whether or not firefox should restore
settings for all users on a multi-user system.
Autoconfiguration in Thunderbird
mechanisms thunderbird gets the server
settings via different means, each of which is intended for different cases: ispdb the ispdb is a central database, currently hosted by the thunderbird project, but free to use for any client.
... it contains
settings for the world's largest isps.
...users may also choose to manually modify the account
settings, even if configuration information is successfully obtained by the methods described above.
nsIMsgCloudFileProvider
settingsurl acstring readonly: a chrome url for an xhtml page displayed in the account setup dialog window, used for displaying and setting provider-specific
settings.
... managementurl acstring readonly: a chrome url for an xhtml page displayed within the filelink preferences dialog, used for displaying and setting provider-specific
settings once the account has already been set up.
...this might change in the future, but as it stands, this function can simply return ns_error_not_implemented unless there are plans to call createnewaccount from the management or
settings xhtml files.
Thunderbird Configuration Files
locate your profile folder before the configuration files are presented, you should know how to find your profile folder, which is where thunderbird saves all your
settings on your hard drive.
...just browse to c:\documents and
settings\[user name]\application data\thunderbird\profiles\ on windows xp/2000 or c:\users\[user name]\appdata\roaming\thunderbird\profiles\ on windows vista, and the rest should be obvious.
...you will be taken to the "real" folder, which is normally c:\documents and
settings\[user name]\application data on windows xp/2000, c:\users\[user name]\appdata\roaming on windows vista.
All keyboard shortcuts - Firefox Developer Tools
command windows macos linux cycle through tools left to right ctrl + ] cmd + ] ctrl + ] cycle through tools right to left ctrl + [ cmd + [ ctrl + [ toggle between active tool and
settings.
... in the editor preferences section of the developer tools
settings, you can choose to use vim, emacs, or sublime text key bindings instead.
... from firefox 33 onwards, the key binding preference is exposed in the editor preferences section of the developer tools
settings, and you can set it there instead of about:config.
UI Tour - Firefox Developer Tools
html pane the inspector is split into two or three sections, depending on your
settings.
...if the page includes any sections using either the flexbox display model or css grids, this view shows the flexbox or grid
settings used on the page.
... to configure the set of browsers you want the compatibility view to check for, click
settings at the bottom of the panel.
Firefox Developer Tools
the ellipsis menu on the right-hand side of developer tools contains several commands that let you perform actions or change tool
settings.
...(note: this feature is not turned on by default and must be enabled in
settings before the icon will appear.) toggles responsive design mode.
... opens the menu that includes docking options, the ability to show or hide the split console, and developer tools
settings.
Element: mousewheel event - Web APIs
the value isn't changed even if the scroll amount of system
settings is page scroll.
...and also, the value isn't changed even if the scroll amount of system
settings is page scroll, i.e., the value is the same as ie on windows.
... on windows, since the detail attribute value is computed from actual scroll amount, the value is different from other browsers except the scroll amount per notch is 3 lines in system
settings or a page.
MediaTrackConstraints.logicalSurface - Web APIs
see how constraints are defined in capabilities, constraints, and
settings for an explanation of how to define constraints.
... usage notes you can check the setting selected by the user agent after the display media has been created by getdisplaymedia() by calling get
settings() on the display media's video mediastreamtrack, then checking the value of the returned mediatrack
settings object's logicalsurface object.
... for example, if your app needs to know if the selected display surface is a logical one: let islogicalsurface = displaystream.getvideotracks()[0].get
settings().logicalsurface; following this code, islogicalsurface is true if the display surface contained in the stream is a logical surface; that is, one which may not be entirely onscreen, or may even be entirely offscreen.
Media Capture and Streams API (Media Stream) - Web APIs
blobevent canvascapturemediastreamtrack inputdeviceinfo mediadevicekind mediadeviceinfo mediadevices mediastream mediastreamconstraints mediastreamevent mediastreamtrack mediastreamtrackevent mediatrackconstraints mediatrack
settings mediatracksupportedconstraints overconstrainederror url early versions of the media capture and streams api specification included separate audiostreamtrack and videostreamtrack interfaces—each based upon mediastreamtrack—which represented streams of those types.
... capabilities, constraints, and
settingsthe twin concepts of constraints and capabilities let the browser and web site or app exchange information about what constrainable properties the browser's implementation supports and what values it supports for each one.
... this article discusses capabilities and constraints, as well as media
settings, and includes an example we call the constraint exerciser.
Notification.Notification() - Web APIs
options optional an options object containing any custom
settings that you want to apply to the notification.
...it defaults to auto, which just adopts the browser's language setting behavior, but you can override that behaviour by setting values of ltr and rtl (although most browsers seem to ignore these
settings.) lang: the notification's language, as specified using a domstring representing a bcp 47 language tag.
... silent: a boolean specifying whether the notification is silent (no sounds or vibrations issued), regardless of the device
settings.
Using the Permissions API - Web APIs
function handlepermission() { navigator.permissions.query({name:'geolocation'}).then(function(result) { if (result.state == 'granted') { report(result.state); geobtn.style.display = 'none'; } else if (result.state == 'prompt') { report(result.state); geobtn.style.display = 'none'; navigator.geolocation.getcurrentposition(revealposition,positiondenied,geo
settings); } else if (result.state == 'denied') { report(result.state); geobtn.style.display = 'inline'; } result.onchange = function() { report(result.state); } }); } function report(state) { console.log('permission ' + state); } handlepermission(); permission descriptors the permissions.query() method takes a permissiondescriptor dictionary as a parameter — th...
... chrome: hamburger menu >
settings > show advanced
settings.
... in the privacy section, click content
settings.
PhotoCapabilities - Web APIs
photocapabilities.imageheight read only returns a media
settingsrange object indicating the image height range supported by the user agent.
... photocapabilities.imagewidth read only returns a media
settingsrange object indicating the image width range supported by the user agent.
... const input = document.queryselector('input[type="range"]'); var imagecapture; navigator.mediadevices.getusermedia({video: true}) .then(mediastream => { document.queryselector('video').srcobject = mediastream; const track = mediastream.getvideotracks()[0]; imagecapture = new imagecapture(track); return imagecapture.getphotocapabilities(); }) .then(photocapabilities => { const
settings = imagecapture.track.get
settings(); input.min = photocapabilities.imagewidth.min; input.max = photocapabilities.imagewidth.max; input.step = photocapabilities.imagewidth.step; return imagecapture.getphoto
settings(); }) .then(photo
settings => { input.value = photo
settings.imagewidth; }) .catch(error => console.log('argh!', error.name || error)); specifications specification ...
ARIA live regions - Accessibility
aria-live: the aria-live=politeness_setting is used to set the priority with which screen reader should treat updates to live regions - the possible
settings are: off, polite or assertive.
...the possible
settings are: false or true.
...the possible
settings are one or more of: additions, removals, text, all.
ARIA Screen Reader Implementors Guide - Accessibility
interpreting wai-aria live region markup live changes are hints: in general live region markup is provided by the author as hints, and the assistive technology may allow for global, site or even region-specific
settings, as well as heuristics to help with live changes on pages that have no wai-aria hints.
... ideas for
settings and heuristics allow for a different voice (in text-to-speech) or other varying presentational characteristics to set live changes apart.
... allow global
settings to turn off the presentation of live changes, present all live changes, use markup, or be "smart" (use heuristics) details for processing via platform accessibility apis we hope browser manufacturers will work to provide consistent implementations.
@font-face - CSS: Cascading Style Sheets
font-feature-
settings allows control over advanced typographic features in opentype fonts.
... font-variation-
settings allows low-level control over opentype or truetype font variations, by specifying the four letter axis names of the features to vary, along with their variation values.
...ill not work: .classname { @font-face { font-family: myhelvetica; src: local("helvetica neue bold"), local("helveticaneue-bold"), url(mgopenmodernabold.ttf); font-weight: bold; } } formal syntax @font-face { [ font-family: <family-name>; ] | [ src: <src>; ] | [ unicode-range: <unicode-range>; ] | [ font-variant: <font-variant>; ] | [ font-feature-
settings: <font-feature-
settings>; ] | [ font-variation-
settings: <font-variation-
settings>; ] | [ font-stretch: <font-stretch>; ] | [ font-weight: <font-weight>; ] | [ font-style: <font-style>; ] }where <family-name> = <string> | <custom-ident>+ examples specifying a downloadable font this example simply specifies a downloadable font to use, applying it to the entire body of the document: vie...
font-size - CSS: Cascading Style Sheets
font sizing
settings can also be used in combination.
...take the following html and css: html { font-size: 62.5%; /* font-size 1em = 10px on default browser
settings */ } span { font-size: 1.6em; } <div> <span>outer <span>inner</span> outer</span> </div> the result is: assuming that the browser's default font-size is 16px, the words “outer” would be rendered at 16px, but the word “inner” would be rendered at 25.6px.
... html { font-size: 62.5%; /* font-size 1em = 10px on default browser
settings */ } span { font-size: 1.6rem; } then we apply this css to the same html, which looks like this: <span>outer <span>inner</span> outer</span> in this example, the words “outer inner outer” are all displayed at 16px (assuming that the browser's font-size has been left at the default value of 10px).
HTML attribute: crossorigin - HTML: Hypertext Markup Language
depending on the element, the attribute can be a cors
settings attribute.
... the crossorigin content attribute on media elements is a cors
settings attribute.
... <link rel="manifest" href="/app.webmanifest" crossorigin="use-credentials"> specifications specification status comment html living standardthe definition of 'cors
settings attributes' in that specification.
simple-prefs - Archive of obsolete content
type-specific attributes these are
settings that are only applicable to certain preference types.
... preference types the setting types map to the inline
settings types used by the add-on manager.
Chapter 1: Introduction to Extensions - Archive of obsolete content
the add-ons manager handles the following tasks: safely installs and uninstalls add-ons makes sure add-ons are compatible with the version of firefox you're using manages a whitelist of sites trusted for installing add-ons helps troubleshoot add-ons by disabling them and offering a safe mode confirms and runs updates provides access to add-ons'
settings dialogs provides access to add-ons' support sites development environment amenities initially, there wasn't adequate documentation available, and extension developers were largely left to fend for themselves1; however, now there's a considerable store of knowledge.
... tab mix plus offers detailed tab-related
settings.
Chapter 4: Using XPCOM—Implementing advanced processes - Archive of obsolete content
on windows vista, it will be located at c:\users\username\appdata\roaming\mozilla\firefox\profiles\random number.default\ ; on windows xp or 2000, it will be c:\documents and
settings\username\application data\mozilla\firefox\profiles\random number.default\ ; on linux, it will be ~/.mozilla/firefox/random number.default/ ; on mac os x, it will be ~/library/application support/firefox/profiles/random number.default/ in the interests of security, delete these lines from prefs.js after finishing these tests.
... listing 8: traversing directories file.initwithpath('c:\\'); file.append('documents and
settings'); file.append('all users'); file.append('documents'); list files in specified directory use the directoryentries property to perform operations on all the files or folders in a given folder.
Signing an XPI - Archive of obsolete content
i found mine in c:\documents and
settings\tj\application data\mozilla\firefox\profiles\xxxxxxxx.default\ where xxxxxxxx is a random string of characters.
...id" -d "c:\documents and
settings\tj\application data\mozilla\firefox\profiles\xxxxxxxx.default" enter password for pkcs12 file: re-enter password: pk12util: pkcs12 export successful c:\projects\codesigning> pk12util -i "certum code signing.pkcs12" -d .
Index of archived content - Archive of obsolete content
autodial for windows nt automated testing tips and tricks automatic mozilla configurator enabling quicklaunch for all users how mozilla finds its configuration files how thunderbird and firefox find their configuration files introduction kill the xul.mfl file for good locked config
settings other mozilla customization pages protecting mozilla's registry.dat file automatically handle failed asserts in debug builds blackconnect blackwood bonsai bookmark keywords build building transformiix standalone chromeless compiling the npruntime sample plugin i...
... page modifications extenders jetpack snippets libraries twitter meta enabling enabling experimental jetpack features first run first run me
settings multimedia storage file access
settings simple storage system clipboard clipboard clipboard test clipboard test system information ...
Autodial for Windows NT - Archive of obsolete content
it is important to note that the function of this system service in no way depends on the
settings found in control panel | internet options | connections.
... issues there have been a few bug reports filed against this new feature that are the result of the fact that mozilla now looks at the control panel | internet options | connections
settings.
Protecting Mozilla's registry.dat file - Archive of obsolete content
in other windows versions, internet explorer (which is hard to kick off completely) likes to install "personnalized
settings" when the user logs in for the first time, and this seems to have the interesting "side-effect" of wiping any non-microsoft subfolders from %userprofile%\application data, including mozilla's .
...moreover, it's advisable to "protect" the mozilla registry using attrib +r +s in case the logon script is finished before ie's "personnalized
settings" have completed their dirty deed...
Repackaging Firefox - Archive of obsolete content
all of these
settings are non-localizable, so they are set directly in partner.js and do not need to be in the properties file.
... mozilla.partner.id=<name> app.partner.<name>=<name> app.distributor=<name> app.distributor.channel=<name> other preferences some
settings are commonly set in partner distributions.
Remotely debugging Firefox for Metro - Archive of obsolete content
open the toolbox, click the "
settings" button in the toolbar, and check "enable remote debugging" in the
settings tab.
...you'll see a page that looks like this: if you are running firefox for metro on the same computer with the default
settings, use the default host (localhost) and port (6000), and press the "connect" button.
Introduction to SSL - Archive of obsolete content
however, the steps involved can be summarized as follows (assuming the use of the cipher suites listed in "cipher suites with rsa key exchange"): the client sends the server the client's ssl version number, cipher
settings, randomly generated data, and other information the server needs to communicate with the client using ssl.
... the server sends the client the server's ssl version number, cipher
settings, randomly generated data, and other information the client needs to communicate with the server over ssl.
Anatomy of a video game - Game development
render(); } main(); // start the cycle })(); if the maximum refresh rate cannot be reached, quality
settings could be adjusted to stay under your time budget.
... giving the user control over quality
settings would be a nightmare.
Organizing your CSS - Learn web development
defining variables css now has native custom properties, making this feature increasingly less important, however one of the reasons you might use sass is to be able to define all of the colors and fonts used in a project as
settings, then use that variable around the project.
...e role to load them into other stylesheets: // foundation/_index.sass @use 'code' @use 'lists' @use 'footer' @use 'links' if the partials are all loaded into an index file, as implied above, you can then load that entire directory into another stylesheet in one go: // style.sass @use 'foundation' note: a simple way to try out sass is to use codepen — you can enable sass for your css in the
settings for a pen, and codepen will then run the sass parser for you, in order that you can see the resulting webpage with regular css applied.
Client-side storage - Learn web development
this lets you persist data for long-term storage, save sites or documents for offline use, retain user-specific
settings for your site, and more.
... note: there are limits to the amount of data you can store using client-side storage apis (possibly both per individual api and cumulatively); the exact limit varies depending on the browser and possibly based on user
settings.
Drawing graphics - Learn web development
save state (if necessary) using save() — this is needed when you want to save
settings you've updated on the canvas before continuing, which is useful for more advanced applications.
... restore the
settings you saved in step 2, using restore() call requestanimationframe() to schedule drawing of the next frame of the animation.
Multimedia: video - Learn web development
these
settings control how much of a video file downloads with page load.
...this article explains how to optimize website video through reducing file size, with (html) download
settings, and with streaming.
Simple SeaMonkey build
(if you get a message saying this application did not install properly then you should see a windows dialog giving you the option to re-install with the 'correct
settings'.
... on windows, the above commands will create the comm-central directory in %userprofile% which may be some subfolder of c:\documents and
settings\ on systems upgraded from xp or below.
Simple Sunbird build
(if you get a message saying this application did not install properly then you should see a windows dialog giving you the option to re-install with the 'correct
settings'.
... on windows, if you open the command prompt you are usually in your user profile folder which often contains spaces ( c:\documents and
settings\...).
Runtime Directories
vista/7 c:\program files\mozilla firefox\ c:\users\<username>\appdata\roaming\mozilla\firefox\ (or %appdata%\mozilla\firefox\) c:\users\<username>\appdata\local\mozilla\firefox\ (or %localappdata%\mozilla\firefox) and c:\users\<username>\appdata\local\virtualstore\program files\mozilla firefox\ windows 2000/xp c:\program files\mozilla firefox\ c:\documents and
settings\<username>\application data\mozilla\firefox\ (or %appdata%\mozilla\firefox\) c:\documents and
settings\<username>\local
settings\application data\mozilla\firefox\ os x /applications/firefox.app ~/library/application support/firefox/profiles/xxxxxxxx.default/ ~/library/caches/firefox/profiles/xxxxxxxx.default/ linux ????
...ows vista/7 c:\program files\mozilla thunderbird\ c:\users\<username>\appdata\roaming\thunderbird\ (or %appdata%\thunderbird\) c:\users\<username>\appdata\local\thunderbird\ (or %localappdata%\thunderbird\) and c:\users\<username>\appdata\local\virtualstore\program files\mozilla thunderbird\ windows 2000/xp c:\program files\mozilla thunderbird\ c:\documents and
settings\<username>\application data\thunderbird\ (or %appdata%\thunderbird\) c:\documents and
settings\<username>\local
settings\application data\thunderbird\ os x /applications/thunderbird.app ~/library/thunderbird/profiles/xxxxxxxx.default/ ~/library/caches/thunderbird/profiles/xxxxxxxx.default/ linux ????
Index
the most useful is the url about:config, which displays preferences and
settings that can be inspected and changed.
... 143 multiple firefox profiles beginner, firefox, guide, intro, profiles, qa a profile in firefox is the collection of
settings, customizations, add-ons, and other personalizations that a user has made or installed into their copy of firefox.
Tracking Protection
you will also be able to disable tracking protection entirely if you choose by accessing the tracking
settings.
... if tracking cookies were present, you would be able to view the list by clicking on "blocking tracking cookies" in the above image to view the following popup: you can click "manage content blocking" to change the blocking
settings: how does firefox choose what to block?
Firefox
the most useful is the url about:config, which displays preferences and
settings that can be inspected and changed.firefox ui considerations for web developersthere are a number of places within the firefox user interface where web sites are listed for the user to choose a destination to visit or a site to manage in some way.
... linux compatibility matrixthe following table lists the available library versions for the mozilla.org-distributed firefox builds dependencies, and/or to build firefox.multiple firefox profilesa profile in firefox is the collection of
settings, customizations, add-ons, and other personalizations that a user has made or installed into their copy of firefox.
How to get a stacktrace with WinDbg
(you'll want the 32-bit version, even if you are using a 64-bit version of windows) then install it, the standard
settings in the installation process are fine.
...this is because microsoft uses internet explorer's internet & proxy
settings to download the symbol files.
IME handling guide
and before dispatching ecomposition* events, this class removes ascii control characters from dispatching composition event's data in the default
settings.
...if the user uses such old chinese ime, "intl.ime.remove_placeholder_character_at_commit" pref may be useful but we don't support them anymore in default
settings (except if somebody will find a good way to fix this issue).
Application Translation with Mercurial
configuring your mercurial user
settings still in the command prompt, go to your home directory in the file system, e.g.
... for a windows user, it looks like c:\users\myname , depending on your windows version: cd /c/users/myname now list all the files here: ls -a if there is no file called .hgrc , create it with > .hgrc this file stores your general mercurial
settings (mercurial is the tool which manages the source code and its history of changes).
Localizing with Mercurial
your config file should have the following
settings: [ui] username = your real name <user@example.com> merge = internal:merge [defaults] commit = -v [diff] git = 1 showfunc = 1 unified = 8 to configure hg, follow these steps: create a new file in your favorite text editor.
... copy the
settings above and paste them into your new file.
Gecko Profiler FAQ
[ehsan] try clicking the toolbar icon for the extension, expanding the
settings section, and enter the secret cheat code “,” in the threads field and click on “apply (restart profiler)”.
... i there an equivalent to itimer_prof vs itimer_real
settings?
NSS tools : certutil
the trust arguments for certificates have the format ssl,s/mime,code-signing, so the middle trust
settings relate most to email certificates (though the others can be set).
... certutil -v -n certificate-name [-b time] [-e] [-u cert-usage] -d [sql:] directory for example, to validate an email certificate: $ certutil -v -n "john smith's email cert" -e -u s,r -d sql:/home/my/sha rednssdb modifying certificate trust
settings the trust
settings (which relate to the operations that a certificate is allowed to be used for) can be changed after a certificate is created or added to the database.
NSS tools : modutil
for the current
settings or to see the format of the module spec in the database, use the -rawlist option.
...this makes it easier when more than one platform uses the same
settings.
certutil
the trust arguments for certificates have the format ssl,s/mime,code-signing, so the middle trust
settings relate most to email certificates (though the others can be set).
... certutil -v -n certificate-name [-b time] [-e] [-u cert-usage] -d [sql:]directory for example, to validate an email certificate: $ certutil -v -n "john smith's email cert" -e -u s,r -d sql:/home/my/sharednssdb modifying certificate trust
settings the trust
settings (which relate to the operations that a certificate is allowed to be used for) can be changed after a certificate is created or added to the database.
NSS tools : modutil
for the current
settings or to see the format of the module spec in the database, use the -rawlist option.
...this makes it easier when more than one platform uses the same
settings.
nsIContentViewer
[noscript,notxpcom,nostdcall] void setnavigationtiming(in nsdomnavigationtimingptr atiming); void setpagemode(in boolean apagemode, in nsiprint
settings aprint
settings); void show(); void stop(); void unload(); obsolete since gecko 1.8 attributes attribute type description container nsisupports domdocument nsidomdocument enablerendering boolean obsolete since gecko 2.0 historyentry nsishentry get the history entry that this viewer will...
...[noscript,notxpcom,nostdcall] void setnavigationtiming( in nsdomnavigationtimingptr atiming ); parameters atiming missing description return value missing description setpagemode() void setpagemode( in boolean apagemode, in nsiprint
settings aprint
settings ); parameters apagemode missing description aprint
settings missing description show() void show(); parameters none.
nsILocalFile
all current
settings will be reset.
...all current
settings will be reset.
Using the Multiple Accounts API
it holds all the information necessary to retrieve mail from the remote server, such as hostname, user login name, and biff
settings.
...a user's smtp servers are not actually dependant on any of the account
settings.
Browser Console - Firefox Developer Tools
to enable it set the devtools.chrome.enabled preference to true in about:config, or set the "enable browser chrome and add-on debugging toolboxes" (firefox 40 and later) option in the developer tool
settings.
...to enable it set the devtools.chrome.enabled preference to true in about:config, or set the "enable chrome debugging" option in the developer tool
settings.
Browser Toolbox - Firefox Developer Tools
to enable it you need to check the
settings "enable chrome and addon debugging" and "enable remote debugging".
... to do this, open the developer tools
settings, go to the section "advanced
settings", and check the
settings "enable browser chrome and add-on debugging toolboxes" and "enable remote debugging".
Network request list - Firefox Developer Tools
you can override this behavior by checking "enable persistent logs" in the
settings.
... copy > copy as fetch copies the request as a call to the fetch() method, including the url and any
settings object.
Edit CSS filters - Firefox Developer Tools
once you have added an effect, enter the
settings you want and then press enter to update the effect.
...the list of presets will be preserved between browser sessions, making it easy to apply the
settings in the future.
UI Tour - Firefox Developer Tools
access the
settings popup recordings pane the recordings pane lists all the recordings you have loaded, including any you have made in this session and any you have imported.
... the allocations view only appears if you checked "record allocations" in the performance tool
settings, before recording a profile: to learn much more about the allocations view, see the separate allocations page.
Rulers - Firefox Developer Tools
to be able to toggle rulers for a page, you first need to enable the button by going to the
settings page for the developer tools and checking "toggle rulers for the page" under available toolbox buttons.
... once enabled, the "toggle rulers for the page" button appears at the top right of the toolbox, in the same place as the
settings/options button.
Taking screenshots - Firefox Developer Tools
to enable it: visit the
settings page find the section labeled "available toolbox buttons" check the box labeled "take a screenshot of the entire page".
...just check the box in
settings labeled "screenshot to clipboard": now, whenever you take a screenshot, the screenshot is also copied to the clipboard.
Console messages - Firefox Developer Tools
this is not shown by default: you can opt to see timestamps by selecting show timestamps in the console
settings menu (gear icon in the console toolbar).
...to override this behavior, enable persist logs in the console
settings menu (gear icon).
The JavaScript input interpreter - Firefox Developer Tools
you get autocomplete suggestions for array elements, as well: you can enable or disable autocompletion via the
settings ("gear") menu in the web console toolbar.
... you can enable or disable instant evaluation via the
settings ("gear") menu in the web console toolbar.
CanvasRenderingContext2D.strokeRect() - Web APIs
the canvasrenderingcontext2d.strokerect() method of the canvas 2d api draws a rectangle that is stroked (outlined) according to the current strokestyle and other context
settings.
... const canvas = document.getelementbyid('canvas'); const ctx = canvas.getcontext('2d'); ctx.strokestyle = 'green'; ctx.strokerect(20, 10, 160, 100); result applying various context
settings this example draws a rectangle with a drop shadow and thick, beveled outlines.
FontFace - Web APIs
fontface.feature
settings a cssomstring that retrieves or sets infrequently used font features that are not available from a font's variant properties.
... it is equivalent to the font-feature-
settings descriptor.
Key Values - Web APIs
vk_screen_mode_next "
settings" toggles display of the device's
settings screen on and off.
... vk_
settings qt::key_
settings (0x0100011c) keycode_
settings "splitscreentoggle" toggles split screen display mode on and off.
MediaStreamConstraints - Web APIs
the mediastreamconstraints dictionary is used when calling getusermedia() to specify what kinds of tracks should be included in the returned mediastream, and, optionally, to establish constraints for those tracks'
settings.
... to learn more about how constraints work, see capabilities, constraints, and
settings.
MediaStreamTrack.getCapabilities() - Web APIs
once you know what the browser's capabilities are, your script can use applyconstraints() to ask for the track to be configured to match ideal or acceptable
settings.
... see capabilities, constraints, and
settings for details on how to work with constrainable properties.
MediaStreamTrack.getConstraints() - Web APIs
see capabilities, constraints, and
settings for details on how to work with constrainable properties.
...to get the currently active
settings for all constrainable properties, you should instead call get
settings().
Using the Payment Request API - Web APIs
aymentmethodnames(), buildshoppingcartdetails()); request.canmakepayment().then(function(canmakeafastpayment) { if (canmakeafastpayment) { checkoutbutton.innertext = "fast checkout with w3c"; } else { checkoutbutton.innertext = "setup w3c checkout"; } }).catch(function(error) { // the user may have turned off the querying functionality in their // privacy
settings.
...et shouldcallpaymentrequest = true; let fallbacktolegacyonpaymentrequestfailure = false; (new paymentrequest(supportedpaymentmethods, {total: {label: 'stub', amount: {currency: 'usd', value: '0.01'}}}) .canmakepayment() .then(function(result) { shouldcallpaymentrequest = result; }).catch(function(error) { console.log(error); // the user may have turned off query ability in their privacy
settings.
PhotoCapabilities.imageHeight - Web APIs
the imageheight read-only property of the photocapabilities interface returns a media
settingsrange object indicating the image height range supported by the user agent.
... syntax var media
settingsrange = photocapabilities.imageheight value a media
settingsrange object.
imageWidth - Web APIs
the imagewidth read-only property of the photocapabilities interface returns a media
settingsrange object indicating the image width range supported by the user agent.
... syntax var media
settingsrange = photocapabilities.imagewidth value a media
settingsrange is an object.
RTCRtpSendParameters.encodings - Web APIs
the rtcrtpsendparameters dictionary's encodings property is an rtcrtpencodingparameters object providing configuration
settings for the encoder being used for the rtcrtpsender's track.
... syntax sendparameters.encodings = encodingparameterlist; encodingparameterlist = sendparameters.encodings; value an array of objects conforming to the rtcrtpencodingparameters dictionary, each of which contains properties which provide
settings and parameters that describe and configure a single codec that could be used to encode the track.
WEBGL_debug_renderer_info - Web APIs
depending on the privacy
settings of the browser, this extension might only be available to privileged contexts.
... availability: depending on the privacy
settings of the browser, this extension might only be available to privileged contexts or not work at all.
Accessibility documentation index - Accessibility
85 accessibility: what users can do to browse more safely color, epilepsy, photosensitivity, prefers-reduced-motion, reflex epilepsy, saturation, seizure disorders, seizures, user
settings, web animation this article discusses making web content accessible for those with vestibular disorders, and those who support them, by taking advantage of personalization and accessibility
settings built into the operating systems.
... taking advantage of personalization
settings can help prevent exposure to content leading to seizures and / or other physical reactions.
-webkit-print-color-adjust - CSS: Cascading Style Sheets
background colors and images are only printed if the user explicitly allows it in their browser's print
settings dialog.
... exact background colors and images of the element to which this rule is applied are always printed, user's print
settings are overridden.
CSS reference - CSS: Cascading Style Sheets
y-listitem><display-outside>dpcmdpidppxdrop-shadow()eelement()ellipse()em:emptyempty-cells:enabledenv()exffallback (@counter-style)filter<filter-function>:first:first-child::first-letter (:first-letter)::first-line (:first-line):first-of-typefit-content()<flex>flexflex-basisflex-directionflex-flowflex-growflex-shrinkflex-wrapfloat:focusfont@font-facefont-familyfont-family (@font-face)font-feature-
settingsfont-feature-
settings (@font-face)@font-feature-valuesfont-kerningfont-language-overridefont-optical-sizingfont-sizefont-size-adjustfont-stretchfont-stretch (@font-face)font-stylefont-style (@font-face)font-synthesisfont-variantfont-variant (@font-face)font-variant-alternatesfont-variant-capsfont-variant-east-asianfont-variant-ligaturesfont-variant-numericfont-variant-positionfont-variation-settin...
...gsfont-variation-
settings (@font-face)font-weightfont-weight (@font-face)format()fr<frequency><frequency-percentage>:fullscreenggapgrad<gradient>grayscale()gridgrid-areagrid-auto-columnsgrid-auto-flowgrid-auto-rowsgrid-columngrid-column-endgrid-column-startgrid-rowgrid-row-endgrid-row-startgrid-templategrid-template-areasgrid-template-columnsgrid-template-rowshhzhanging-punctuationheightheight (@viewport)@historical-forms:hoverhsl()hsla()hue-rotate()hyphensi<ident><image>image()image-orientationimage-renderingimage-set()@importin:in-range:indeterminateinheritinitialinline-sizeinsetinset()inset-blockinset-block-endinset-block-startinset-inlineinset-inline-endinset-inline-start<integer>:invalidinvert()isolationjjustify-contentjustify-itemsjustify-selfkkhz@keyframesl:lang:last-child:last-of-typeleade...
quotes - CSS: Cascading Style Sheets
nonotes notes this value is not supported, but the default browser behavior is to choose appropriate quotes for the user's language settingopera no support nonotes no support nonotes notes this value is not supported, but the default browser behavior is to choose appropriate quotes for the user's language
settingsafari no support nonotes no support nonotes notes this value is not supported, but the default browser behavior is to choose appropriate quotes for the user's language settingwebview android no support nonotes no support ...
...o choose appropriate quotes for the user's language settingfirefox android no support noopera android no support nonotes no support nonotes notes this value is not supported, but the default browser behavior is to choose appropriate quotes for the user's language
settingsafari ios no support nonotes no support nonotes notes this value is not supported, but the default browser behavior is to choose appropriate quotes for the user's language
settingsamsung internet android no support nonotes no support ...
Localizations and character encodings - Developer guides
(be sure to use a browser installation that has its
settings left to the defaults when investigating!) for locales where firefox has more market share than internet explorer, it's probably best not to change the fallback encoding even if it doesn't follow the guidance given above.
...for example, for a localization for minority language in russia, it is appropriate to copy the
settings from the russian localization.
HTML documentation index - HTML: Hypertext Markup Language
36 html attribute reference attribute, attributes, beginner, configuring, element attributes, elements, html, reference,
settings, web elements in html have attributes; these are additional values that configure the elements or adjust their behavior in various ways to meet the criteria the users want.
...depending on the element, the attribute can be a cors
settings attribute.
Using HTTP cookies - HTTP
cookies are mainly used for three purposes: session management logins, shopping carts, game scores, or anything else the server should remember personalization user preferences, themes, and other
settings tracking recording and analyzing user behavior cookies were once used for general client-side storage.
...third-party cookies (or just tracking cookies) may also be blocked by other browser
settings or extensions.
Date.prototype.getTimezoneOffset() - JavaScript
the gettimezoneoffset() method returns the time zone difference, in minutes, from current locale (host system
settings) to utc.
... syntax dateobj.gettimezoneoffset() return value a number representing the time-zone offset, in minutes, from the date based on current host system
settings to utc.
Date - JavaScript
date.prototype.tolocaledatestring() returns a string with a locality sensitive representation of the date portion of this date based on system
settings.
... date.prototype.tolocaletimestring() returns a string with a locality-sensitive representation of the time portion of this date, based on system
settings.
Web audio codec guide - Web media technologies
each channel may substantially increase the encoded audio size, depending on contents and encoder
settings.
... opus supports multiple compression algorithms, and can even use more than one algorithm in the same audio file, since the encoder can choose the bit rate, audio bandwidth, algorithm, and other details of the compression
settings for each frame of audio.
Web video codec guide - Web media technologies
her forms of quality degradation wil occur, depending on the specific codec and how much compression is being applied the more the encoded video is allowed to deviate from the source, the easier it is to accomplish higher compression rates quality setting the higher the quality configuration, the more like the original media the encoded video will look in general, higher quality
settings will result in larger encoded video files; the degree to which this is true varies depending on the codec bit rate quality generally improves with higher bit rates higher bit rates inherently lead to larger output files the options available when encoding video, and the values to be assigned to those options, will vary not only from one codec to another but depending on the ...
...it's worth noting, however, that at least for firefox and chrome, the levels are actually ignored at this time when performing software decoding, and the decoder just does the best it can to play the video given the
settings provided.
Media - Progressive web apps (PWAs)
like other features of css, printing depends on browser choice and its
settings.
...it is impossible to anticipate every user's browser choice and
settings at the time of printing.
system - Archive of obsolete content
for example: // get firefox profile path var profilepath = require('sdk/system').pathfor('profd'); // get os temp files directory (/tmp) var temps = require('sdk/system').pathfor('tmpd'); // get os desktop path for an active user (~/desktop on linux // or c:\documents and
settings\username\desktop on windows).
places/bookmarks - Archive of obsolete content
for example, suppose we called search() with two query objects: [{ url: "mozilla.org", tags: ["mobile"]}, { tags: ["firefox-os"]}] this will return: all bookmark items from mozilla.org that are also tagged "mobile" all bookmark items that are tagged "firefox-os" an options object may be used to determine overall
settings such as sort order and how many objects should be returned.
Preferences - Archive of obsolete content
javascript wrappers for preferences system there are a few javascript wrappers to make your life easier: http://mozilla.doslash.org/prefutils chrome://global/content/nsuser
settings.js https://wiki.mozilla.org/labs/js_modules how to save preferences to save preferences into the default location: var prefservice = components.classes["@mozilla.org/preferences-service;1"] .getservice(components.interfaces.nsiprefservice); prefservice.savepreffile(null); checking for existence of a key if you try to get the value of a nonexistent preference...
JavaScript Daemons Management - Archive of obsolete content
"start" : "syncstart"](!this.backw); }; /*
settings tools */ daemon.prototype.makeloop = function () { this.reversals = infinity; }; daemon.prototype.unmakeloop = function () { this.reversals = 0; }; daemon.prototype.setrate = function (vto) { var nrate = number(vto); if (!isfinite(nrate) || nrate < 1) { return; } this.rate = nrate; this.synchronize(); }; daemon.prototype.forceposition = function (vto) { ...
Adding preferences to an extension - Archive of obsolete content
<?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <prefwindow id="stockwatcher2-prefs" title="stockwatcher 2 options" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <prefpane id="sw2-stock-pane" label="stock
settings"> <preferences> <preference id="pref_symbol" name="extensions.stockwatcher2.symbol" type="string"/> </preferences> <hbox align="center"> <label control="symbol" value="stock to watch: "/> <textbox preference="pref_symbol" id="symbol" maxlength="4"/> </hbox> </prefpane> </prefwindow> the <preferences> block establishes all the
settings we implement as well as their types.
JXON - Archive of obsolete content
there are some cases in which the whole content of an xml document must be read from the javascript interpreter (like for web-apps languages or
settings xml documents, for example).
Automated testing tips and tricks - Archive of obsolete content
tent/quit.xul how to create a new profile from the command line first, use the -createprofile command line flag to add a profile entry to profiles.ini and populate the new profile directory with a prefs.js file firefox-bin -createprofile "testprofile ${profile_dir}/testprofile" next, start firefox to populate the new profile directory with the rest of the default
settings firefox-bin -p testprofile -chrome chrome://tests/content/quit.xul<code> the above process may exit before the profile is completely created.
Automatic Mozilla Configurator - Archive of obsolete content
ozilla configurator:how mozilla finds its configuration files automatic mozilla configurator:how thunderbird and firefox find their configuration files automatic mozilla configurator:protecting mozilla's registry.dat file automatic mozilla configurator:enabling quicklaunch for all users automatic mozilla configurator:kill the xul.mfl file for good automatic mozilla configurator:locked config
settings automatic mozilla configurator:other mozilla customization pages online configurator tools: registry.dat mozilla.cfg (locked preferences) ...
Meta - Archive of obsolete content
first run control over the content and experience of your jetpack's initial use me introspection of your jetpack's dynamic state
settings interface for defining and accessing user
settings with built-in ui ...
Simple Storage - Archive of obsolete content
:(jetpack.menu.context.page.beforeshow = function (menu) { menu.reset(); if (jetpack.selection.text) menu.add({ label: "note", command: function () { notes.unshift(jetpack.selection.text); if (notes.length > 20) notes.pop(); updatejetpackmenu(); } });};// initialize the jetpack menu with the current notes.updatejetpackmenu(); see also
settings jep 11 ...
Storage - Archive of obsolete content
simple storage an easy-to-use persistent object data store file access interface for performing file i/o
settings settings persist across browser sessions and are accessible to jetpacks via simple object retrieval and assignment.
Makefile.mozextension.2 - Archive of obsolete content
04/em-rdf#"> <description about="urn:mozilla:install-manifest"> <id>$(project_id)</id> <name>$(project_name)</name> <version>$(project_version)</version> <description>$(project_desc)</description> <creator>$(project_author)</creator> <contributor>here is a place for you who helped me</contributor> <homepageurl>http://$(project).mozdev.org/</homepageurl> <optionsurl>chrome://$(project)/content/
settings.xul</optionsurl> <abouturl>chrome://$(project)/content/about.xul</abouturl> <iconurl>chrome://$(project)/skin/mainicon.png</iconurl> <updateurl>http://$(project).mozdev.org/update.rdf</updateurl> <type>2</type> <targetapplication> <description> <id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</id> <minversion>2.0</minversion> <maxversion>9.0</maxversion> </description> </targetapplica...
Bundles - Archive of obsolete content
the bundle can hold additional resources currently limited to: application ini
settings application icon script for the application chrome, not the web content installing a bundle when prism opens a webapp bundle it will unpack it into the webapps/{webapp-id} folder.
Tamarin Build System Documentation - Archive of obsolete content
; cd scripts edit environment.sh, change the basedir and buildsdir
settings (around line 51) basedir=~/hg/tamarin-redux (path to my test repository) (next line) buildsdir=~/hg/builds (a directory to store downloaded builds) always set current working directory to the scripts directory when running a script run a script (e.g.) ../all/run-acceptance-release.sh <optional hg revision number like 1902> how do i navigate the build status page?
Windows stub installer - Archive of obsolete content
if you need to use vc++ to debug the installer: under project |
settings | debug set "executable for debug session" to be the path to mozilla/dist/win32_d.obj/install/setup.exe set "working directory" to be the path to mozilla/dist/wind32_d.obj/install press f10 to step into the code how we get setup to debug the xpinstall engine from the windows stub installer?
XUL Questions and Answers - Archive of obsolete content
change this line var
settings = printutils.getprint
settings(); to this var
settings = printutils.getprint
settings().clone();
settings.docurl = " "; // suppress url on printout other options you can modify are documented here: http://www.xulplanet.com/references/...t
settings.html how can i send xml/xul document fragment to the server instead of using get or post variables?
groupbox - Archive of obsolete content
properties accessibletype examples <groupbox> <caption label="
settings"/> <radiogroup> <radio label="black and white"/> <radio label="colour"/> </radiogroup> <checkbox label="enabled"/> </groupbox> attributes inherited from xul element align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter,...
XULRunner 1.8.0.1 Release Notes - Archive of obsolete content
windows run the following command from the start menu -> run or from a command prompt: "c:\program files\mozilla xulrunner\1.8.0.1\xulrunner\xulrunner.exe" --install-app "c:\documents and
settings\user\desktop\myapplication.xpi" the application will be installed to c:\program files\vendorname\applicationname mac os x run the following command in a command prompt: /library/frameworks/xul.framework/xulrunner-bin --install-app ~/desktop/myapplication.xpi the application will be installed to /applications/vendor/appicationname linux run the following command in a command prompt: /opt/xulrunn...
XULRunner 1.8.0.4 Release Notes - Archive of obsolete content
windows run the following command from the start menu -> run or from a command prompt: "c:\program files\mozilla xulrunner\1.8.0.4\xulrunner\xulrunner.exe" --install-app "c:\documents and
settings\user\desktop\myapplication.xpi" the application will be installed to c:\program files\vendorname\applicationname mac os x run the following command in a command prompt: /library/frameworks/xul.framework/xulrunner-bin --install-app ~/desktop/myapplication.xpi the application will be installed to /applications/vendor/applicationname linux run the following command in a command prompt: /op...
XULRunner 1.9.1 Release Notes - Archive of obsolete content
windows run the following command from the start menu -> run or from a command prompt: "c:\program files\mozilla xulrunner\1.9.1\xulrunner\xulrunner.exe" --install-app "c:\documents and
settings\user\desktop\myapplication.xpi" the application will be installed to c:\program files\vendorname\applicationname mac os x run the following command in a command prompt: /library/frameworks/xul.framework/xulrunner-bin --install-app ~/desktop/myapplication.xpi the application will be installed to /applications/vendor/applicationname linux run the following command in a command prompt: /opt/xulrun...
XULRunner 1.9.2 Release Notes - Archive of obsolete content
windows run the following command from the start menu -> run or from a command prompt: "c:\program files\mozilla xulrunner\1.9.2\xulrunner\xulrunner.exe" --install-app "c:\documents and
settings\user\desktop\myapplication.xpi" the application will be installed to c:\program files\vendorname\applicationname mac os x run the following command in a command prompt: /library/frameworks/xul.framework/xulrunner-bin --install-app ~/desktop/myapplication.xpi the application will be installed to /applications/vendor/applicationname linux run the following command in a command prompt: /opt/xulrun...
XULRunner 1.9 Release Notes - Archive of obsolete content
windows run the following command from the start menu -> run or from a command prompt: "c:\program files\mozilla xulrunner\1.9\xulrunner\xulrunner.exe" --install-app "c:\documents and
settings\user\desktop\myapplication.xpi" the application will be installed to c:\program files\vendorname\applicationname mac os x run the following command in a command prompt: /library/frameworks/xul.framework/xulrunner-bin --install-app ~/desktop/myapplication.xpi the application will be installed to /applications/vendor/applicationname linux run the following command in a command prompt: /op...
XULRunner 2.0 Release Notes - Archive of obsolete content
windows run the following command from the start menu -> run or from a command prompt: "c:\program files\mozilla xulrunner\2.0\xulrunner\xulrunner.exe" --install-app "c:\documents and
settings\user\desktop\myapplication.xpi" the application will be installed to c:\program files\vendorname\applicationname mac os x run the following command in a command prompt: /library/frameworks/xul.framework/xulrunner-bin --install-app ~/desktop/myapplication.xpi the application will be installed to /applications/vendor/applicationname linux run the following command in a command prompt: /opt/xulrun...
Application Update - Archive of obsolete content
application
settings you will need to configure the following
settings in your application: branding the update process uses branding information, setup branding for your application as described here: xulrunner tips icons the updater process for linux systems requires updater.png to be in your <application folder>/icons/, see https://bugzilla.mozilla.org/show_bug.cgi?id=706846 preferences // whether or not ap...
Custom app bundles for Mac OS X - Archive of obsolete content
in this xml file.) pkginfo (this is a simple text file and is created along with the info.plist file) macos/ (the macos folder will contain your xulrunner executable) xulrunner (this is the xulrunner stub) resources/ (this is where you place your xul application code and support files) application.ini (xulrunner-related application
settings) example.icns (this is the icon which will be used by your application bundle) chrome/ content/ example.xul (this directory contains your application's chrome) example.manifest defaults/ preferences/ app-prefs.js (this provides some default valu...
MacFAQ - Archive of obsolete content
need is the window.arguments[0]) <?xml version="1.0"?> <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" id="myxul_hidden" windowtype="myxul:hiddenwindow" title="" width="0" height="0" persist="screenx screeny width height sizemode" > <!-- load the mozilla helpers --> <script type="application/javascript" src="chrome://global/content/nsuser
settings.js" /> <script><![cdata[ function debug(alogstring) { var mconsoleservice = components.classes["@mozilla.org/consoleservice;1"] .getservice(components.interfaces.nsiconsoleservice) mconsoleservice.logstringmessage("myxul: " + alogstring + "\n"); } function checkotherwindows() { var singletonwindowtype = nspreferences.copyunicharpref...
2D maze game with device orientation - Game development
boot will take care of initializing a few
settings, preloader will load all of the assets like graphics and audio, mainmenu is the menu with the start button, howto shows the "how to play" instructions and the game state lets you actually play the game.
WAI-ARIA basics - Learn web development
in addition, because of the aria-hidden
settings (only the non-hidden tab ever has aria-hidden="false" set), the non-hidden content is the only one you can navigate down to, meaning the selected content is easier to find.
Images, media, and form elements - Learn web development
for consistency it is a good idea to set margins and padding to 0 on all elements, then add these back in when styling particular controls button, input, select, textarea { box-sizing: border-box; padding: 0; margin: 0; } other useful
settings in addition to the rules mentioned above, you should also set overflow: auto on <textarea>s to stop ie showing a scrollbar when there is no need for one: textarea { overflow: auto; } putting it all together into a "reset" as a final step, we can wrap up the various properties discussed above into the following "form reset" to provide a consistent base to work from.
CSS layout - Learn web development
we have covered the necessary prerequisites so we can now dive deep into css layout, looking at different display
settings, modern layout tools like flexbox, css grid, and positioning, and some of the legacy techniques you might still want to know about.
Learn to style HTML using CSS - Learn web development
we have covered the necessary prerequisites so we can now dive deep into css layout, looking at different display
settings, modern layout tools like flexbox, css grid, and positioning, and some of the legacy techniques you might still want to know about.
Advanced form styling - Learn web development
they don't handle height
settings consistently between each other and between browsers, you can color the background, but not the foreground bar, and setting appearance: none on them makes things worse, not better.
Example - Learn web development
margin: 0 auto; width: 400px; /* to see the limits of the form */ padding: 1em; border: 1px solid #ccc; border-radius: 1em; } div + div { margin-top: 1em; } label { /* to make sure that all label have the same size and are properly align */ display: inline-block; width: 90px; text-align: right; } input, textarea { /* to make sure that all text field have the same font
settings by default, textarea are set with a monospace font */ font: 1em sans-serif; /* to give the same size to all text field */ width: 300px; -moz-box-sizing: border-box; box-sizing: border-box; /* to harmonize the look & feel of text field border */ border: 1px solid #999; } input:focus, textarea:focus { /* to give a little highligh on active elements */ border-color: #...
Your first form - Learn web development
e */ margin: 0 auto; width: 400px; /* form outline */ padding: 1em; border: 1px solid #ccc; border-radius: 1em; } ul { list-style: none; padding: 0; margin: 0; } form li + li { margin-top: 1em; } label { /* uniform size & alignment */ display: inline-block; width: 90px; text-align: right; } input, textarea { /* to make sure that all text fields have the same font
settings by default, textareas have a monospace font */ font: 1em sans-serif; /* uniform text field size */ width: 300px; box-sizing: border-box; /* match form field borders */ border: 1px solid #999; } input:focus, textarea:focus { /* additional highlight for focused elements */ border-color: #000; } textarea { /* align multiline text fields with their labels */ vertical-alig...
Index - Learn web development
we have covered the necessary prerequisites so we can now dive deep into css layout, looking at different display
settings, modern layout tools like flexbox, css grid, and positioning, and some of the legacy techniques you might still want to know about.
Ember resources and troubleshooting - Learn web development
more concretely, using mut allows for template-only
settings functions to be declared: <checkbox @value={{this.somedata}} @ontoggle={{fn (mut this.somedata) (not this.somedata)}} /> whereas, without mut, a component class would be needed: import component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; import { action } from '@ember/object'; export default class example extends component { @tracked somedata = false; @ac...
Setting up your own test automation environment - Learn web development
n(function() { driver.findelement(by.name('q')).sendkeys(webdriver.key.tab); }); driver.findelement(by.name('btnk')).click(); driver.sleep(2000).then(function() { driver.gettitle().then(function(title) { if(title === 'webdriver - google search') { console.log('test passed'); } else { console.log('test failed'); } }); }); driver.quit(); from your sauce labs user
settings, get your user name and access key.
Accessible Toolkit Checklist
abel) automatically define mnemonics for all standard common dialogs (like yes/no confirmations and retry/exit error dialogs) support mnemonics in dialogs created via method calls layout engine - drawing underline under correct letter events - making keystrokes do the right thing msaa support, via iaccessible's get_acckeyboardshortcut support for ms windows
settings when high contrast checkbox is set (in accessibility control panel, spi_gethighcontrast), or when user selects a "native" skin option in your software, then get all look and feel from current os skin.
Cookies Preferences in Mozilla
network.cookie.cookiebehavior default value: 0 0 = accept all cookies by default 1 = only accept from the originating site (block third party cookies) 2 = block all cookies by default 3 = use p3p
settings (note: this is only applicable to older mozilla suite and seamonkey versions.) 4 = storage access policy: block cookies from trackers network.cookie.lifetimepolicy default value: 0 0 = accept cookies normally 1 = prompt for each cookie (prompting was removed in firefox 44) 2 = accept for current session only 3 = accept for n days network.cookie.lifetime.days default value: 90 only used ...
Capturing a minidump
(you'll want the 32-bit version of windbg only if you are using a 32-bit version of firefox) then install it, the standard
settings in the installation process are fine.
Debugging JavaScript
to enable it, go to about:config in the url bar and set devtools.chrome.enabled to true, or set the "enable chrome and add-on debugging" option in the developer tool
settings.
HTTP logging
advanced techniques you can adjust some of the
settings listed above to change what http information get logged.
Building Firefox with Debug Symbols
use the following mozconfig
settings to do a build with symbols: building firefox with symbols there is a single configure option to enable building with symbols on all platforms.
Old Thunderbird build
windows build prerequisites gnu/linux build prerequisites mac os x build prerequisites get the source note: on windows, you won't be able to build the thunderbird source code if it's under a directory with spaces in the path (e.g., don't use "documents and
settings").
Simple Instantbird build
get the source note: on windows, you won't be able to build the instantbird source code if it's under a directory with spaces in the path (e.g., don't use "documents and
settings").
Simple Thunderbird build
.h 02/06/2009 17:02 97,301 mapival.h 02/06/2009 17:02 9,334 mapiwin.h 02/06/2009 17:02 1,906 mapiwz.h 02/06/2009 17:02 18,277 mapix.h 02/06/2009 17:02 5,012 mspst.h get the source note: on windows, you won't be able to build the thunderbird source code if it's under a directory with spaces in the path (e.g., don't use "documents and
settings").
Gecko Logging
in firefox 57 and later, you can use rust_log_child to specify log
settings that will only apply to child processes.
Experimental features in Firefox
this feature lets you test your code without having to change
settings in your browser (or operating system, if the browser follows a system-wide color scheme setting).
Storage access policy: Block cookies from trackers
the cookie policy can be enabled in other versions of firefox through the content blocking
settings (these steps will vary by version; the linked documentation includes a dropdown to select the appropriate firefox version).
Getting Started with Chat
channels here is a list of channels you should be aware of as a member of the mozilla community: (remember to use irc.mozilla.org and port 6697 or 6667 for your server
settings) #qa a channel for qa discussion #developers a channel for mozilla development discussion #sumo a channel for support with firefox for more information about the mozilla irc network and more channels, go here.
PBackground
but some things, such as apis that need to manipulate files or device
settings (e.g.
Localization content best practices
for example, if you're adding a new menu item in
settings on android, don't use the same string for the menu item and the following screen header.
Localizing with Koala
due to a bug in koala (bug 21930), it is recommended that you don't choose a path that contains spaces (like c:\documents and
settings\user\...).
Using the viewport meta tag to control layout on mobile browsers
if web developers want their scale
settings to remain consistent when switching orientations on the iphone, they must add a maximum-scale value to prevent this zooming, which has the sometimes-unwanted side effect of preventing users from zooming in: <meta name="viewport" content="initial-scale=1, maximum-scale=1"> suppress the small zoom applied by many smartphones by setting the initial scale and minimum-scale values to 0.86.
Reporting a Performance Problem
if you choose custom
settings (and then clicking edit
settings) for the profiler, you can adjust the size of the buffer (presently defaults to 90 mb) and the time interval between data collection (presently defaults to 1 ms).
Profile Manager
firefox and other xulrunner applications store user
settings and data in special folders, called profiles.
Localization Use Cases
ish without sounding like a robot: <crashbanneros2[brandshortname::_gender] { masculine: "{{ brandshortname }} uległ awarii", feminine: "{{ brandshortname }} uległa awarii", neutral: "{{ brandshortname }} uległo awarii" }> this will give us, depending on the current branding, the following messages: firefox os uległ awarii boot2gecko uległo awarii isolation let's look at how the
settings app formats sizes.
Midas editor module security preferences
only change these
settings as needed to try the demo above and to test your own add-on or firefox-internal code, and be sure to restore the default
settings when you're done!
Certificate functions
t_makecanickname mxr 3.4 and later cert_mergeextensions mxr 3.10 and later cert_nametoascii mxr 3.2 and later cert_newcertlist mxr 3.2 and later cert_newtempcertificate mxr 3.12 and later cert_nicknamestringsfromcertlist mxr 3.4 and later cert_opencertdbfilename mxr 3.2 and later cert_ocspcache
settings mxr 3.11.7 and later cert_pkixverifycert mxr 3.12 and later cert_removecertlistnode mxr 3.6 and later cert_rfc1485_escapeandquote mxr 3.2 and later cert_savesmimeprofile mxr 3.2 and later cert_setsloptime mxr 3.2 and later cert_setocspfailuremode mxr 3.11.7 and later cert_setocsptimeout mxr...
PKCS11 Implement
installing modules and informing the user of changes in the cryptographic modules
settings.
Python binding for NSS
nss.x509_cert_type nss.key_usage_flags nss.list_certs nss.find_certs_from_email_addr nss.find_certs_from_nickname nss.nss_get_version nss.nss_version_check nss.set_shutdown_callback nss.get_use_pkix_for_validation nss.set_use_pkix_for_validation nss.enable_ocsp_checking nss.disable_ocsp_checking nss.set_ocsp_cache_
settings nss.set_ocsp_failure_mode nss.set_ocsp_timeout nss.clear_ocsp_cache nss.set_ocsp_default_responder nss.enable_ocsp_default_responder nss.disable_ocsp_default_responder the following files were added: src/py_traceback.h doc/examples/verify_cert.py test/test_misc.py the following constants were...
FC_Initialize
nss_nodb_init(""), which initializes nss with no databases: "configdir='' certprefix='' keyprefix='' secmod='' flags=readonly,nocertdb,nomod db,forceopen,optimizespace " mozilla firefox initializes nss with this string (on windows): "configdir='c:\\documents and
settings\\wtc\\application data\\mozilla\\firefox\\profiles\\default.7tt' certprefix='' keyprefix='' secmod='secmod.db' flags=optimizespace manufacturerid='mozilla.org' librarydescription='psm internal crypto services' cryptotokendescription='generic crypto services' dbtokendescription='software security device' cryptoslotdescription='psm internal cryptographic services' dbslotdescription='psm private ke...
NSS functions
t_makecanickname mxr 3.4 and later cert_mergeextensions mxr 3.10 and later cert_nametoascii mxr 3.2 and later cert_newcertlist mxr 3.2 and later cert_newtempcertificate mxr 3.12 and later cert_nicknamestringsfromcertlist mxr 3.4 and later cert_opencertdbfilename mxr 3.2 and later cert_ocspcache
settings mxr 3.11.7 and later cert_pkixverifycert mxr 3.12 and later cert_removecertlistnode mxr 3.6 and later cert_rfc1485_escapeandquote mxr 3.2 and later cert_savesmimeprofile mxr 3.2 and later cert_setsloptime mxr 3.2 and later cert_setocspfailuremode mxr 3.11.7 and later cert_setocsptimeout mxr...
sslintro.html
this function must be called once for each parameter whose
settings you want to change from those established with ssl_optionsetdefault.
NSS Tools modutil
saves typing when there is more than one platform using the same
settings.
Rhino optimization
optimization
settings the currently supported optimization
settings are: -1 interpretive mode is always used.
Rhino shell
note if the shell is invoked with the system property rhino.use_java_policy_security set to true and with a security manager installed, the shell restricts scripts permissions based on their urls according to java policy
settings.
SpiderMonkey Build Documentation
tables, shell scripts /usr/local/bin --bindir libraries, data /usr/local/lib --libdir architecture-independent data /usr/local/share --sharedir c header files /usr/local/include --includedir for convenience, you can pass the configure script an option of the form --prefix=<prefixdir>, which substitutes <prefixdir> for /usr/local in all the
settings above, in one step.
Hacking Tips
in case of the js shell we might also want to set the amount of memory available to change the gc
settings as if we were running on a firefox os device.
Index
it allows the embedding to control certain aspects of js code execution based on security
settings of the global object the code is executed in.
JSAPI Cookbook
to get the opposite behavior for any of these
settings, simply omit the property attribute bits you don't want.
JS_GetSecurityCallbacks
it allows the embedding to control certain aspects of js code execution based on security
settings of the global object the code is executed in.
JSAPI reference
"define" is a lower-level version of "set" that provides access to extra
settings and does not call setters.
Thread Sanitizer
is flag causes clang to automatically link the tsan runtime :) export ldflags="-fsanitize=thread -fpic -pie" # these three are required by tsan ac_add_options --disable-jemalloc ac_add_options --disable-crashreporter ac_add_options --disable-elf-hack # keep symbols to symbolize tsan traces export moz_debug_symbols=1 ac_add_options --enable-debug-symbols ac_add_options --disable-install-strip #
settings for an opt build ac_add_options --enable-optimize="-o2 -gline-tables-only" ac_add_options --disable-debug starting the build process now you start the build process using the regular make -f client.mk command.
Web Replay
getting started to enable web replay (macos and firefox nightly only), go to devtools
settings and select "enable webreplay".
Creating XPCOM components
ther resources weblock.css image resources packaging weblock component installation overview archiving resources the weblock installation script the weblock trigger script distributing your component appendix a - setting up the gecko sdk downloading and setting the sdk building a microsoft visual cpp project creating a new project adding the gecko sdk to the project
settings building a windows project a makefile for unix appendix b - resources weblock resources gecko resources xpcom resources general development resources next » copyright (c) 2003 by doug turner and ian oeschger.
nsIAnnotationService
expire_weeks 2 for general page
settings, things the user is interested in seeing if they come back to this page some time in the near future.
nsIClipboardDragDropHooks
inherits from: nsisupports last changed in gecko 1.7 embedders who want to have these hooks made available should implement nsiclipboarddragdrophooks and use the command manager to send the appropriate commands with these parameters/
settings: command: cmd_clipboarddragdrophook params value type possible values "addhook" isupports nsiclipboarddragdrophooks as nsisupports "removehook" isupports nsiclipboarddragdrophooks as nsisupports note: overrides/hooks need to be added to each window (as appropriate).
nsICryptoHMAC
reset() reinitialize hmac context to be reused with the same
settings (the key and hash algorithm) but on different set of data.
nsIDownloadManager
download_blocked_policy 9 windows specific: request was blocked by zone policy
settings.
nsIEditorSpellCheck
now that spell checker
settings are per-site, this method takes no parameters.
nsIINIParser
ini sections are * defined by square brakets and look like this: [
settings] * all entries below such a section definition belong to that * section (until the next section).
nsIPropertyBag
" appname:"netscape" appversion:"5.0 (windows)" battery:batterymanager buildid:"20140529161749" cookieenabled:true donottrack:"yes" geolocation:geolocation language:"en-us" mimetypes:mimetypearray mozalarms:null mozapps:xpcwrappednative_nohelper mozcameras:cameramanager mozconnection:mozconnection mozcontacts:contactmanager mozid:null mozkeyboard:xpcwrappednative_nohelper mozpay:null mozpermission
settings: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.
nsISocketTransportService
mozilla.org:2000 with tls support and default proxy
settings var socket = transportservice.createtransport(["starttls"], 1,"mozilla.org", 2000, null); see also nsisockettransport nsirunnable nsiproxyinfo ...
nsIUpdateChecker
force if true, the update checker checks for updates, regardless of the current value of the user's update
settings.
nsIWebBrowserFind
methods findnext() finds, highlights, and scrolls into view the next occurrence of the search string, using the current search
settings.
nsIWinTaskbar
for xulrunner applications, the defaultgroupid attribute is configured using application.ini
settings, and is of the format "vendor.application.version".
nsIWindowMediator
for example, you could use it in the "ok" handler of your options dialog to apply the new
settings to each open browser window.
XPCOM Interface Reference
entrynsifeedgeneratornsifeedpersonnsifeedprocessornsifeedprogresslistenernsifeedresultnsifeedresultlistenernsifeedtextconstructnsifilensifileinputstreamnsifileoutputstreamnsifilepickernsifileprotocolhandlernsifilespecnsifilestreamsnsifileurlnsifileutilitiesnsifileviewnsifocusmanagernsiformhistory2nsiframeloadernsiframeloaderownernsiframemessagelistenernsiframemessagemanagernsiframescriptloadernsig
settingscollectionnsig
settingsservicensigeolocationprovidernsigeolocationupdatensiglobalhistorynsiglobalhistory2nsiglobalhistory3nsihtmleditornsihttpheaderlistenernsihapticfeedbacknsihttpactivitydistributornsihttpactivityobservernsihttpchannelnsihttpchannelinternalnsihttpheadervisitornsihttpservernsihttpupgradelistenernsiidnservicensiiframeboxobjectnsiiniparsernsiiniparserfactorynsiiniparserwriternsiioser...
Frequently Asked Questions
comparing an nscomptr to a raw xpcom interface pointer declaring an nscomptr to a forward-declared class not linking to xpcom not including nscomptr.h different
settings of nscap_feature_debug_ptr_types runtime errors ns_assertion "queryinterface needed" may be caused by a class that derives from a given interface, when you forgetting to also specify the interface name in the ns_impl_isupports / ns_impl_threadsafe_isupports macro.
Creating a Custom Column
to attach our column we add another treecol tag ("colreplyto") with the
settings that we would like to use.
Mozilla
profile manager firefox and other xulrunner applications store user
settings and data in special folders, called profiles.
Application - Firefox Developer Tools
if you can’t see it there, you can enable it by going to the "three dot" menu and selecting
settings (also accessible by pressing f1), then checking the application checkbox under default developer tools.
Ignore a source - Firefox Developer Tools
when “pause on exceptions” is enabled in the debugger
settings, the debugger won’t pause when an exception is thrown in the ignored source; instead it waits until (and if) the stack unwinds to a frame in a source that isn’t ignored.
Eyedropper - Firefox Developer Tools
underneath the magnifying glass it shows the color value for the current pixel using whichever scheme you've selected in
settings > inspector > default color unit: you can use it in one of two ways: to select a color from the page and copy it to the clipboard to change a color value in the inspector's rules view to a color you've selected from the page copying a color to the clipboard open the eyedropper in one of these two ways: select "eyedropper" under the "web developer" menu open the page inspector tab and click the eyedropper button in its toolbar as you move the mouse a...
Basic operations - Firefox Developer Tools
to enable it, open the developer tool
settings, and check the "memory" box under "default firefox developer tools": from firefox 50 onwards, the memory tool is enabled by default.
Dominators view - Firefox Developer Tools
taking a snapshot to see what it looks like in the dominators view: load the page enable the memory tool in the
settings, if you haven't already open the memory tool check "record call stacks" press the button labeled "make monsters!" take a snapshot switch to the "dominators" view analyzing the dominators tree you'll see the three arrays as the top three gc roots, each retaining about 23% of the total memory usage: if you expand an array, you'll see the objects (monsters) it contains.
Page Inspector - Firefox Developer Tools
l inspect and select colors reposition elements in the page edit fonts visualize transforms use the inspector api select an element examine and edit css examine event listeners work with animations edit css filters edit css shapes view background images use the inspector from the web console examine css grid layouts examine css flexbox layouts reference keyboard shortcuts
settings ...
Debugging Firefox Desktop - Firefox Developer Tools
enable remote debugging first, you'll need to ensure that both debugger and debuggee have the "enable browser chrome and add-on debugging toolboxes" and "enable remote debugging"
settings checked in the developer tools
settings.
Web Console UI Tour - Firefox Developer Tools
settings ("gear" menu): new in firefox 71, you can click the gear icon to access the new
settings menu, where you can toggle the following features on and off: persist logs: when enabled, the console doesn't clear on page reload, or new page load.
Web Console - Firefox Developer Tools
the toolbox appear at the bottom, left, or right of the browser window (depending on your docking
settings), with the web console activated (it's just called console in the devtools toolbar).
Animation.currentTime - Web APIs
effect.timing.duration / 2; a more generic means of seeking to the 50% mark of an animation would be: animation.currenttime = animation.effect.getcomputedtiming().delay + animation.effect.getcomputedtiming().activeduration / 2; reduced time precision to offer protection against timing attacks and fingerprinting, the precision of animation.currenttime might get rounded depending on browser
settings.
Animation.startTime - Web APIs
waapicats.appendchild(newcat); } reduced time precision to offer protection against timing attacks and fingerprinting, the precision of animation.starttime might get rounded depending on browser
settings.
AnimationTimeline.currentTime - Web APIs
reduced time precision to offer protection against timing attacks and fingerprinting, the precision of animationtimeline.currenttime might get rounded depending on browser
settings.
BaseAudioContext.currentTime - Web APIs
console.log(audioctx.currenttime); reduced time precision to offer protection against timing attacks and fingerprinting, the precision of audioctx.currenttime might get rounded depending on browser
settings.
BiquadFilterNode.getFrequencyResponse() - Web APIs
the getfrequencyresponse() method of the biquadfilternode interface takes the current filtering algorithm's
settings and calculates the frequency response for frequencies specified in a specified array of frequencies.
BiquadFilterNode - Web APIs
biquadfilternode.getfrequencyresponse() from the current filter parameter
settings this method calculates the frequency response for frequencies specified in the provided array of frequencies.
CSS Painting API - Web APIs
dictionaries paintrenderingcontext2d
settings a dictionary providing a subset of canvasrenderingcontext2d
settings.
CanvasRenderingContext2D - Web APIs
canvasrenderingcontext2d.clearshadow() removes all shadow
settings like canvasrenderingcontext2d.shadowcolor and canvasrenderingcontext2d.shadowblur.
DOMHighResTimeStamp - Web APIs
reduced time precision to offer protection against timing attacks and fingerprinting, the precision of time stamps might get rounded depending on browser
settings.
DisplayMediaStreamConstraints.audio - Web APIs
if a mediatrackconstraints object is given, and an audio source is available, an audio track matching the
settings given in the constraints object is included in the mediastream returned by getdisplaymedia().
Document.featurePolicy - Web APIs
syntax var policy = iframeelement.featurepolicy value a featurepolicy object that can be used to inspect the feature policy
settings applied to the document.
Event.timeStamp - Web APIs
<p>timestamp: <span id="time">-</span></p> javascript function gettime(event) { var time = document.getelementbyid("time"); time.firstchild.nodevalue = event.timestamp; } document.body.addeventlistener("keypress", gettime); result reduced time precision to offer protection against timing attacks and fingerprinting, the precision of event.timestamp might get rounded depending on browser
settings.
Event - Web APIs
cs-module both monitoring video-watching.) when there are many nested elements, each with its own handler(s), event processing can become very complicated—especially where a parent element receives the very same event as its child elements because "spatially" they overlap so the event technically occurs in both, and the processing order of such events depends on the event bubbling and capture
settings of each handler triggered.
Using Fetch - Web APIs
supplying request options the fetch() method can optionally accept a second parameter, an init object that allows you to control a number of different
settings: see fetch() for the full options available, and more details.
File.lastModified - Web APIs
e.bin', { lastmodified: new date(2017, 1, 1), }); console.log(filewithdate.lastmodified); //returns 1485903600000 const filewithoutdate = new file([], 'file.bin'); console.log(filewithoutdate.lastmodified); //returns current time reduced time precision to offer protection against timing attacks and fingerprinting, the precision of somefile.lastmodified might get rounded depending on browser
settings.
File.lastModifiedDate - Web APIs
nput"); // files is a filelist object (simliar to nodelist) var files = fileinput.files; for (var i = 0; i < files.length; i++) { alert(files[i].name + " has a last modified date of " + files[i].lastmodifieddate); } reduced time precision to offer protection against timing attacks and fingerprinting, the precision of somefile.lastmodifieddate.gettime() might get rounded depending on browser
settings.
FontFace.FontFace() - Web APIs
it can have the following keys: family: family style: style weight: weight stretch: stretch unicoderange: unicode range variant: variant feature
settings: feature
settings example async function loadfonts() { const font = new fontface('myfont', 'url(myfont.woff)'); // wait for font to be loaded await font.load(); // add font to document document.fonts.add(font); // enable font with css class document.body.classlist.add('fonts-loaded'); } specifications specification status comment css f...
Fullscreen API - Web APIs
dictionaries fullscreenoptions provides optional
settings you can specify when calling requestfullscreen().
HTMLMediaElement: loadeddata event - Web APIs
bubbles no cancelable no interface event target element default action none event handler property globaleventhandlers.onloadeddata specification html5 media note that this event will not fire in mobile/tablet devices if data-saver is on in browser
settings.
IDBObjectStore.createIndex() - Web APIs
auto: the platform default locale will be used (may be changed by user agent
settings.) null or undefined: if no locale is specified, normal javascript sorting will be used — not locale-aware.
IIRFilterNode.getFrequencyResponse() - Web APIs
the getfrequencyresponse() method of the iirfilternode interface takes the current filtering algorithm's
settings and calculates the frequency response for frequencies specified in a specified array of frequencies.
IIRFilterNode - Web APIs
it also has the following additional methods: getfrequencyresponse() uses the filter's current parameter
settings to calculate the response for frequencies specified in the provided array of frequencies.
ImageCapture.getPhotoCapabilities() - Web APIs
const input = document.queryselector('input[type="range"]'); var imagecapture; navigator.mediadevices.getusermedia({video: true}) .then(mediastream => { document.queryselector('video').srcobject = mediastream; const track = mediastream.getvideotracks()[0]; imagecapture = new imagecapture(track); return imagecapture.getphotocapabilities(); }) .then(photocapabilities => { const
settings = imagecapture.track.get
settings(); input.min = photocapabilities.imagewidth.min; input.max = photocapabilities.imagewidth.max; input.step = photocapabilities.imagewidth.step; return imagecapture.getphoto
settings(); }) .then(photo
settings => { input.value = photo
settings.imagewidth; }) .catch(error => console.log('argh!', error.name || error)); specifications specification ...
ImageCapture - Web APIs
imagecapture.getphoto
settings() returns a promise that resolves with a photo
settings object containing the current photo configuration
settings.
Basic concepts - Web APIs
many browsers have
settings that let users wipe all data stored for a given website, including cookies, bookmarks, stored passwords, and indexeddb data.
Intersection Observer API - Web APIs
function createobserver() { let observer; let options = { root: null, rootmargin: "0px", threshold: buildthresholdlist() }; observer = new intersectionobserver(handleintersect, options); observer.observe(boxelement); } this begins by setting up an options object containing the
settings for the observer.
Using the Media Capabilities API - Web APIs
support for getting real-time feedback about the playback of media, so your code can make informed decisions about adapting the stream's quality or other
settings to manage the user's perceived media performance and quality.
Navigator.getUserMedia() - Web APIs
for details, see the constraints section under the modern mediadevices.getusermedia() method, as well as the article capabilities, constraints, and
settings.
Notification.dir - Web APIs
note: most browsers seem to ignore explicit ltr and rtl
settings, and just go with the browser-wide setting.
Notification.silent - Web APIs
the silent read-only property of the notification interface specifies whether the notification should be silent, i.e., no sounds or vibrations should be issued, regardless of the device
settings.
Notification - Web APIs
notification.silent read only specifies whether the notification should be silent — i.e., no sounds or vibrations should be issued, regardless of the device
settings.
performance.now() - Web APIs
reduced time precision to offer protection against timing attacks and fingerprinting, the precision of performance.now() might get rounded depending on browser
settings.
RTCAnswerOptions - Web APIs
the rtcansweroptions dictionary is used to provide optional
settings when creating an sdp answer using rtcpeerconnection.createoffer() after receiving an offer from a remote peer.
RTCOfferOptions - Web APIs
the rtcofferoptions dictionary is used to provide optional
settings when creating an rtcpeerconnection offer with the createoffer() method.
Request() - Web APIs
init optional an options object containing any custom
settings that you want to apply to the request.
Response() - Web APIs
this can be null (which is the default value), or one of: blob buffersource formdata readablestream urlsearchparams usvstring init optional an options object containing any custom
settings that you want to apply to the response, or an empty object (which is the default value).
Screen Wake Lock API - Web APIs
a request may be rejected for a number of reasons, including system
settings (such as power save mode or low battery level) or if the document is not active or visible.
Using Service Workers - Web APIs
when testing you can get around the https restriction by checking the "enable service workers over http (when toolbox is open)" option in the firefox developer tools
settings.
SpeechSynthesisErrorEvent.error - Web APIs
sy the operation couldn't be completed at this time because the user-agent couldn't access the audio output device (for example, the user may need to correct this by closing another application.) audio-hardware the operation couldn't be completed at this time because the user-agent couldn't identify an audio output device (for example, the user may need to connect a speaker or configure system
settings.) network the operation couldn't be completed at this time because some required network communication failed.
SubmitEvent.submitter - Web APIs
examples in this example, a shopping cart may have an assortment of different submit buttons depending on factors such as the user's
settings, the shop's
settings, and any minimum or maximum shopping card totals established by the payment processors.
SubmitEvent - Web APIs
examples in this example, a shopping cart may have an assortment of different submit buttons depending on factors such as the user's
settings, the shop's
settings, and any minimum or maximum shopping card totals established by the payment processors.
USBAlternateInterface - Web APIs
an interface includes one or more alternate
settings which can configure a set of endpoints based on the operating mode of the device.
WEBGL_debug_shaders - Web APIs
availability: depending on the privacy
settings of the browser, this extension might only be available to privileged contexts.
Lighting a WebXR setting - Web APIs
because the webxr device api relies on other technologies—namely, webgl and frameworks based upon it—to perform all rendering, texturing, and lighting of a scene, the same general lighting concepts apply to webxr
settings or scenes as to any other webgl-generated display.
WebXR Device API - Web APIs
however, there are issues specific to creating augmented and virtual reality
settings that need to be considered when writing your lighting code.
Using IIR filters - Web APIs
and this is where the iir filter node is useful — you can create your own if none of the alaready available
settings is right for what you want.
Using the Web Storage API - Web APIs
if the localstorage object does exist, there is still no guarantee that the localstorage api is actually available, as various browsers offer
settings that disable localstorage.
Window.focus() - Web APIs
it may fail due to user
settings and the window isn't guaranteed to be frontmost before this method returns.
Window.open() - Web APIs
tip: note that in some browsers, users can override the windowfeatures
settings and enable (or prevent the disabling of) features position and size features windowfeatures parameter can specify the position and size of the new window.
WorkerGlobalScope.onlanguagechange - Web APIs
}; example the following code snippet shows an onlanguagechange handler set inside a worker: self.onlanguagechange = function() { console.log('your preferred language
settings have been changed'); } specifications specification status comment html living standardthe definition of 'workerglobalscope.onlanguagechange' in that specification.
Web APIs
deviceinfo mediadevices mediaelementaudiosourcenode mediaencodingconfiguration mediaerror mediaimage mediakeymessageevent mediakeysession mediakeystatusmap mediakeysystemaccess mediakeysystemconfiguration mediakeys medialist mediametadata mediapositionstate mediaquerylist mediaquerylistevent mediaquerylistlistener mediarecorder mediarecordererrorevent mediasession mediasessionactiondetails media
settingsrange mediasource mediastream mediastreamaudiodestinationnode mediastreamaudiosourcenode mediastreamaudiosourceoptions mediastreamconstraints mediastreamevent mediastreamtrack mediastreamtrackaudiosourcenode mediastreamtrackaudiosourceoptions mediastreamtrackevent mediatrackconstraints mediatrack
settings mediatracksupportedconstraints merchantvalidationevent messagechannel messageevent messa...
Web accessibility for seizures and physical reactions - Accessibility
s draft document, media queries level 5 section on light-level: "the light-level media feature is used to query about the ambient light-level in which the device is used, to allow the author to adjust style of the document in response." this will be a godsend to those who have motor-skills problems, or for some with cognitive difficulties, who cannot find the right "button" to change their screen
settings.
:-moz-focusring - CSS: Cascading Style Sheets
whether the user agent has focus ring drawing enabled can depend on operating system
settings and other factors, so the precise behavior of this pseudo-class will vary from platform to platform.
::first-letter (:first-letter) - CSS: Cascading Style Sheets
allowable properties only a small subset of css properties can be used with the ::first-letter pseudo-element: all font properties : font, font-style, font-feature-
settings, font-kerning, font-language-override, font-stretch, font-synthesis, font-variant, font-variant-alternates, font-variant-caps, font-variant-east-asian, font-variant-ligatures, font-variant-numeric, font-variant-position, font-weight, font-size, font-size-adjust, line-height and font-family all background properties : background, background-color, background-image, background-clip, background-ori...
::first-line (:first-line) - CSS: Cascading Style Sheets
allowable properties only a small subset of css properties can be used with the ::first-line pseudo-element: all font-related properties: font, font-kerning, font-style, font-variant, font-variant-numeric, font-variant-position, font-variant-east-asian, font-variant-caps, font-variant-alternates, font-variant-ligatures, font-synthesis, font-feature-
settings, font-language-override, font-weight, font-size, font-size-adjust, font-stretch, and font-family all background-related properties: background-color, background-clip, background-image, background-origin, background-position, background-repeat, background-size, background-attachment, and background-blend-mode the color property word-spacing, letter-spacing, text-decoration, text-transform, and...
forced-colors - CSS: Cascading Style Sheets
user preferences currently no user agent implements this feature, although various operating systems do support such preferences and if this media query is ever implemented user agents will likely rely on the
settings provided by the operating system in use.
prefers-reduced-data - CSS: Cascading Style Sheets
user preferences currently no user agent implements this feature, although various operating systems do support such preferences and if this media query is ever implemented user agents will likely rely on the
settings provided by the operating system.
prefers-reduced-transparency - CSS: Cascading Style Sheets
user preferences currently no user agent implements this feature, although various operating systems do support such preferences and if this media query is ever implemented user agents will likely rely on the
settings provided by the operating systems.
Animatable CSS properties - CSS: Cascading Style Sheets
border-top-width border-width bottom box-shadow caret-color clip clip-path color column-count column-gap column-rule column-rule-color column-rule-width column-width columns filter flex flex-basis flex-grow flex-shrink font font-size font-size-adjust font-stretch font-variation-
settings font-weight gap grid-column-gap grid-gap grid-row-gap grid-template-columns grid-template-rows height inline-size inset inset-block inset-block-end inset-block-start inset-inline inset-inline-end inset-inline-start left letter-spacing line-clamp line-height margin margin-block-end ma...
Mozilla CSS extensions - CSS: Cascading Style Sheets
till accepted] -moz-column-width [prefixed version still accepted] -moz-column-rule [prefixed version still accepted] -moz-column-rule-width [prefixed version still accepted] -moz-column-rule-style [prefixed version still accepted] -moz-column-rule-color [prefixed version still accepted] -moz-context-properties f–m filter [applying to more than svg] -moz-font-feature-
settings [prefixed version still accepted] -moz-font-language-override [prefixed version still accepted] -moz-hyphens [prefixed version still accepted] -moz-margin-end [superseded by the standard version margin-inline-end] -moz-margin-start [superseded by the standard version margin-inline-start] mask [applying to more than svg] o -moz-opacityobsolete since gecko 1.9.1 -moz-outlin...
Scaling of SVG backgrounds - CSS: Cascading Style Sheets
source image examples before diving in to look at the results of using different kinds of source images and seeing how they look when used with background-size, it would be helpful to look at a few example source images that have different dimensions and sizing
settings.
Linear-gradient Generator - CSS: Cascading Style Sheets
lass="button"> delete line </div> </div> <div class="property"> <div class="ui-slider" data-topic="axis-rotation" data-info="rotation" data-min="-180" data-value="0" data-max="180"></div> </div> </div> <div id="tool-section" class="section"> <div class="title"> tool
settings </div> <div class="property"> <div class="name"> alpha background </div> <div id="canvas-bg"></div> <div id="add-axis" class="button"> add line </div> </div> <div id="order"> <div id="gradient-axes"></div> <div id="gradient-order"></div> ...
WebKit CSS extensions - CSS: Cascading Style Sheets
kit-column-count -webkit-column-fill -webkit-column-gap -webkit-column-rule -webkit-column-rule-color -webkit-column-rule-style -webkit-column-rule-width -webkit-column-span -webkit-column-width -webkit-columns f -webkit-filter -webkit-flex -webkit-flex-basis -webkit-flex-direction -webkit-flex-flow -webkit-flex-grow -webkit-flex-shrink -webkit-flex-wrap -webkit-font-feature-
settings -webkit-font-kerning -webkit-font-variant-ligatures g-j -webkit-grid -webkit-grid-area -webkit-grid-auto-columns -webkit-grid-auto-flow -webkit-grid-auto-rows -webkit-grid-column -webkit-grid-column-end -webkit-grid-column-gap -webkit-grid-column-start -webkit-grid-gap -webkit-grid-row -webkit-grid-row-end -webkit-grid-row-gap -webkit-grid-row-start -webkit-grid-template -we...
image-set() - CSS: Cascading Style Sheets
the image-set() function delivers the most appropriate image resolution for a user’s device, providing a set of image options — each with an associated resolution declaration — from which the browser picks the most appropriate for the device and
settings.
mask - CSS: Cascading Style Sheets
it is therefore recommended to use the mask shorthand rather than other shorthands or the individual properties to override any mask
settings earlier in the cascade.
CSS: Cascading Style Sheets
we have covered the necessary prerequisites so we can now dive deep into css layout, looking at different display
settings, modern layout tools like flexbox, css grid, and positioning, and some of the legacy techniques you might still want to know about.
Video player styling basics - Developer guides
the <div> container for the <progress> element also requires some specific
settings; it is set to be much wider than the other child elements and its cursor value is set to be pointer: .controls .progress { cursor:pointer; width:75.390625%; } buttons the first major styling task to tackle is to make the video control's buttons actually look like and act like real buttons.
<input type="email"> - HTML: Hypertext Markup Language
since character widths vary, this may or may not be exact and should not be relied upon to be so; the resulting input may be narrower or wider than the specified number of characters, depending on the characters and the font (font
settings in use).
<input type="password"> - HTML: Hypertext Markup Language
since character widths vary, this may or may not be exact and should not be relied upon to be so; the resulting input may be narrower or wider than the specified number of characters, depending on the characters and the font (font
settings in use).
<input type="search"> - HTML: Hypertext Markup Language
since character widths vary, this may or may not be exact and should not be relied upon to be so; the resulting input may be narrower or wider than the specified number of characters, depending on the characters and the font (font
settings in use).
<input type="tel"> - HTML: Hypertext Markup Language
since character widths vary, this may or may not be exact and should not be relied upon to be so; the resulting input may be narrower or wider than the specified number of characters, depending on the characters and the font (font
settings in use).
<input type="text"> - HTML: Hypertext Markup Language
since character widths vary, this may or may not be exact and should not be relied upon to be so; the resulting input may be narrower or wider than the specified number of characters, depending on the characters and the font (font
settings in use).
<input type="url"> - HTML: Hypertext Markup Language
since character widths vary, this may or may not be exact and should not be relied upon to be so; the resulting input may be narrower or wider than the specified number of characters, depending on the characters and the font (font
settings in use).
HTML: Hypertext Markup Language
cors
settings attributes some html elements that provide support for cors, such as <img> or <video>, have a crossorigin attribute (crossorigin property), which lets you configure the cors requests for the element's fetched data.
Data URLs - HTTP
note: data urls are treated as unique opaque origins by modern browsers, rather than inheriting the origin of the
settings object responsible for the navigation.
Cookie - HTTP
the cookie header is optional and may be omitted if, for example, the browser's privacy
settings block cookies.
Proxy Auto-Configuration (PAC) file - HTTP
ed proxy should be used socks host:port the specified socks server should be used recent versions of firefox support as well: http host:port the specified proxy should be used https host:port the specified https proxy should be used socks4 host:port socks5 host:port the specified socks server (with the specified sock version) should be used if there are multiple semicolon-separated
settings, the left-most setting will be used, until firefox fails to establish the connection to the proxy.
Using Promises - JavaScript
here's some code that uses createaudiofileasync(): function successcallback(result) { console.log("audio file ready at url: " + result); } function failurecallback(error) { console.error("error generating audio file: " + error); } createaudiofileasync(audio
settings, successcallback, failurecallback); modern functions return a promise that you can attach your callbacks to instead: if createaudiofileasync() were rewritten to return a promise, using it could be as simple as this: createaudiofileasync(audio
settings).then(successcallback, failurecallback); that's shorthand for: const promise = createaudiofileasync(audio
settings); promise.then(successcallba...
Date.prototype.getTime() - JavaScript
reduced time precision to offer protection against timing attacks and fingerprinting, the precision of new date().gettime() might get rounded depending on browser
settings.
Date.now() - JavaScript
engines which have not been updated to support this method can work around the absence of this method using the following shim: if (!date.now) { date.now = function now() { return new date().gettime(); }; } examples reduced time precision to offer protection against timing attacks and fingerprinting, the precision of date.now() might get rounded depending on browser
settings.
globalThis - JavaScript
however, this causes csp violations in some
settings, so es6-shim uses a check like this, for example: var getglobal = function () { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } throw new error('unable to locate global object'); }; var globals = getglobal(); if (typeof globals.settimeout !== 'function') { // no settimeout in...
<script> - SVG: Scalable Vector Graphics
ndom() * 255).tostring(16).padstart(2,'0') const b = math.round(math.random() * 255).tostring(16).padstart(2,'0') return `#${r}${g}${b}` } document.queryselector('circle').addeventlistener('click', (e) => { e.target.style.fill = getcolor() }) }) // ]]> </script> <circle cx="5" cy="5" r="4" /> </svg> attributes crossorigin this attribute defines cors
settings as define for the html <script> element.
Subresource Integrity - Web security
<script src="https://example.com/example-framework.js" integrity="sha384-oqvuafxrkap7fdgccy5uykm6+r9gqq8k/uxy9rx7hnqlgyl1kpzqho1wx4jwy8wc" crossorigin="anonymous"></script> note: for more details on the purpose of the crossorigin attribute, see cors
settings attributes.
Transport Layer Security - Web security
the configuration file may need some adjustments to include custom
settings, so be sure to review the generated configuration before using it; installing the configuration file without ensuring any references to domain names and the like are correct will result in a server that just doesn't work.
Tutorials
we have covered the necessary prerequisites so can now dive deep into css layout, looking at different display
settings, traditional layout methods involving float and positioning, and new fangled layout tools like flexbox.
XPath
there are some cases in which the whole content of an xml document must be read from the javascript interpreter (like for web-apps languages or
settings xml documents, for example).