Menu
  • HOME
  • TAGS

XUL iframe firefox addon, how to change the src within the iframe?

javascript,firefox,iframe,firefox-addon,xul

With iframe in XUL you must create it with the HTML namespace otherwise things like load events don't work right, see this topic: http://forums.mozillazine.org/viewtopic.php?f=19&t=2809781&hilit=+iframe Once you do that, changing src etc should work as expected....

PlayN and Firefox issues

facebook,firefox,gwt,game-engine,playn

Ok, here is why TextLayout is moved up: FF bugzilla Also after a lot of googling it seems that drawing on canvas has performance issues in FF....

Inconsistent display on IE & Firefox

html,css,internet-explorer,firefox,twitter-bootstrap-3

Adding clearfix divs as explained here helped to resolve the display issues. Fix applicable in my scenario was adding <div class="clearfix"></div> after the four items of the first row...

Which object in JavaScript holds “..”?

javascript,firefox

Have you tried document.head? You can access body like: document.body. You can also do it like this: window.document.head and window.document.body but adding window won't change anything. Former and latter are the same. You can also use computed member access operator: var head = document['head']; // Same as: window['document']['head'] var body...

Is there a difference between a “key” and “key=” URL query string?

javascript,url,firefox,query-string

The answer is in the specification in the link that you post... For each byte sequence bytes in sequences, run these substeps: If bytes is the empty byte sequence, run these substeps for the next byte sequence. If bytes contains a =, then let name be the bytes from the...

“URL GOTO” keeps looping from iMacros javascript

javascript,loops,firefox,command-line,imacros

