[Ext] Drag de Go 0.2.5
-
- Posts: 87
- Joined: June 26th, 2007, 6:17 pm
-
- Posts: 3
- Joined: August 16th, 2007, 9:32 am
I can't get this to install at all I'm afraid. I've downloaded the xpi file but when I drag it into the add-on window I get a message saying - "DragdeGo" will not be installed because it does not provide secure updates. I was told on another forum to change the value of extensions.checkUpdateSecurity to false in about:config but there is no such setting . Can anyone help me? Losing this extension is the one major pain in the butt for updating to Firefox 3.
-
- Posts: 22
- Joined: July 24th, 2005, 7:45 pm
-
- Posts: 3
- Joined: November 23rd, 2003, 6:32 pm
Malorkus wrote:Wonderful extension. I have a small bug report: If some text is highlighted on the page and I drag a link, the extension acts as though I dragged the highlighted text instead. Thanks!
Hi there, this behavior has been bugging me as well. Fortunately it seems I've figured out how to change it:
Browse the .xpi archive or your \profile\extensions folder (I use 7-Zip) and navigate to
Code: Select all
\chrome\dragdego.jar\content\main.js
Open the file for editing, and look for the line
Code: Select all
var uri = selection ? selection : DragData[0];
and change it to
Code: Select all
var uri = DragData[1] ? DragData[0] : selection;
Then about 10 lines below that, look for
Code: Select all
}else if(selection && !DragdeGo.forceAsURL(uri)){
and change it to
Code: Select all
}else if(!DragData[1] && !DragdeGo.forceAsURL(uri)){
Then a few lines below that, look for
Code: Select all
}else if(!selection && /([^\/]+\.(xpi|jar))$/.test(uri)){
and change it to
Code: Select all
}else if(DragData[1] && /([^\/]+\.(xpi|jar))$/.test(uri)){
What I found out is that when the drag event originated from a link, DragData[0] is the URL, and DragData[1] is the label. When the drag event originated from selected text, DragData[0] is the selected text and DragData[1] is not defined.
Hope this helps - I'm not familiar with programming FF extensions.
-
- Posts: 22
- Joined: July 24th, 2005, 7:45 pm
-
- Posts: 1
- Joined: March 12th, 2008, 10:43 am
- Location: Russia
- Contact:
vipz wrote:Malorkus wrote:Wonderful extension. I have a small bug report: If some text is highlighted on the page and I drag a link, the extension acts as though I dragged the highlighted text instead. Thanks!
Hi there, this behavior has been bugging me as well. Fortunately it seems I've figured out how to change it:
It works! Thanks!
Updated version is here: http://www.lore.ru/downloads/dragDeGoTrunkMy.xpi
(also it's possible to install on ff3beta without changing parameter extensions.checkUpdateSecurity)
-
- Posts: 206
- Joined: January 2nd, 2008, 7:07 am
- Contact:
Vips solution didn't really work for me since it disables selecting and dragging text in links. It will always default to link even if text is selected inside the link. I created sorta pseudo workaround which should work in most cases. What it does it checks if dragged link has the same text as selected text, meaning it will only perform selection search if dragged url contains the same text as selection itself. Sounds confusing... It should greatly minimize occurrences of selection search bug. It works for me. Well i thought i'd share it.
in dragdego.jar\content\main.js file after
add this:
in dragdego.jar\content\main.js file after
Code: Select all
data.substring(0, transData.len.value).split("\n");
add this:
Code: Select all
if( selection && DragData[1] && DragData[0])
{
if (DragData[1].indexOf ( selection ) ==-1)
{
var selection = null;
}
if ( selection.length <= 3)
{
var selection = null;
}
}
-
- Posts: 106
- Joined: March 20th, 2008, 1:09 pm
Could you please add support for FF 3 Beta 4? (I use the FF 3 Beta 4 Portable)
First I modify the .xpi to max. version 5.*
I am able to install it and get to the 'DragdeGo Options' both via the add-on menu and via Tools.
But after having changed the settings: it doesn't register that I have made any changes in the options :S? So can only use the default settings which I do not like...
Also the text tooltip which are supposed to come when dragging, is not shown properly. There is no yellow background.
Hope You'll fix it, cause I like the add-on .
Chill
First I modify the .xpi to max. version 5.*
I am able to install it and get to the 'DragdeGo Options' both via the add-on menu and via Tools.
But after having changed the settings: it doesn't register that I have made any changes in the options :S? So can only use the default settings which I do not like...
Also the text tooltip which are supposed to come when dragging, is not shown properly. There is no yellow background.
Hope You'll fix it, cause I like the add-on .
Chill
-
- Posts: 72
- Joined: December 18th, 2003, 3:30 pm
I added pirst's fix and bumped the maxversion on http://bo.idiofx.com/dragDeGoTrunk.xpi.
-
- Posts: 106
- Joined: March 20th, 2008, 1:09 pm
Bo102010 wrote:I added pirst's fix and bumped the maxversion on http://bo.idiofx.com/dragDeGoTrunk.xpi.
Thanks! it works
P.S. you seems to be quite experienced within add-ons, and you have made this one working with FF3B4 < _.
So was wondering if you would take a look at this tread: http://forums.mozillazine.org/viewtopic.php?t=640031 and maybe you could give me some guidelines on what changes one have to make in add-ons in order to make them work with FF3B4 < ?
Also I really like this userstyle: http://userstyles.org/styles/1030 , but it doesn't work properly in FF3B4. A comment about whats wrong have been made by user 'ddsafsdfgs'
I totally understand if you prefer just to support this add-on. If so, just forget this comment.
-
- Posts: 5
- Joined: September 26th, 2007, 1:33 pm
-
- Posts: 5
- Joined: September 26th, 2007, 1:33 pm
There are just too many problems with this extension in its current form to be useful for me on 3.0b5. While I wait for the problems to get sorted I've moved over to using Easy DragToGo (https://addons.mozilla.org/en-US/firefox/addon/6639) which perfectly with 3.0b5, but just not as powerful as Drag de Go.
Hopefully, someone who is knowledgeable with extensions can take a peek at Easy DragToGo's code and make the appropriate changes to Drag de Go to fix its bugs & eliminate the needs for workarounds.
Hopefully, someone who is knowledgeable with extensions can take a peek at Easy DragToGo's code and make the appropriate changes to Drag de Go to fix its bugs & eliminate the needs for workarounds.