#1
|
|||
|
|||
jd2 hangs, after pasting selection from firefox source view
Steps to reproduce. (vista 32 bit)
In JD2: Do NOT monitor the clipboard. (If you do, it will hang after step 4) 1) Open a page which has links to known filehosters in firefox 2) select some text, including a link to filehoster (may or may not contain additional other links) 3) firefox context menu "View selection source" A window should open with a highlighted html source, it should contain the link. The link and some of the surrounding html should be selected 4) context menu (in source viewer,mouse over selection) "Copy" 5) In JD2, open the submenu of "Add new links", choose "Add and analyse from clipboard" The dialog opens, and it will just keep parsing, but nothing ever happens Same if you just click the "Add new links" button. 6) Paste the clipboard to notepad, select the pasted text, and paste this text: Now JD2 will work correctly. |
#2
|
||||
|
||||
Can we do Teamviewer? This works perfectly for me (firefox, chrome..)
Please contact me via support@jdownloader.org
__________________
JD-Dev & Server-Admin |
#3
|
|||
|
|||
I dont like teamviewer (or any means of providing access to my pc).
But I will look further into this. Maybe it is something else on my PC, that interferes with the clipboard. I tested to open the "Analyse and add links" while the clipboard was empty, then copy from firefox "Dom source of selection" window, and then paste via the contextmenu. The contextmenu never closed. JD2 hang immediately. I thought maybe it is something with the clipboard being locked. But if I copy other parts from the "Dom source of selection" window, then I can paste them. Except, it pastes something different. - I open the "Analyse and add links" dialog (while clipboard is empty) - I select (while on this forums "reply to thread" page, a bit of text. e.g. "Additional Options" (from below the textarea where I type this reply) - I Open the popup menu, "view selection source" - I change the selected text in the "Dom source of selection" window. SO just "Additional" is selected. And I copy it (using the context menu) - Now if I paste into JD2 "Analyse and add links" window, I get the text "http://Version:0.9" - But if I paste into a text editor, I paste the word "Additional" It appears that firefox adds several formats to the clipboard, and JD2 chooses one that has added meta info. (and then filters it down to the links) Repeating the steps above, In the firefox source view I have: Code:
<td class="tcat"> <a style="float:right" href="#top" onclick="return toggle_collapse('newpost_options')"><img id="collapseimg_newpost_options" src="images/kirsch/buttons/collapse_tcat.gif" alt="" border="0"></a> Additional Options </td> Pasting into JD2, I get Code:
https://board.jdownloader.org/images/kirsch/buttons/collapse_tcat.gif"%20class="attribute-value" SO I guess that the content I tried to paste had some links that caused the problem. I will try to find and isolate them. It is not just that hey do not resolve (I waited 15 minutes, and it still hang). It is also that it causes 100% load one one core of the CPU (waiting for a url to resolve should not do that) ------------------------------ BTW, it seems (from the time needed) JD2 immediately checks links online when i paste? The old JD did that only when Y pressed OK/Continue. I prefer if they do not get checked on paste, because once I have the links (filtered out of the overall text), I might want to go through that list and remove some. |
#4
|
||||
|
||||
Fixed with next core update
__________________
JD-Dev & Server-Admin |
#5
|
||||
|
||||
Cause: SourceView pasted different than expected content into x-moz-url-priv flavor. This caused high cpu usage in pattern matching
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|