Originally posted by **jc3213** October 12, 2023
```html
```
我收到反馈,右键菜单下载上述元素的时候,会发生优先下载链接——即`a`的`href`属性,而当`a`不存在`href`属性时才会下载图片。
这样当特定情况下想下载图片而不是链接的时候无法工作。这样的话我考虑分离这个混合功能,针对图片,链接,分别做一个菜单,此时加上“下载所有图像”这个菜单,存在3个菜单。因此我考虑修改菜单的布局。 一个主菜单,三个子菜单。由于Edge会自动折叠干脆手动修改,这样能缩短子菜单的字符数量。
I've got some suggestion that if use `Download this with Aria2` contextmenu, It will download url rather than image in the sample above. The extension only download image when the `href` attribute for `a` is not exist
I've decided to rework the contextmenu, make a main menu, three sub menu, since Microsoft Edge make contextmenu cascade d automatically. This will also have less characters for sub menus.
Discussed in https://github.com/jc3213/download_with_aria2/discussions/75