HTML5 FileList empty in FireFox - firefox

I'm writing this HTML5 music player that works by dragging music files onto it. (will soon use WebRTC too)
http://pepijndevos.nl/KjuMusic/
It works in Chrome, it used to work in Firefox, and still does on a friends Mac.
However, on my Xubuntu laptop, both with the default and the nightly Firefox, I get
FileList { length=0, item=item()}
when dropping one or more files. I'm not even sure anymore if this is a bug in my code, Firefox, or somewhere else in xfce.

Which file manager are you using? HTML5 Drag&Drop used to only work with Nautilus for a long time. As of this writing, PCManFM works as well, but Thunar still doesn't.
Current versions for future reference:
Thunar 1.6.3
PCManFM 1.1.1
Nautilus 3.8.2
There's also a Firefox Bugzilla entry regarding this problem: https://bugzilla.mozilla.org/show_bug.cgi?id=609284

Related

Firefox won't play iMacros via URL?

For the last week or so I've been developing an application to programmatically maintain some stuff online, to do so I need to launch iMacros from Firefox via Python.
Currently I am doing that in Python with this code, it has worked fine for a week:
firefoxpath = '"C:/Program Files (x86)/Mozilla Firefox//firefox.exe"'
macroCommand = firefoxpath + " imacros://run/?m=" + path_to_macro
subprocess.Popen(macroCommand)
There is some other stuff that cleans up processes in there and listens for errors too, but all that really matters right now is launching the macros
Today, after this worked for several hours of coding. I started getting this popup when attempting to launch via Python. (It's the popup Firefox gives when it doesn't know how to handle a file or URL).
Launch Application Popup:
It would seem that Firefox no longer thinks it can launch imacros files directly. However, the files play just find if you click "play" in the iMacros panel.
I've been troubleshooting for an hour and it doesn't seem like anyone online has had this problem before. Any ideas?
UPDATE:
I managed to get this working by completely reinstalling windows on the problem machine. Before doing that, I reinstalled firefox a number of times, tried a portable copy of firefox, deleted firefox's registry entries, disabled multi-process windows in FF, uninstalled all plugins one by one, and tried the same thing as a different user (both with and without admin).
None of that worked, if anyone in the future encounters this bug I recommend just reinstalling windows on the problem machine.
I was using
Windows 10
Firefox 54
iMacros for FF 9.0.3
Python 2.7
God speed to anyone else who encounters this.

Why got Firebug removed after updating Firefox to version 50?

After updating Firefox to version 50.0 my Firebug opens the default developer tools. The original Firebug doesn't work anymore.
I have always preferred Firebug as my default debugging tool. I want the original Firebug back in Firefox 50. How can I do that?
Firebug does not work anymore once multi-process Firefox (separate processes for the Firefox UI and the websites) is enabled. See the related post in the Firebug blog.
You may be able to reenable Firebug by setting the preferences browser.tabs.remote.autostart, browser.tabs.remote.autostart.1 and browser.tabs.remote.autostart.2 to false via about:config. Though at some point this preference will be removed.
So, you are advised to use the Firefox DevTools instead. I am writing a migration guide on MDN. Firebug features that are not in the DevTools are covered in a Firefox bug.
First remove new version of "firebug" and download old version of "Firebug(2.0.17)" from following URL:
https://addons.mozilla.org/en-US/firefox/addon/firebug/versions/
Uninstall Firefox completely including deleting the Mozilla folder within your APPDATA.
Then reinstall Firefox and add both Firebug and FireQuery.
After that everything should work as before.
You can also go on Help -> Troubleshooting Information -> Refresh Firefox and install Firebug through http://addons.mozilla.org/
For all the folks out there, there is a good news..!! Firebug works great on these two Mozilla based browsers.
Cyberfox & Palemoon
Both are forks of forefox that uses code before the implementation multi-process. Cyberfox uses the more recent code fork compared to Palemoon.
Both browsers are well maintained and updated regularly.
Cyberfox announced its death on March 2017 but its still actively maintained [as of Dec 2017] and I still get update.
Both browsers support cross platform windows / Linux, on Linux you should have 64 bit distro to use cyberfox. Palemoon on the other hand works great on both the bits.

