#StackBounty: #html5 #file #google-chrome #input #file-extension Input type=File "Accept" property does not work in Chrome?

Bounty: 100

Have been through quite some documentation but don’t seem to get this very basic thing working in Chrome.

<input type="file" accept=".jpg, .png"/>

The dialog that opens just shows “Custom Files” in the extension drop-down. See this Fiddle.

enter image description here

It only seems to work with a single extension specification. Also tried using some mime types to no avail.


Get this bounty!!!

#StackBounty: #google-chrome #ftp #winscp #protocol-handler Open ftp protocol in WinSCP from chrome

Bounty: 50

On a day to day basis I need to access various FTP servers. I have a ftp:// protocol link for each of them in our webinterface. Everytime I click them, Chrome opens them in a new tab in its built-in “FTP client” instead of WinSCP (the FTP client I’ve set in windows as the default ftp:// protocol handler).

How can I make chrome opening the ftp:// protocol in my systems default application? Why is this working with nearly every protocol but ftp:// by default?


Get this bounty!!!

#StackBounty: #google-chrome Filtering out groups in Google Chrome console?

Bounty: 100

In the Google Chrome Developer tools, I have output from the Google Analytics debugger extension that dumps too much output into my console.

enter image description here

I am aware that there is a filter to allow you to filter messages. However, a large part of what the Google Analytics debugger outputs are statements enclosed by console.group and console.groupend.

Second image showing filtered console

enter image description here

As you can see, while a bunch of text inside the collapsed groups is hidden, the groups themselves are not, and there are currently a few hundred of those that are making it difficult for me to find my debug messages

While I can use the filter to filter out the text in the group, is there a way to filter out the group bars as well?


Get this bounty!!!

#StackBounty: #linux #google-chrome #bash #root #ubuntu-server On ubuntu server: run Chrome as a different user (not root) not working

Bounty: 50

[I’m a newbie, so tx for the patience]

I tried to run chrome on an ubunto server and got this:
root@stender:/opt/google/chrome# ./chrome.....ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported

I tried to add a user with:
useradd chrome3

Got no reply (might as well worked)

Then I tried:
gksu -u chrome3 google-chrome

But I got this error:

-bash: gksu: command not found

Please help!!!


Get this bounty!!!

#StackBounty: #google-chrome Getting current information about Chrome app

Bounty: 50

On Windows 10, I have a number of web pages for which I used the “Add to desktop…” option in Chrome settings to have them start as ‘applications’ which I have pinned to the Taskbar:

enter image description here

enter image description here

When I say ‘application’, it’s really just a separate Chrome window with no address bar or other browser-related identifiers, so it feels like its own application. But under the covers, it’s just a Chrome browser window, really.

So now I can click on a link in my Taskbar and this opens as its own window, which I really like, since I use this for some work-related stand-alone stuff, which I want to keep separate from my other browser tabs:

enter image description here

However, if I navigate within this ‘application’ by clicking on links etc., since there is no address bar, is there any way to determine the URL of the current page? I can’t right-click on the page


Get this bounty!!!

#StackBounty: #windows-10 #google-chrome #crash #troubleshooting When I open Google Chrome on Windows 10, it crashes the system almost …

Bounty: 50

TL;DR

When I open Google Chrome on Windows 10, it crashes the system almost instantly.

In detail: My laptop stops responding (freezes) and I can hear louder cooling (supposedly higher CPU usage due to system dump generation). Then, I long press the power button.

All other installed browsers (Edge, Internet Explorer, Firefox) work OK.

How can I debug this?

Long version

I haven’t used Windows in a month or so.

I work on Linux, but I have a Windows 10 too for Blu-ray playback mostly.

Current Windows 10 version:

1709 (OS Build 16299.248)

I have just manually installed the latest update from Microsoft Update Catalog:

windows10.0-kb4058258-x64_69f87cf7f2ea83509d5e61ba2d525a103a6d64f9.msu

The installation was successful, although the problem persists.

I have also manually downloaded an updated version of Google Chrome and successfully installed it:

64.0.3282.140 (Official Build) (64-bit)

