Closed
Bug 173111
Opened 22 years ago
Closed 13 years ago
Add "Remove Image" command to Image context menu
Categories
(SeaMonkey :: UI Design, enhancement)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: bjv, Assigned: samir_bugzilla)
Details
(Whiteboard: [extension fodder])
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 MultiZilla/v1.1.22 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 MultiZilla/v1.1.22 Just a new feature request. I'd like to see the right click context menu on an image provide a "remove image" feature. To be more explicit, the image would be replaced with its alternate text. I find blinking images annoying and blocking images from a server is too hard to manage (frequently the block should just be temporary). I think a simple alt or control click or a right click context menu could be implemented to stop the blinking or remove the image. I've used bookmarklets to remove images but unfortunately, they remove everything (maybe if I could test an image from js to see if it was animated would solve that). I've prototyped this by adding a menuitem to contentAreaContextOverlay.xul and some code to nsContextMenu.js. The code was really simple. To finish the work, the appropriate message DTDs would have to be changed to have a label and an access key (or not). Here's the code I wrote: contentAreaContextOverlay.xul: <menuitem id="context-removeimage" label="Remove Image" accesskey="" oncommand="gContextMenu.removeImage();"/> nsContextMenu.js: Add to initSaveItems or initViewItems this.showItem( "context-removeimage", this.onImage ); Add function // Remove the image from the document removeImage : function () { var altText; altText=this.target.ownerDocument.createTextNode(this.target.alt); this.target.parentNode.replaceChild(altText, this.target); }, Reproducible: Always Steps to Reproduce:
Reporter | ||
Updated•22 years ago
|
OS: Windows 2000 → All
Comment 1•22 years ago
|
||
To XP Apps
Comment 2•21 years ago
|
||
My "Nuke Image" extension does exactly this: http://ted.mielczarek.org/code/mozilla/nukeimage.xpi I don't see why it ought to be standard in the browser though. If you're feeling particularly violent, there's "Nuke Anything" which lets you remove just about anything you can right click on: http://ted.mielczarek.org/code/mozilla/nukeanything.xpi
Reporter | ||
Comment 3•21 years ago
|
||
It was well over a year ago that I logged this enhancement request. Since that time, I stumbled over your extension on mozdev and have used it frequently. Thanks for creating it. It matters not to me whether it ultimately lives in the browser or is installed via an extension.
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
Comment 4•15 years ago
|
||
MASS-CHANGE: This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state. If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way. If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar). If no action happens within the next few months, we move this bug report to an EXPIRED state. Query tag for this change: mass-UNCONFIRM-20090614
Status: NEW → UNCONFIRMED
Comment 5•15 years ago
|
||
MASS-CHANGE: This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state. If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way. If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar). If no action happens within the next few months, we move this bug report to an EXPIRED state. Query tag for this change: mass-UNCONFIRM-20090614
Comment 6•15 years ago
|
||
MASS-CHANGE: This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state. If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way. If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar). If no action happens within the next few months, we move this bug report to an EXPIRED state. Query tag for this change: mass-UNCONFIRM-20090614
Comment 7•14 years ago
|
||
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 8•13 years ago
|
||
WONTFIX. This is extension fodder. The following existing extensions have functionality that covers this: 1. Nuke Anything Advanced. 2. R.I.P. (Remove It Permanently) 3. Adblock Plus.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
Whiteboard: [extension fodder]
You need to log in
before you can comment on or make changes to this bug.
Description
•