New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 801041 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 794219
Owner: ----
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Can't drag and drop userscripts onto the extensions page

Reported by aesouza2...@gmail.com, Jan 11 2018

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36

Steps to reproduce the problem:
1. Drag and drop a userscript onto the extensions page (chrome://extensions after enabling "Developer" mode.
2. 
3. 

What is the expected behavior?
The userscript should be installed.

What went wrong?
I see 
"This extension may have been corrupted".
I can't click the "Enable" box.

Did this work before? Yes I can't remember exactly but it was working in May 2016 and several months thereafter.

Chrome version: 63.0.3239.132  Channel: stable
OS Version: Kubuntu 16.04
Flash Version: Shockwave Flash 28.0 r0

Drag and drop with the same userscripts still works with "chromium-browser 63.0.3239.84" available currently in the Ubuntu repositories.

I can install the userscripts successfully using Violentmonkey from the WebStore. But I'd rather not use an entension if there's a way to get Drag and Drop working.
 
KU_20180110_154835.png
85.2 KB View Download
Unable to reproduce the issue on reported chrome version 63.0.3239.132 and on the latest chrome version 65.0.3317.0 using Ubuntu 14.04 with the below mentioned steps.
1. Launched chrome reported version and checked the Developer mode check box in Chrome://Extensions
2. Drag and dropped the sample extension file in to Chrome://extensions
3. Extension added successfully without any error

@Reporter: Could you please check the screencast and let us know if we missed anything anything in reproducing the issue. Find the attached extension which we used for our testing, could you please provide the extension file that you are facing the issue, which helps us in further triaging the issue.

Thanks!
801041.ogv
3.2 MB View Download
Cc: viswatej...@techmahindra.com sc00335...@techmahindra.com
Components: Platform>Extensions
Labels: Needs-Feedback Triaged-ET Needs-Triage-M63
Thank you for responding.

First, to clarify, I want to add a userscript, *not* an extension.

Here is the text of the userscript, hide-images.user.js:

// ==UserScript==
// @name          Hide Images
// @namespace     MyScript
// @include       https://*/*
// @include       http://*/*
// @version       1
// @grant         none
// ==/UserScript==
var imgs = document.getElementsByTagName('img'); 
for (i=0; i<imgs.length; i++) 
      { imgs[i].style.visibility = 'hidden'; 
				}

All it does is to hide images on a page.

In the video clip Chromium-clip.mp4, this userscript installs successfully on with chromium-browser 63.0.3239.84 without needing to enable developer mode. I show it works on Google News. No images are displayed. On disabling the userscript, images are visible.

In the video clip Chrome-clip.mp4, the same userscript does not install successfully on with google-chrome-stable 63.0.3239.132.


Chromium-clip.mp4
952 KB View Download
Chrome-clip.mp4
515 KB View Download
Project Member

Comment 5 by sheriffbot@chromium.org, Jan 11 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "sc00335628@techmahindra.com" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
I tested the latest dev version and drag-and-drop works there. So I'll just wait till v65 is released as stable. Thanks!
Cc: proberge@chromium.org vamshi.k...@techmahindra.com
@proberge: Could you please confirm if this issue is related to https://bugs.chromium.org/p/chromium/issues/detail?id=794219.

Thanks!

Comment 8 by proberge@google.com, Jan 16 2018

Indeed, this is related to https://bugs.chromium.org/p/chromium/issues/detail?id=794219. For Linux, this was an unintended change and will be fixed in M64. 
Mergedinto: 794219
Status: Duplicate (was: Unconfirmed)
The issue seems to be related to issue id: 794219. Hence, merging into issue id: 794219.

Thanks...!!

Sign in to add a comment