summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c2a9f12)
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
* @return: null on error, true on success
*/
function direct_download_link_add(pageURL, site) {
* @return: null on error, true on success
*/
function direct_download_link_add(pageURL, site) {
var element = getElementByXPath(site.urlContainerXPath);
if (!element) {
DDL_log('DirectDL (' + site.pageURL + '): Cannot find the element ' + site.urlContainerXPath + ' containing the URL.');
var element = getElementByXPath(site.urlContainerXPath);
if (!element) {
DDL_log('DirectDL (' + site.pageURL + '): Cannot find the element ' + site.urlContainerXPath + ' containing the URL.');