Use only one file "TodaysEvents.js". And let it be like this: const L = "\n"; iimPlayCode("TAB T=1" + L + "URL GOTO=http://www.event.com/schedual" + L); for (i = 1; i < 130; i++) { iimSet("loop", i); iimPlayCode("SET !ERRORIGNORE YES" + L + "TAG POS={{loop}} TYPE=A ATTR=TXT:02 EXTRACT=HTM" + L + "SAVEAS...

Django cannot read session under subdomain but working under IP Address

django,session,firefox

The problem is a network issue, we are using Sophos, and after they changed url to https, all working fine.

$(this).val() not working in FireFox but works in Chrome

javascript,jquery,html,google-chrome,firefox

I found a work around that seems to work in Firefox. I change the type of input to number on focus giving me the proper keypad on mobile but then change the type back to text on blur giving me to two decimal places. See the code below... $('input.drawer').on('blur', function(){...

Mozilla stance on HTML imports

firefox,web-component

As of 2 days ago (June 9, 2015) Mozilla's position on HTML Imports (as currently specified) has not changed. Here is the reference for this, it goes into more details on HTML Imports and discusses various things that are happening in the area: https://hacks.mozilla.org/2015/06/the-state-of-web-components/ Here is the original announcement blog...

Can't get xpi to work in TorBrowser

firefox,firefox-addon,tor-browser-bundle

Had to add "permissions": {"private-browsing": true} to the package.json http://tor.stackexchange.com/questions/6293/sidebar-for-custom-addon-broken-in-tbb...

NS_ERROR_UNEXPECTED in FireFox on mozRTCPeerConnection()

firefox,webrtc

I found the mistake, it was in how we specify the iceServers. Correction is : {'iceServers': [ createIceServer(isChrome ? 'stun:stun.l.google.com:19302' : 'stun:23.21.150.121', null, null) ]} ...

How to update a FirefoxDriver (WebDriver) object when opening, and switching between tabs?

java,firefox,selenium,tabs,selenium-firefoxdriver

I found a solution/workaround to correct the driver's current view. After the driver switches to a different tab, a call to switchTo().defaultContent() must be made. The working code is as follows: FirefoxDriver driver = new FirefoxDriver(); driver.get("http://www.google.com"); // display starting tab URL System.out.println(driver.getCurrentUrl()); // expected output: google.com WebElement body =...

firefox extension works through sdk but not when installed in browser - compatibility issue?

javascript,firefox,firefox-addon,firefox-addon-sdk,mozilla

Open context menu on the toolbar where your icon would be, select Customize.... In the opened window, can you see your icon in "Additional tools and features"? If yes, then it means firefox remembered the icon's absence while you were developing the addon. You can put the icon to...

jenkins cannot run firefox: No protocol specified Error: cannot open display: :0

linux,firefox,jenkins,python-3.4

Just install a virtual framebuffer in your machine and it will work. Now i'm using Xvfb, but there are many others. Here is some tutorials to setup your machine: http://www.installationpage.com/selenium/how-to-run-selenium-headless-firefox-in-ubuntu/ http://www.labelmedia.co.uk/blog/setting-up-selenium-server-on-a-headless-jenkins-ci-build-machine.html Also, there is this plugin: https://wiki.jenkins-ci.org/display/JENKINS/Xvfb+Plugin...

How to get use the functionality same as “-webkit-appearance” in firefox?

html,css,firefox

Use like this: input[type=checkbox] { -webkit-appearance: none; /* webkit browsers */ -moz-appearance: none; /* mozilla browser */ -o-appearance: none; /* opera browsers */ appearance: none; } For Browser support Refer this link Edit: Updated Demo If you want to completly hide checkbox, you can try display:none instead of appearence. input[type=checkbox]...

Firefox crash when I run sellenium unit test

c#,firefox,selenium,jenkins,selenium-webdriver

Selenium 2.45 does not reliably work with Firefox 38 due to compatibility issues. Downgrade Firefox to 35 (link to 35.0.1)....

Dgrid - Firefox breaks while trying to load large data set in dgrid

javascript,firefox,dojo,dgrid,broken-pipe

I don't really know what is wrong per sey, but I would imagine that you are having memory issues. I was using Gridx with about 15,000 rows and had lots of problems with memory until I implemented the JSONRest store. For so many rows, I would strongly recommend to use...

Blob createObjectURL download not working in Firefox (but works when debugging)

javascript,firefox,download,blob

You're probably removing the resource too soon, try delaying it ... a.click(); setTimeout(function(){ document.body.removeChild(a); window.URL.revokeObjectURL(url); }, 100); } ...

Manual adding firefox for android addon

android,firefox,firefox-addon

Yeah this is possible: Install firefox app Place XPI-file on your android device Install good file explorer like: ES File Explorer File Manager Open XPI with file explorer and choose firefox Add-on should get installed now. This should work PS: if file explorer doesn't give option to open with firefox,...

Odd behavior with “history.back” in Ember app using “replaceWith” running in iframe in FF

firefox,ember.js,ember-router

One way to keep the hash location type and perform a workaround for the Firefox bug is to make a custom HashLocation implementation by extending the built-in Ember HashLocation and rewriting the replaceURL function to use the history.replaceState instead of location.replace. HashWithFFWorkaroundLocation = Ember.HashLocation.extend({ implementation: 'hash-with-ff-workaround', replaceURL(path) { var history...

Difference running Protractor with/without Selenium?

google-chrome,firefox,selenium,selenium-webdriver,protractor

First of all, currently, you have 4 different built-in options/ways to connect to browser drivers: specify seleniumServerJar to start selenium standalone server locally specify seleniumAddress to connect to a running selenium server (local or remote) set sauceUser and sauceKey to connect to Sauce Labs remote selenium server use directConnect to...

Firefox and Chrome again seem to parse dates differently

javascript,google-chrome,firefox

The potential answer response with the RegEx is very messy and still doesn't completely cover this. I went with a more clean looking solution using JQuery: $.datepicker.parseDate('mm/dd/yy','1/32/1980') I just wrapped this up like so: function isValidDate(strDate, strDateFormat){ try{ $.datepicker.parseDate(strFormat, strDate); } catch (e) { return false; } return true; }...

No video with supported format and MIME type found

internet-explorer,firefox,video,html5-video

Different browsers support different video formats - the link below is a good overview but be aware this is a constantly changing area so it is worth rechecking regularly: https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats The error message you are seeing on Firefox is consistent with it not supporting the video format in question (see...

jQuery working on Firefox but partially on IE8

jquery,firefox,internet-explorer-8,compatibility

Finnally, This solution is working : $('select').change(function(){ Thanks for help...

CSS flexbox wraps content in FireFox (not Chrome)

css,google-chrome,firefox,flexbox,pseudo-element

Weird. button elements have some special behavior which seems to conflict with flexbox. Specifically, what happens is that the flex items are blockified, according to the spec: The display value of a flex item is blockified: if the specified display of an in-flow child of an element generating a flex...

How do I make a dropdown in Firefox look the same as Chrome/IE?

css,twitter-bootstrap,google-chrome,firefox

Funny thing, I guessed this problem might not had anythingto do with the dropdown, but to the fact that firefox somehow ignored the padding. Seems like I was wrong, since according to this answer, this is a bug of Chrome and not Firefox I've fixed the problem with simply displaying...

Addon to modify http headers specified via regex of content

regex,firefox,http-headers,firefox-addon

It should be fairly trivial to write such an addon yourself if you don't need any GUI. The SDK has a module (system-events) that requires only a few lines of code to hook into any and all HTTP requests or responses...

nsICacheService doesn't work in Firefox 38

javascript,firefox,firefox-addon

http://code.metager.de/source/xref/mozilla/firefox/netwerk/cache/nsICacheService.idl This looks like a hint * @throws NS_ERROR_NOT_IMPLEMENTED when the cache v2 is prefered to use. https://bugzilla.mozilla.org/show_bug.cgi?id=913807 I’m thinking that all we need to do is change 1 to 2 in this line in the var cacheService = cc["@mozilla.org/network/cache-service;1"] .getService(ci.nsICacheService);...

Why is position of html button in tablecell different in Firefox

html,css,firefox,cross-browser

Just add vertical-align:top to the table-cell; http://jsfiddle.net/1kg8a6rb/1/

how can i use require(“”); in javascript

javascript,firefox,plugins,requirejs,mozilla

The code you found was for use in a Firefox extension. You’re not writing a Firefox extension, you’re using a web page, so you can’t use that code. There’s no drop-in replacement; you’ll have to find something else.

firefox images flickering during jquery animations

jquery,image,firefox,animation

Problem Solved i disabled firefox hardware acceleration ... and now everything works fine. here is how to disable firefox hardware acceleration: go to firefox options then to advanced. Uncheck "Use Hardware Acceleration When Available."...

Opentype features cross-browser compatibility

css,css3,firefox,webkit,opentype

Unfortunately it doesn't appear that this can be achieved with the current support (Safari is surprisingly behind on this), and so I have had to take the decision to about using font-feature-settings for the small caps part of the job. I will instead use font-variant: small-caps until the adoptive rate...

FileReader onload only works the second time around in Firefox?

javascript,firefox,dom

The problem is not with FileReader. The load handler gets executed every time. The problem seems to be with the timing of accessing the image. Wait until it is loaded: // create a new image from user selected file var img = new Image(); img.onload = function() { // set...

How to use youtube API in firefox extension?

javascript,firefox,youtube

Sorry for asking I found the answer next to my question on the right side panel! For those who are looking for the same problem : var player = document.getElementById('movie_player').wrappedJSObject; should do the trick....

Firebug Events side panel is empty

firefox,firebug

It broke in Firefox 38, and will be fixed with the next new Firebug update. See this newsgroup thread.

Firefox Windows / Linux inconstancies

css,linux,firefox,fonts,font-face

You only have defined the font name sans-serif which is not a font per se, just tells the browser to use any sans serif font the browser prefers. But even if you give a concrete font name, be aware that the installed fonts in Win / Linux are not the...

Worker works on Firefox, and older version of Chrome but not on the latest Chrome

javascript,angularjs,google-chrome,firefox,web-worker

Try This!! var onmessage; self.onmessage = function(event) { return self.postMessage('message'); }; must use 'self'...

input radio checked / unchecked not working in Firefox 38.0.5 Windows - jquery

javascript,jquery,forms,firefox,radio

Thank you @depperm for your help in isolating the issue to the input type="radio". For whatever reason checkboxes are better supported on firefox and already have the ability to be check and unchecked. I added a name to each input and some code to prevent multiple checkboxes from being selected...

How to show/hide a jquery script only on Firefox

javascript,jquery,firefox,browser,cross-browser

Try with navigator.userAgent used to detect the browser The userAgent property returns the value of the user-agent header sent by the browser to the server. The value returned, contains information about the name, version and platform of the browser. if(navigator.userAgent.toLowerCase().indexOf("firefox") > -1){ $("#about_me").addClass("red"); } else{ $("#about_me").addClass("blue"); } Fiddle About Naviagate...

CodeIgniter Captcha Image not validate in Chrome while it is OK in Firefox

php,codeigniter,google-chrome,firefox

If I have call captcha image in controller, it is OK for Firefox and Internet Explorer. But Google Chrome and Yandex changes captchaWord value after sending it to view. So I have decided to call captcha image using jQuery after page load is done. Then it is OK now for...

Dart Polymer: Creating PaperDialog with CoreAnimatedPages displayed incorrectly in Firefox

firefox,dart,polymer

If you CSS is not inside a Polymer element you need to add the polyfill version of the selectors to make it work on browsers without native shadow-DOM support html paper-dialog, html /deep/ paper-dialog { margin-top: -150px; margin-left: -300px; } html paper-dialog core-animated-pages, html /deep/ paper-dialog /deep/ core-animated-pages{ height: 300px;...

Firefox Add-Ons: Variable Is Not Defined In Console

javascript,debugging,firefox,firefox-addon,xul

As erikvold has said, the link to your Uedit.js script is wrong. This is the minimum that is wrong and is the thing that is complained about in the console: browser.xul:5 is line 5 in browser.xul, which is: <script src="Uedit.js" /> You state that you have tried: <script src="chrome://Uedit/Uedit.js" />...

How do I indent my code with the tab-space key?

javascript,firefox,console

You could use the Scratchpad. It is better-designed for multi-line code editing, and supports using the tab character to indent code. You can find it under the Developer Tools menu. Tools > Web Developer > Scratchpad on OS X, and Menu > Developer > Scratchpad on other platforms. You can...

Remove the black line from the bottom and right side of Firefox select boxes

html,css,firefox

Pretty sure you cant style the drop down box itself, just the input field. The box is rendered by the operating system so the only way to have control over the select is to use a plugin. I would recommend the use of Chosen.js to have it look the same...

Copy to clipboard from Firefox add-on content script

javascript,firefox,copy,firefox-addon,firefox-addon-sdk

I finally got it to work with onAttach. Here's my main.js: var pageMod = require("sdk/page-mod"); var self = require("sdk/self"); var clipboard = require("sdk/clipboard"); pageMod.PageMod({ include: 'example.com', contentScriptFile: self.data.url('content-script.js'), onAttach: function(worker) { worker.port.on('copyToClipboard', function(request) { clipboard.set(request); }); } }); And content-script.js: self.port.emit('copyToClipboard', 'This text will be copied.'); ...

Cannot put() data to an indexeddb database using Firefox

javascript,firefox,indexeddb

Your code shows that you simply want to insert some data in the database, so why to use put(), instead use add() which is meant for the purpose. put() is update something in database while add() is to insert. Check - IDBObjectStore API var request = store.add({ psName: "ABC", psTag:...

SVG as data URI triggers XML parsing error in Firefox

css,firefox,svg

It is not valid for data URIs to contain # characters like yours has, you must escape them as %23 The unescaped # character is reserved to indicate the start of a fragment identifier. Firefox is quite right to indicate a parsing error....

Linking to an anchor on another page lands in the wrong place (Firefox)

javascript,jquery,html,firefox,jquery-waypoints

I came to a solution based on a comment here - Load page directly to anchor tag Though the above question is not about my specific problem, dynamically adding the IDs for the anchors to the H1 elements resolved the issue I was having. $(document).ready(function() { $('div.section1 h1').attr('id', 'section1'); $('div.section2...

Firefox crashes when a websocket call answered

firefox,websocket,asterisk,sipml

Finally I solved my issue with Google Chrome 43, I didn't want to use it but I had it coming.

how to unbind/prevent context menu by keybord (key #93) with FF?

javascript,firefox,events,contextmenu,unbind

After checking for a while, I've been headed to another question similar to this one, but with a very different matter. In any case, since the problem is the context menu, you don't even need jQuery for such, and the solution (despite it WON'T always work in firefox because the...

Trouble with navbar brand css in Firefox

html,css,twitter-bootstrap,firefox

This is because of the padding of .navbar-brand, as stated in the bootstrap docs Since the .navbar-brand has its own padding and height, you may need to override some CSS depending on your image. Furthermore your following css declaration seems to cause the problem in Firefox: .navbar-brand img { margin-top:...

Cannot change image height in Firefox when loading image from css

html,css,css3,firefox

From https://css-tricks.com/almanac/properties/c/content/ Image div::before { content: url(image.jpg); } This is literally an image on the page like would be. It could also be a gradient. Note that you cannot change the dimensions of the image when inserted this way. But just at this point they're offering the solution: You could...

How to access second element using relative Xpath

firefox,xpath,selenium-webdriver,selenium-ide,robotframework

You can use this. This would select the anchor descendants of section and get you the second node. This works with xslt processor, hope this works with Selenium //section[@id='mysection']/descendant::a[2] ...

Firefox dropdown menu click

html,firefox,select,drop-down-menu

Why is your code surrounded by an a-Tag (<a href=""></a>) ? If you click on the content (e.g. your dropdown) the href="" reload the page. Remove the a or change href="" to href="#".

firefox extension: intercepting url it is requesting and blocking conditionally

javascript,firefox,firefox-addon,firefox-addon-sdk

you can have a look at the source of those addons https://addons.mozilla.org/en-us/firefox/addon/blocksite/?src=search https://addons.mozilla.org/en-us/firefox/addon/url-n-extension-blockune-bl/?src=search or use service observer with nsIHTTPChannel for fast handling const { Ci, Cu, Cc, Cr } = require('chrome'); //const {interfaces: Ci, utils: Cu, classes: Cc, results: Cr } = Components; Cu.import('resource://gre/modules/Services.jsm'); Cu.import('resource://gre/modules/devtools/Console.jsm'); var observers = { 'http-on-modify-request':...

Error message “firefox doesn't work anymore”

firefox,selenium,selenium-webdriver

I've experienced firefox crashes on Mac OS X when used Firefox 38 with selenium 2.45. There are compatibility issues between the two. You have two options: downgrade Firefox to 35.0.1, direct link (latest supported by 2.45) upgrade your selenium language bindings to 2.46 ...

Vimperator - reload plugin

firefox,plugins,vimperator

Vimperator doesn't seem to have a reload command for plugins. The closest command would be :loadplugins which will load any unloaded plugins. If you can find a way to unload a plugin, possibly with Javascript, you should be able to use this to reload it. UPDATE: You can use the...

tag not working on Mozilla Firefox and IE … changing the slash doesn't work for me

html,image,google-chrome,firefox

Try Add file:/// at the beginning of the path.

Why does the expiration date of the request cache lie in the past?

firefox,caching,firebug

If the Expires header is set to 0, the browser interprets it as 1 January 1970, which relates to the Unix time aka POSIX time. Because this date lies in the past, this means that the request is not cached. The Expires header is defined within RFC 7234, which includes...

SVG data image not working on Firefox

css,image,firefox,svg,data

The # character in a URL is reserved to indicate the start of a fragment identifier. You must URL encode the data URL contents, which means converting any hash characters in the data URL to %23...

How do I use Glimpse to find out what is causing my ASP.NET MVC application to hang?

javascript,jquery,asp.net-mvc,firefox,diagnostics

Based on what you're describing, the problem appears to be client side. With that said, Glimpse may not be as well-suited as using Firefox's own profiler. SHIFT+F5 will bring up the web developer performance screen. From there, you can begin/end a performance analysis and gain more insight into what may...

Jquery not working while browsing with Firefox

javascript,jquery,firefox

You didn't pass event argument try like this $("#cart").click(function(event) { // now put your code here } ...

Show Firefox OS devtools on Firefox Developer Edition 'desktop'

firefox,firefox-os,gecko,firefox-developer-tools,firefox-developer-edition

When you connect your phone, you have to accept remote debugging. Then on the left of the window, you should see a dropdown menu with the apps that you can debug. By default, you can only debug unprivileged applications. Click on the app, the you want to debug and in...

Receive message from main.js in Firefox add-on content script

javascript,firefox,firefox-addon,firefox-addon-sdk

Facepalm. The code from content-script.js was wrapped in a jQuery event handler, so self.port.on() couldn't listen properly. Here is the working code--first, main.js: var pageMod = require('sdk/page-mod'); var self = require('sdk/self'); var ss = require('sdk/simple-storage'); pageMod.PageMod({ include: 'example.com', contentScriptFile: self.data.url('content-script.js'), onAttach: function(worker) { worker.port.on('getSetting', function(request) { var settingValue = ss.storage[request];...

Can CSS identifiers begin with two hyphens?

css,css3,firefox,css-selectors,identifier

Standard Effectively, a change in CSS Syntax Module now allows identifiers to start with two hyphens: 4.3.9. Check if three code points would start an identifier Look at the first code point: U+002D HYPHEN-MINUS If the second code point is a name-start code point or a U+002D HYPHEN-MINUS, or the...

How do you close the DOM Properties window in Firefox Developer Edition?

firefox,firefox-developer-tools,firefox-developer-edition

The feature you're referring to is called the "split console." You have it toggled on currently. It will show when a tab other than the console is selected. You can click in the split console, or command+alt+k on OSX, and hit escape to close it, or click on the console...

getElementById returns null in Mozilla Firefox [closed]

javascript,html,firefox,mozilla

The property .innerText is not supported by Firefox. I have added the code you were referring to below so others can have a better sense of context on what is being discussed. function UF_FC_OIST() { var rd1 = "BUTTON_GROUP_ITEM_3_btn0_acButton"; if (document.getElementById(rd1)) { var valrd1 = document.getElementById(rd1); valrd2 = valrd1.innerText; //...

Date.toString() not converting hours to proper timezone in Firefox

javascript,django,date,datetime,firefox

Rather than use ISO 8601 timestamps, you can use RFC 2822 timestamps. Both Django and javascript's Date.parse() are compatible with this, and both Chrome's and Firefox's implementation work the same way with it. The only change that needs to be made is in the Django template that renders the timestamp...

Flex inside flex doesent work in Firefox 38

css,firefox,flexbox

The problem is that .jaw are flex items, and you use .jaw { padding-top: 2%; padding-bottom: 5%; } In CSS 2.1, percentages in padding were specified as The percentage is calculated with respect to the width of the generated box's containing block, even for 'padding-top' and 'padding-bottom'. However, in Flexible...

Need help finding a bug with jquery $(document).ready() not working properly in firefox

javascript,jquery,firefox,wamp,document-ready

Ok, so I figured out what was wrong. It turns out that my css actually had the .less extension so it was getting parsed by less.js for roughly 16ms which delayed the initial styles past the point where firefox was executing the $(document).ready(). Changing it to .css fixed the problem....

Firefox CSS transition fails in conjunction with jQuery prop() on placeholder

jquery,css,firefox

To update placeholder property "correctly", you need to add .blur() at the end of .prop or .attr statement. And in this case you also need to call the .addClass and .removeClass after set placeholder. JavaScript: $('#select').on('change', function () { if (this.value == 'short') { $('#input').prop('placeholder', 'Type there...').blur().addClass('short'); $('#input2').addClass('short').prop('disabled',false); } else...

Creating a firefox script to close all but one tab?

firefox,greasemonkey

You can't do this, for the same reason that a random webpage can't: it would be a security nightmare. A given page can only control itself and its children.

How to run a Selenium NUnit test using Windows Authentication with Firefox?

firefox,selenium,selenium-webdriver,windows-authentication,iis-express

Duh. I was editing the wrong applicationhost.config. On a 64-bit OS the relevant config file is C:\Program Files\IIS Express\AppServer\applicationhost.config (not C:\Program Files (x86)\IIS Express\AppServer\applicationhost.config which to my misfortune also exists). Therein, I have enabled Windows Authentication and disabled Anonymous Authentication. Then Firefox started asking for credentials, and then I could...

Magnific Popup position bug

google-chrome,firefox,position,magnific-popup

In order to stop this behaviour just add this CSS: .image-popup { display:none; } .hover-container:hover .image-popup { display:inline-block; } ...

Errors in Firefox Add-on SDK when using cfx xpi whereas cfx run works great

javascript,firefox,firefox-addon-sdk

(Not technically an answer but SO won't let me comment.) You could try cfx run, then uninstalling the addon from the FF session it opened, then installing the xpi in that same session by doing a file open of the xpi (which will install it). Have a feeling it will...

Can I put a button on the tab header using Firefox Add-on?

javascript,firefox,firefox-addon

The short answer to this is: "Yes." Firefox add-ons have the ability to have almost complete control of the user interface. In this instance, the first level of XUL content that you would want to look at is contained in chrome://browser/content/browser.xul. This file is contained within the omni.ja archive in...

Unknown property 'zoom'. Declaration dropped

css,firefox

The zoom property is not supported in Firefox. Use the following instead: transform: scale(x); ...

How to display red borders on required or invalid value input element in Chrome just like Firefox behaviour for HTML5 validation?

css,html5,google-chrome,firefox

You use the :valid pseudo class. To shamelessly copy the code from https://developer.mozilla.org/en-US/docs/Web/CSS/:valid: input:invalid { background-color: #ffdddd; } form:invalid { border: 5px solid #ffdddd; } input:valid { background-color: #ddffdd; } form:valid { border: 5px solid #ddffdd; } input:required { border-color: #800000; border-width: 3px; } <form> <label>Enter a URL:</label> <input type="url"...

iMacro's !LOOP from command line

javascript,bash,loops,firefox,imacros

As Shugar pointed out, the only solution is to use javascript. The scripting interface the comes with iMacros Browser is different from the built in JavaScript interpreter in Firefox iMacros. The iMacros Browser only works on windows, so its a bummer for linux users, yet the Firefox add-on is universal....

xul overlay for new menu in TB/Firefox main menubar

firefox,firefox-addon,overlay,xul

You need the menubar id, which is main-menubar and also your missing the menupopup. I have not tested, but this looks right to me: <menubar id="main-menubar"> <menu id="test-menu" label="TEST" accesskey="d"> <menupopup id="test-popup"> <menuitem id="example-item2" oncommand="alert('Hello!');" label="TEST" accesskey="i"/> </menupopup> </menu> </menubar> If your trying to find the id of things like...

Exact solution to keep cookie after closing firefox

firefox,cookies

From here To summarize: In case you are using "Clear history when Firefox closes": do not clear Cookies do not clear Site Preferences Clearing cookies will remove all specified (selected) cookies including cookies that have an allow exception. Tools > Options > Privacy: History: [X] Clear history when Firefox closes...

php output system() in real time

php,firefox,buffer

You can not do it this way. your php request is running once and retrun one response. Also the result of system function is shown at the end of the execution of your command. What you see in your command line is only the logs of command it self not...

ObjCreate with Firefox in AutoIt

object,firefox,autoit

First you need to download Mozilla ActiveX control. Example usage code: #include <GUIConstants.au3> $oFF = ObjCreate("Mozilla.Browser.1") ; Create a simple GUI for our output GUICreate ( "FF Embedded Web control Test", 640, 580,(@DesktopWidth-640)/2, (@DesktopHeight-580)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS) $GUIActiveX = GUICtrlCreateObj ( $oFF, 10, 40 , 600 ,...

How to disable firefox's reader view from my website?

firefox,website,reader,firefox-reader-view

There is currently no legit way of disabling Reader View for your website. Reader View is supposed to automatically detect on what pages it should be available and on what pages it should not. If there is an issue with your website, your best option is probably to report it...

Is there anyway to save javascript breakpoints in firefox?

javascript,firefox,breakpoints

Just place "debugger;" in the place where you want breakpoints. After you are done programming, remove any "debugger;" so it doesn't go in production. Edit: "debugger;" is a keyword that triggers a breakpoint in the browser's JS machine....

i have developed website and the issue is that same version of firefox shows different design on different computers while other browsers were fine?

css,firefox,firefox-developer-tools,html5-apps

in Mozilla Firefox font rendering and line height rendering of the font differ between devices and automatically calculated so it differs between devices. the solution was to set Static Constant line height for all html elements and forcing this change. CSS StyleSheet Change: @import "amiri_font/amiri.css"; *{ font-family: AmiriWeb, 'Amiri QuranWeb',...

Google maps not working in Firefox (gray box)

javascript,google-maps,firefox,google-maps-api-3

innerText is not supported in Firefox. references: 'innerText' works in IE, but not in Firefox W3C DOM Compatibility - HTML ...

Firefox and SSL pages - takes very long on certain sites [closed]

firefox,ssl,browser,ssl-certificate

Don't know why, but I removed the file cert8.db from within the profile folder, now it works again.

Firefox 37 throwing error when trying to add microphone volume control for WebRTC audio context

firefox,webrtc,html5-audio,audiocontext

Shouldn't you use this for microphone? var microphone = audioContext.createMediaStreamSource(); instead of this var microphone = audioContext.createMediaStreamDestination(); A microphone is not a destination. It is a source....

code executed in wrong order in Firefox with setTimeout after alert

javascript,firefox,settimeout,alert

This is a bug. The HTML5 specification doesn't allow event handlers to fire while an alert is being shown: Section 6.1.4 defines the event loop. In 6.1.4.2 this section also helps provide some guarantees about the order in which events are fired (point 1 of the event loop algorithm) and...

How to call the console debug pannel in firefox addons

javascript,windows,firefox,hotkeys,add-on

Here is how to open the console pannel var win = event.target.ownerDocument.defaultView; win.gDevToolsBrowser.selectToolCommand(win.gBrowser, "webconsole"); Also possible with HUDConsoleUI.toggleBrowserConsole(); ...

How Does Firefox Reader View Operate (FF version 38.0.5)

javascript,firefox,firefox-reader-view

You need at least one <p> tag around the text, you want to see in Reader View and at least 516 characters in 7 words inside the text. for example this will trigger the ReaderView: <body> <p> 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789...

Selenium Firefox webdriver does not adopt profile

python,firefox,selenium-webdriver

I have found the answer. (It took me for a day at work) fp = webdriver.FirefoxProfile() ... set your profile attributes pf.update_preference() #the answer I think it's important to paste this line at the end of profile definition. Selenium API should put this line into their documentation....

css overflow-y:auto not working in firefox and chrome

javascript,html,css,css3,firefox

I'm not an SVG expert, i never used it, but seems SVG doesn't change height. If you set height to the SVG it works: http://jsfiddle.net/u5ymhmht/7/ The practical solution in your js when you add a line, add height of the line to SVG. p.s. Sorry for the previous misunderstanding. svg...

Detect tab url change inside firefox add-on

firefox,firefox-addon,firefox-addon-sdk

Use ProgressListener to be notified about location changes. To install a listener, convert SDK tab to its raw (old) representation using viewFor. Backward conversion is possible with modelFor and getTabForContentWindow. const tabs = require("sdk/tabs"); const {viewFor} = require('sdk/view/core'); const {modelFor} = require('sdk/model/core'); const {getBrowserForTab, getTabForContentWindow} = require("sdk/tabs/utils"); const {Ci, Cu}...

File types change into .xml while downloading in Firefox

c#,asp.net,firefox,firefox-addon,firefox-addon-sdk

Are you setting the MIME type to Response.ContentType correctly? E.g.: HttpContext.Current.Response.ContentType = "text/xml"; Also I remember Firefox having a problem with spaces in filenames - you had to escape them. So it might be your extension is getting cut off. But that was years ago, might not be relevant anymore....