I have also disabled Fast startup by setting the following registry key to 0:

ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerPowerHiberbootEnabled

And checked the file system with:

chkdsk c: /f

How can I debug this?


EDIT1:

Crash Dump I managed to view in Visual Studio 2015

I tried Anonymous mode, the same result. Strange is, after some boot, it does not crash. I’m confused and irritated.


EDIT2:

I have just turned on DEP not only for services but for everything:

Data Execution Prevention

It didn’t have any effect, just tried it. Leaving it enabled.


EDIT3:

I cannot switch user profile, as it crashes instantly my OS. Though, I tried Anonymous mode, with the same result.


EDIT4:

I ran these commands with all good results, no corruption detected and such, from PowerShell:

DISM.exe /Online /Cleanup-Image /ScanHealth
DISM.exe /Online /Cleanup-Image /CheckHealth
DISM.exe /Online /Cleanup-Image /RestoreHealth

Afterward, I have scanned the OS with SFC utility for any violations. Again, no result.

C:WINDOWSsystem32> sfc /scannow
Beginning system scan.  This process will take some time.
Beginning verification phase of system scan.
Verification 100% complete.
Windows Resource Protection did not find any integrity violations.

EDIT5:

As of this moment, I am scanning my system with ESET Smart Security Premium, which I had installed since the system has been started using time-to-time, I have an SSD and a HDD, I will report back.

EDIT6:

I am still in progress with ESET, but I have finished scan with SpyBot 2.6 Free edition, with no results, tracks only. I had this software installed since the same time I use Windows 10 with ESET too.

EDIT7:

ESET did not find any malware. I am now up to running VIPRE Rescue over night in safe mode. Will get back to you tomorrow with results.


Get this bounty!!!

#StackBounty: #java #google-chrome #video-streaming #html5-video render video stream as partial content rather than full stream to chrome

Bounty: 100

We currently submit a video playback request to back end server the sends the full stream as inputstream to be played back in the browser(window). This works fine but has an added complication in that the seek function does not work in chrome. The suggested solution is to tell the webserver that it needs to accept a byte range and then deliver the stream in partial byte ranges. I am not sure if this will resolve the situation but my question is how to return the stream in byte ranges considering the following is the way it is done now:

    InputStream is= null;
    is = new FileInputStream(ndirectoryFile);

    ....
    //(calling class request)
    stream = videoWrapper.getVideo(id, address);

If I read the file in byte ranges, do I just loop through the file but how do I send the response:

InputStream is = new ByteArrayInputStream(new byte[] { 0, 1, 2 }); 
ByteArrayOutputStream buffer = new ByteArrayOutputStream();
int nRead;
byte[] data = new byte[1024];
while ((nRead = is.read(data, 0, data.length)) != -1) {
    buffer.write(data, 0, nRead);
}

