Questions tagged [mozilla]

DO NOT USE THIS TAG, it is going to be removed. The Mozilla Foundation is a non-profit organization that exists to support and provide leadership for the open source Mozilla project.

DON'T USE THIS TAG, it is going to be burninated.

The Mozilla Foundation is a non-profit organization that exists to support and provide leadership for open source Mozilla projects.

Mozilla Firefox is a free, browser built by Mozilla Foundation and Mozilla Corporation, first released in 2002 as 'Phoenix', becoming 'Firefox' in 2004.

1724 questions
6
votes
2 answers

Silent install of the firefox addon

I am trying to install a firefox xpi silently through an msi installer. I am doing so by the following method: Unzip my xpi in some temp dir and copy all the contents of that to the…
Kapil
  • 572
  • 1
  • 5
  • 23
6
votes
4 answers

Why do mozilla and webkit prepend -moz- and -webkit- to CSS3 rules?

CSS3 rules bring lots of interesting features. Take border-radius, for example. The standard says that if you write this rule: div.rounded-corners { border-radius: 5px; } I should get a 5px border radius. But neither mozilla nor webkit implement…
kikito
  • 51,734
  • 32
  • 149
  • 189
6
votes
6 answers

-webkit- vs -moz-transition

I am using CSS3 transitions on my site and the -webkit- seems to be working, whilst the -moz- is not. Here is the CSS: article {z-index: 2; float: left; overflow: hidden; position: relative; -webkit-transition: -webkit-transform 0.2s ease-in-out;…
theorise
  • 7,245
  • 14
  • 46
  • 65
6
votes
3 answers

gulp autoprefixer doesn't add moz prefix

I am using gulp with autoprefixer in my project, and I have to use backgrounds gradient like this: background: linear-gradient(#e98a00, #f5aa2f); but output…
betmakh
  • 435
  • 4
  • 8
6
votes
3 answers

How can one download Mozilla's developer's documentation for offline reading?

Until recently, one could conveniently download Mozilla's developer's documentation, developer.mozilla.org.tar.gz, for offline reading. However, Mozilla seems to have upgraded the documentation to a new, SQL-based format, abandoning the old…
thb
  • 13,796
  • 3
  • 40
  • 68
6
votes
1 answer

How do I look under the covers and see how HTML is rendered?

For example: I know this gives me a button. But I also know that someone had to figure out how wide my text was, draw a button of the correct size, place my text in there...…
Stephano
  • 5,716
  • 7
  • 41
  • 57
6
votes
1 answer

How to obtain a dump of the Mozilla Developer Network site

What size is the entire Mozilla Developer Network site? api.jquery.com is about 40MB when downloaded via wget.
gnerkus
  • 11,357
  • 6
  • 47
  • 71
6
votes
2 answers

How do I update loggedInUser after onlogin in Mozilla Persona

I'm using Mozilla Persona on a project. I would like to update loggedInUser after onlogin. But loggedInUser is an attribute of an object passed to navigator.id.watch(). navigator.id.watch() was called once (in a AngularJS service). Should I call it…
slacktracer
  • 6,262
  • 6
  • 28
  • 33
6
votes
3 answers

Re-open pdf with pdf.js at the beginning of the document. Not last viewed position

The plugin saves the last position the document was in before it is closed and next time I open the document, it shows the document in this position. Example: I am seeing the middle of the second page. I close the document. I open it again and it…
Guilherme Longo
  • 2,278
  • 7
  • 44
  • 64
6
votes
1 answer

Program crashes if using JS_NewGlobalObject : SpiderMonkey

I am using the latest release of SpiderMonkey (js185-1.0.0.tar.gz) and when I am running the sample program which embeds Javascript, crashes the program The sample program is directly from the docs The program runs fine if I am using…
Ashwin
  • 1,942
  • 4
  • 30
  • 59
6
votes
2 answers

Object.create method in javascript

Being a beginner in javascript, i tried to understand Object.create() method from here https://developer-new.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object/create In the example code, line 18. A accessor property is created with…
John Eipe
  • 10,922
  • 24
  • 72
  • 114
5
votes
1 answer

C or C++ websocket client working example

I am new to C and C++. I am trying to find small working example for any websocket library in C or C++ that can connect to websocket server. So, far I have explored, uWebsockets, libwebsockets, websocketpp, and boost::beast. None of them seem to…
Michael Auten
  • 61
  • 1
  • 1
  • 3
5
votes
2 answers

javascript canvas.toDataURL changes compared to original data URI

I'm currently developing a mozilla extension, trying to load an image (PNG) which is encoded with a data URI, draw it on a canvas element, to finally change some pixels values and save it back as a file on disk. The strange thing I notice is that…
sagar38
  • 51
  • 1
  • 2
5
votes
1 answer

Modules and dynamic importing in Mozilla addon

I found a convenient way of turning my Chrome extension into modules (a lot easier to maintain etc.). I made it like this https://stackoverflow.com/a/53033388/9182284 (turning background.js into a module and then using dynamic import to get…
5
votes
2 answers

Clipboard.writeText() does'nt work on Mozilla & IE

Am using the following function to put some text to my clipboard: navigator.clipboard.writeText('Text to be copied').then(function() { console.log('Template copied to clipboard') }, function() { console.log('Unable…
deltaforce
  • 524
  • 1
  • 8
  • 25