Browser mode for Google Chrome to test compatibility of webapp

I'm developing a web app and want to make sure that it runs as intended on all major browsers. I've downloaded Chrome, Firefox, Opera, Safari and IE to test the app, but I want to make sure it works fine on previous versions of these browsers too.
I know I can download previous versions of Opera from here, and in IE I can select 'Browser Mode' from Developer Tools section.
Is there any way I can test my app on previous version of Chrome, FF and Safari?
I've never really had a problem with something not working in an older version of these browsers. The only compatibility checks I do are with older versions of IE. The reason is that a new version of IE changes a lot but the others come out with new versions so frequently and have automatic updating (you don't even notice it in Chrome) that not only is there (probably) not a significant change to the rendering engine from one version to the next, (pretty much) everyone using it is on the latest version anyway.
That being said, there are some websites that show you screenshots of how a page looks in various browsers.
Browser Shots comes to mind.
http://www.brokenkeyboards.com/btfm/
http://meineipadresse.de/netrenderer/
http://browsershots.org/

HTML5 .mov video not working on *some* Safari + Mac

I have embedded HTML5 video(s) in a site - http://dev.thejoint.com - where they work in Firefox, Chrome, IE9 (ahem, ahem) and Opera but not in Safari on some Macs. They even work in iPhone and Android.
On my iMac, it works fine. The .mov file even works on Windows + Safari combination, since we know we have to install Quicktime for that.
Worst part is, the video works in Safari browser directly - http://dev.thejoint.com/media1/jointsequence.mov - but not on the page where it has been embedded.
I have tried every possible thing with web.config and IIS to add the MIME types as well.
Hope someone has some insight, because this is the only things remaining in completing off the project.
On Windows, <video> only works in Safari if QuickTime is installed. I don't know if this affects Macs also, but it could be the cause.

Firefox 3.6 plugins fail on Mac?

I just upgraded my mac to Firefox 3.6, and now neither of my TIFF Viewing plugins work.
in 3.5, If I had Quicktime on, then I'd get the tiff, viewed through quicktime. If I had Quicktime disabled, but my own plugin, AcellViewTIFF enabled, then I would get ViewTIFF viewing the TIFF. Since I'm the author of ViewTIFF, That's how I had it most of the time.
After I upgraded to 3.6, if ViewTIFF is enabled, I just get a blank space. if ViewTIFF is disabled, no matter whether or not Quicktime is enabled, it goes straight to preview.
Has anyone seen this?
(This is programming related because I'm writing AccelViewTIFF, and if the framework for plugins changed, I need to fix it...)
Edit to add:
This is an NPAPI plugin, I've removed or commented out the main, so I don't think that this is a CFM plugin problem.
I looked at Mozilla's "basicplugin" (located in mozilla-1-9-1-f15a2686e9a6/modules/plugin/sdk/samples/basic/mac under the standard mozilla source) and it works. I compared all of my functions to the functions in BasicPlugin, and the only function that it has that I don't is the drawPlugin function, which appears to do the actual work. All equivalent functions have the same interface.
When I remove or disable AccelViewTIFF, Firefox downloads the image and gives it to preview. When I enabled it it does nothing. This tells me that Firefox IS seeing that I have a plugin, but it's not running it for some reason.
There are no errors either in Firefox's error console or in any of the console logs I can see...
any ideas?
For the record, the problem was that this is an OLD plugin that still uses Quickdraw routines. evidently, they didn't make it into 64b, and so they don't work in FF 3.6.
Lets hear it for progress.
Are you using Leopard or Snow Leopard?
TIFF files open fine with the QuickTime 7.6.3.0 plugin with Firefox 3.6.
Go to Firefox -> Preferences -> Applications. Search for "tif" and then you can choose how Firefox handles files with the image/tiff MIME type. Set it to the plugin of your choosing. QuickTime should work (is for me on Snow Leopard).

Resources