buffer.flush();
byte[] byteArray = buffer.toByteArray(

The initial inputstream gets passed to quite a few classes along the way prior to sending the final response. Any ideas please.

EDIT:

I would like to just understand the html5 video issue with chrome. There are quite a few posts on setting the server response headers to include Accept-Ranges=, Content-length= , Content-Range= and this would tell chrome to download the byte range which will then allow seek feature to work. As the video playback seek works in firefox I should not have to change how I deliver the stream or would I? Would I still have to submit partial ranges of the video from the server? and how?


Get this bounty!!!

#StackBounty: #google-chrome #dropbox Dropbox no longer starts

Bounty: 50

I have dropbox installed on my ubuntu machine, which is running Ubuntu 16.04, and it has worked fine until a few days ago, when I ran some upgrades through sudo apt-get upgrade, rebooted, and now dropbox no longer starts.

If I run dropbox start, I get the following:

Starting Dropbox...dropbox: locating interpreter
dropbox: logging to /tmp/dropbox-antifreeze-gPhIu8
dropbox: initializing
dropbox: running python 2.7.11
dropbox: setting program path '/home/pascaltitle/.dropbox-dist/dropbox-lnx.x86_64-42.4.114/dropbox'
dropbox: setting home path '/home/pascaltitle/.dropbox-dist/dropbox-lnx.x86_64-42.4.114'
dropbox: setting python path '/home/pascaltitle/.dropbox-dist/dropbox-lnx.x86_64-42.4.114:/home/pascaltitle/.dropbox-dist/dropbox-lnx.x86_64-42.4.114/python-packages-27.zip'
dropbox: python initialized
dropbox: running dropbox
dropbox: setting args
dropbox: applying overrides
dropbox: running main script
dropbox: load fq extension '/home/pascaltitle/.dropbox-dist/dropbox-lnx.x86_64-42.4.114/cryptography.hazmat.bindings._constant_time.so'
dropbox: load fq extension '/home/pascaltitle/.dropbox-dist/dropbox-lnx.x86_64-42.4.114/cryptography.hazmat.bindings._openssl.so'
dropbox: load fq extension '/home/pascaltitle/.dropbox-dist/dropbox-lnx.x86_64-42.4.114/cryptography.hazmat.bindings._padding.so'
dropbox: load fq extension '/home/pascaltitle/.dropbox-dist/dropbox-lnx.x86_64-42.4.114/psutil._psutil_linux.so'
dropbox: load fq extension '/home/pascaltitle/.dropbox-dist/dropbox-lnx.x86_64-42.4.114/psutil._psutil_posix.so'
dropbox: load fq extension '/home/pascaltitle/.dropbox-dist/dropbox-lnx.x86_64-42.4.114/linuxffi.pthread._linuxffi_pthread.so'
dropbox: load fq extension '/home/pascaltitle/.dropbox-dist/dropbox-lnx.x86_64-42.4.114/tornado.speedups.so'
dropbox: load fq extension '/home/pascaltitle/.dropbox-dist/dropbox-lnx.x86_64-42.4.114/cpuid.compiled._cpuid.so'
dropbox: load fq extension '/home/pascaltitle/.dropbox-dist/dropbox-lnx.x86_64-42.4.114/linuxffi.resolv.compiled._linuxffi_resolv.so'
dropbox: load fq extension '/home/pascaltitle/.dropbox-dist/dropbox-lnx.x86_64-42.4.114/posixffi.libc._posixffi_libc.so'
dropbox: load fq extension '/home/pascaltitle/.dropbox-dist/dropbox-lnx.x86_64-42.4.114/librsyncffi.compiled._librsyncffi.so'
dropbox: load fq extension '/home/pascaltitle/.dropbox-dist/dropbox-lnx.x86_64-42.4.114/linuxffi.sys.compiled._linuxffi_sys.so'
dropbox: load fq extension '/home/pascaltitle/.dropbox-dist/dropbox-lnx.x86_64-42.4.114/PyQt5.QtWebKit.so'
dropbox: load fq extension '/home/pascaltitle/.dropbox-dist/dropbox-lnx.x86_64-42.4.114/PyQt5.QtCore.so'
dropbox: load fq extension '/home/pascaltitle/.dropbox-dist/dropbox-lnx.x86_64-42.4.114/PyQt5.QtNetwork.so'
dropbox: load fq extension '/home/pascaltitle/.dropbox-dist/dropbox-lnx.x86_64-42.4.114/PyQt5.QtGui.so'
dropbox: load fq extension '/home/pascaltitle/.dropbox-dist/dropbox-lnx.x86_64-42.4.114/PyQt5.QtWebKitWidgets.so'
dropbox: load fq extension '/home/pascaltitle/.dropbox-dist/dropbox-lnx.x86_64-42.4.114/PyQt5.QtWidgets.so'
dropbox: load fq extension '/home/pascaltitle/.dropbox-dist/dropbox-lnx.x86_64-42.4.114/PyQt5.QtPrintSupport.so'
Dropbox isn't running!
Done!

Furthermore, if I launch the Dropbox app, the icon appears in the dock, blinks a few times, and then disappears, with no apparent effect. If I remember right, when I first installed dropbox, the icon would blink, and a dropbox login page would load via Google Chrome. But that is not happening now. I can open Chrome and log in to dropbox via the web, no problem.

Any suggestions?


Get this bounty!!!