kmc
kmc
管理员
管理员
  • UID165
  • 注册日期2004-11-25
  • 最后登录2024-08-29
  • 发帖数9187
  • 经验398枚
  • 威望1点
  • 贡献值124点
  • 好评度41点
  • 忠实会员
  • 终身成就
  • 社区居民
阅读:3154回复:3

Quick Drag (Super Drag;Go的演进版)

楼主#
更多 发布于:2009-04-08 19:17
作者:Kai Liu (也是惹来非议的FasterFox扩展的作者)
QuickDrag :: Firefox Add-ons
Extends the function of the drag-and-drop mouse gesture so that it can be used to load URLs, do a web search of selected text on a page, or save an image on a page. The successor to Super DragAndGo.


QuickDrag Firefox Extension - FAQ
How is QuickDrag different from Super DragAndGo?

    Here is a summary of the notable changes and fixes that I made in the SD&G-to-QuickDrag re-write. Of course, the best way to determine what exactly has changed is to download QuickDrag and look at its source code! <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) -->

        * Changed: By default, dragging a clickable link will no longer open the link in a new tab. Instead, it will either search for the link text if it is a text link (and if the link text does not look like a web address) or save the image if it is an image link. The reason for this change is that middle-clicking on a clickable link will open it in a new tab, so instead of having two mouse actions that do the same thing, drag-and-drop will now search and save. However, for people who prefer to have drag-and-drop behave similarly to a middle-click, this behavior can be changed in the options (requires version 1.0.1 or newer).
        * Changed: Image saving now uses Mozilla's built-in image saver with image type detection. The custom folder option was removed.
        * Changed: QuickDrag will now do a "t?tps? fix-up" (e.g., if a URL starts with ttp://, it will be replaced with http://).
        * Fixed: QuickDrag does not replace parts of nsDragAndDrop and contentAreaDNDObserver. These two global objects are used throughout Firefox by various things, and replacing them meant that SD&G could potentially affect or even interfere with the function of other browser components and extensions. Also, if a future version of Firefox were to update code in any of the replaced areas, the updated code would be overridden by the extension, which is not a desirable outcome. QuickDrag uses gentler, less blunt means to hook into the browser.
        * Fixed: The scope of the extension's effect has been restricted (in part because of the fix listed above). QuickDrag will only handle drops starting and ending within the same content area (the area between the tab strip and status bar where webpages are loaded). This means that this extension will no longer interfere with drops that cross the content area boundary. For example, SD&G had code to emulate the handler for dropping XPI files from outside the browser because it had overridden the default handler for such an action. Since the default handlers are not stomped by QuickDrag, this sort of hackish workaround is not necessary. This should help QuickDrag play along better with other browser components and extensions.
        * Fixed: The URL detection code has been changed to (slightly) reduce the number of times a non-URL string is incorrectly treated as a URL.
        * Other: I have rewritten from scratch literally every line of code. There have been various small under-the-hood improvements and clean-ups. As a result, the QuickDrag code base is significantly smaller than SD&G's.



未测试,还是在用Easy DragToGo
Waterfox Current和Firefox Nightly都用,逐渐走出XUL扩展依赖
fang5566
管理员
管理员
  • UID3719
  • 注册日期2005-03-07
  • 最后登录2025-08-28
  • 发帖数18502
  • 经验4858枚
  • 威望5点
  • 贡献值4324点
  • 好评度1118点
  • 社区居民
  • 最爱沙发
  • 忠实会员
  • 终身成就
1楼#
发布于:2009-04-08 19:17
super drag and go 的继任?自封的吧,哈哈。


PS:作者名字真有趣:kai liu-- 开溜
Firefox More than meets your experience
smoke
千年狐狸
千年狐狸
  • UID3052
  • 注册日期2005-02-16
  • 最后登录2015-02-01
  • 发帖数2367
  • 经验12枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
  • 忠实会员
2楼#
发布于:2009-04-08 19:17
遇到问题请善用论坛搜索功能
foamyu
小狐狸
小狐狸
  • UID28527
  • 注册日期2009-04-09
  • 最后登录2016-07-25
  • 发帖数26
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
3楼#
发布于:2009-04-08 19:17
与其说是“演进版”,不如说是“阉禁版”。。。
游客

返回顶部