swfupload not working under IE anymore - swfupload

http://demo.swfupload.org/v250beta2/simpledemo/index.php doesn't seem to work in IE any more. Is there a fix for this?
I get a red cross instead and the 'button' is not clickable.
I'm running IE 8.

I could reproduce the problem with IE9 running on Windows 7, but only on virtual machines. Anyway, I was able to apply a quick'n'dirty to fix the problem by patching swfupload.js (v2.2.0), somewhere around line 230, thanks to this post.
SWFUpload.prototype.getFlashHTML = function () {
// Flash Satay object syntax: http://www.alistapart.com/articles/flashsatay
// ADD THESE LINES -->
var iefix = '';
if(navigator.userAgent.search(/MSIE/) > -1){
iefix = 'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';
}
// MODIFY THIS LINE: (add ' + iefix + ')
return ['<object ' + iefix + ' id="', this.movieName, '" type="application/x-shockwave-flash" data="', this.settings.flash_url, '" width="', this.settings.button_width, '" height="', this.settings.button_height, '" class="swfupload">',
'<param name="wmode" value="', this.settings.button_window_mode, '" />',
...
Seems that a very similar fix might help for 2.5.0.
EDIT: it seems that this fix wasn't enough for some VM's that have an IE add-on called "VMware Adobe Flash Optimizer" enabled. For some reason, the optimizer turns the Flash movie to a white box (which is actually clickable if you know to click it).
The bad news is that I found no way to detect or disable the presence of the optimizer add-on in my code. So I can't be sure whether the user actually sees the button or only a white box. I found no good workaround, only added a fallback link to a non-Flash uploading form.

It is not only you who has the problem. It is also on the swfuploader website itself. Take a look: http://demo.swfupload.org/v220/simpledemo/index.php

You may have an add-on that is getting in the way. Try running IE 8 in "No Add-Ons" mode. From http://support.microsoft.com/kb/936213:
"Method 3: Run Internet Explorer in "No Add-Ons" mode
Internet Explorer add-ons, such as ActiveX controls and browser toolbars, are used by some Web sites to provide an enhanced browsing experience. An error may occur if an add-on is damaged or if an add-on conflicts with Internet Explorer. To determine whether the error is caused by an add-on, run Internet Explorer in "No Add-Ons" mode. To do this, follow these steps:
Click Start, and then type Internet Explorer in the Start Search box.
Click Internet Explorer (No Add-Ons). Internet Explorer opens without add-ons, toolbars, or plug-ins.
Test Internet Explorer to verify that it works correctly. If issues still occur, try Method 4.
If no errors occur, the problem is caused by one of the add-ons that typically load together with Internet Explorer. In this case, use one of the following options.
Option 1: Reset Internet Explorer
Reset Internet Explorer to its default configuration. This step will also disable any add-ons, plug-ins, or toolbars that are installed. Although this solution is quick, it also means that, if you want to use any of those add-ons in the future, they must be reinstalled. To reset Internet Explorer settings, use Method 4.
Option 2: Use the Manage Add-ons tool to determine which add-on is causing the issue
Use the Manage Add-ons tool in Internet Explorer to individually disable each add-on to determine which add-on is causing errors. To do this, follow these steps:
Internet Explorer 8
Open Internet Explorer 8.
Click Tools, and then click Manage Add-ons.
On the Show drop-down menu, select All add-ons to display all add-ons that are installed on the computer.
For each item in this list, select the add-on, and then click Disable in the Information window.
When you have disabled all the items in this list, click OK.
Exit and then restart Internet Explorer.
If issues do not reoccur, repeat steps 1 through 3.
Click Enable for a single add-on.
Repeat steps 6 through 8 until you determine which add-on causes errors to occur.
After you have used this process to determine which add-on is causing errors, you can disable that add-on. Or, you can uninstall the software that installs the add-on. We also recommend that you contact the software vendor that provided the add-on for additional troubleshooting and support."

Related

modified CSS3 codes working on IE, but not on Chrome

why does this happen? I'm using eclipse neon.1 and tried changing the color of the font in the CSS3 code and it worked on both internal browser and IE9, but not on chrome. I restarted the server a lot of times and even rebooted the computer but it still won't be applied on Chrome....
Right click on the text and go to inspect element, see if it shows newly applied style in styles section in developer tools. If not you may need to clear cache using Ctrl+Shift+Delete and reload the app.

How can I re-use the same Chrome Developer Tools Window for every tab/window?

I am very used to Mozilla Firefox - Firebug. When I use Firebug it isn't linked with a particular window, it changes when you switch window or tab so the Firebug instance always show the active window, html, css, javascript etc...
As I am e Web Developer I need to test a lot in different browsers. In Google Chrome the Developer Tools seems to have linked to it's own tab/window. Sometimes this is very helpfull because it allows you to compare 2 different html-trees or css in multiple Developer Tools windows. However can I re-use the Chrome Developer Tools like it will behave as Firebug does. With just 1 instance which automatically switch between source when I switch tabs or windows? I have searched for some option but could find it in somewhere. Is this even possible with Chrome Developer Tools?
I'm using OSX Yosemite and currently Google Chrome Version 43.0.2357.130 (64-bit).
Any help would be much appreciated! Thanks.
This is not supported. The best thing to do would be to file a feature request in the issue tracker. I doubt this kind of functionality would be implemented.
What DevTools does is store the settings locally, so the same settings persist between all opens. Each tab you wish to debug you need to explicitly open the DevTools for; these will all share the same settings and as they are changed in one instance it will populate to the others. This keeps the context from switching on-the-fly by just changing tabs and then losing your place.

IE11 F12 Developer Tools on Windows 7 functionality missing/not working?

I was using IE10 on Windows 7 but it is such a buggy piece of you-know-what (hanging, crashing, etc.) that I gave up and installed IE11. It has not hung or crashed since installing. But I hate the F12 developer tools! Okay, not completely - there are some very cool new features. What I don't like is that they seem to have dropped several features that I really liked! Unless I'm just missing something... I've searched and searched on Google and Microsoft but all of the help I've found only describes the new features. Here is what I'm missing: Color picker, Ruler, and most of all, the Clear browser cache for this domain. They allege to have a Clear browser cache function, but it doesn't work! So when I make changes to my website, in particular changing graphics, the only way I can see the change is to delete all my temporary files from IE. Then I lose all of my cookies e.g. for automatically logging in to Stack Overflow! IE version 11.0.9600.16428 on Windows 7 Ultimate 64-bit.
The color picker is still available, go to the DOM Explorer tab and there is an eye dropper on the tool bar at the top towards the left. That activates the color picker.
For the issue of serving cached files try toggling on "Always refresh from server" on the network tool (3rd option from the left). This should get you the latest changes from your server.

Which preference controls whether multiple selection is available to Package Explorer in Eclipse?

It used to be the case that if I selected two files (or directories) in Package Explorer, I could then right click and use Compare With -> Each Other.
Recently I have found that my workspaces now only allow either a single file or a contiguous range of file to be selected. In other words, Click...Shift+Click does what I expect, but Click...Ctrl+Click doesn't.
Since this works fine for colleagues working with exactly the same version of eclipse (we all module load the same Eclipse deployment) I have to assume that it is a preference of some kind.
Unfortunately, after having gone through the preferences page with a fine tooth comb, I can't see anything which might control this behaviour.
So, can anyone think of a reason why multi-selection may be failing or disables in my explorer, but not that of some of my colleagues?
Note I am working with Eclipse Juno, though I have seen this with previous versions too, on Red Hat Enterprise Linux 6, using the Gnome Desktop Environment.
After many attempts and many failures, I eventually managed to track down this problem.
It seems that if the Gnome preference "Show position of pointer when the Control key is pressed" is enabled† then multi-selection fails in Eclipse.
To fix it, I simply disabled "Show position of pointer when the Control key is pressed"†.
† On my Red Hat Enterprise Linux 6 installation this is located in: System > Preferences > Mouse > General tab, Locate Pointer section
The thing which finally gave my a hint was identifying that this was probably due to the same underlying problem as another I was having with the NoMachine NX client, where the nxclient wasn't passing Ctrl key presses to the remote end at all. See the bug report Enabling Gnome Accessibility option prevents "ctrl" key from being recognized in NX window
After my Eclipse Bugzilla account is created,
I have added a bug report for this problem to the Eclipse Bugzilla: Bug 417573

Are there more explicit commands/toolbars and feedback for Eclipse for Android?

I'm new to Eclipse. I may need a better understanding or a plugin that would provide me with features described below. While doing some Android development, and I while making changes to my code at one point Eclipse warned me that this emulator doesn't support hot-swapping and if I want to disconnect. I'm used to see status in either the toolbar or in some log from Visual Studio. Is there a way to see this feedback in Eclipse?
My problem is that there are quite much implicit stuff in eclipse I would like get feedback of and control, like whether I'm
connected or not to a device,
if I'm attached to a process on it or not with debugger,
some kind of build log with a timestamp so I know it happened,
the automatic uninstalling and installing of the project on the device
which project is "active" ("featured") in "Run" and "Debug" buttons/configurations
Is there a plugin that can give me explicit commands over these automatic features? Like a toolbar or command. What I would expect of this tool:
be able to indicate the current status (eg. currently connected or not)
gives me control to eg. connect
gives me control to eg. disconnect
Preferably on a toolbar, as I know some of these are available as menu commands.
Furthermore I tried to configure my toolbar by Window menu -> Customize perspective..., but pin-pointing the features I want made my Eclipse put empty space up for the buttons I disabled, and next time I got to the same config screen it got the checkboxes wrong and displayed some stuff active what was actually disabled.