From 5afa398148a7ae1c591dc9a9f03658d2932271bd Mon Sep 17 00:00:00 2001 From: Leonardo Date: Wed, 15 Feb 2017 09:13:35 +0100 Subject: [PATCH] Scanner Fixed little bug in scanner function, now search all links with more accurate --- .../Extension/js/console.js | 6 ++++-- .../Extension/manifest.json | 2 +- Firefox/Extension/js/console.js | 4 +++- Firefox/Extension/manifest.json | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Chrome based ( Opera, Yandex, etc... )/Extension/js/console.js b/Chrome based ( Opera, Yandex, etc... )/Extension/js/console.js index 944ff5c..123f58c 100644 --- a/Chrome based ( Opera, Yandex, etc... )/Extension/js/console.js +++ b/Chrome based ( Opera, Yandex, etc... )/Extension/js/console.js @@ -152,7 +152,9 @@ var open = new RegExp( "<", "gi" ), close = new RegExp( ">", "gi" ); - return text.replace( open, "<" ).replace( close, ">" ); + // ( it ) --> Aggiungo uno spazio per evitare che nei link compaiano dei tags + + return text.replace( open, " <" ).replace( close, " >" ); }; @@ -243,7 +245,7 @@ } ); } - + $.each( tests, function( i, t ){ var test = new RegExp( t, "gi" ); diff --git a/Chrome based ( Opera, Yandex, etc... )/Extension/manifest.json b/Chrome based ( Opera, Yandex, etc... )/Extension/manifest.json index 44cef3d..e71c912 100644 --- a/Chrome based ( Opera, Yandex, etc... )/Extension/manifest.json +++ b/Chrome based ( Opera, Yandex, etc... )/Extension/manifest.json @@ -2,7 +2,7 @@ "manifest_version" : 2, "author" : "Leonardo Ciaccio", - "version" : "6.1.0.1", + "version" : "6.1.0.5", "name" : "Grab Any Media", "default_locale" : "en", "description" : "__MSG_des__", diff --git a/Firefox/Extension/js/console.js b/Firefox/Extension/js/console.js index 944ff5c..db76bb4 100644 --- a/Firefox/Extension/js/console.js +++ b/Firefox/Extension/js/console.js @@ -152,7 +152,9 @@ var open = new RegExp( "<", "gi" ), close = new RegExp( ">", "gi" ); - return text.replace( open, "<" ).replace( close, ">" ); + // ( it ) --> Aggiungo uno spazio per evitare che nei link compaiano dei tags + + return text.replace( open, " <" ).replace( close, " >" ); }; diff --git a/Firefox/Extension/manifest.json b/Firefox/Extension/manifest.json index 8fff2b8..b7c90d5 100644 --- a/Firefox/Extension/manifest.json +++ b/Firefox/Extension/manifest.json @@ -2,7 +2,7 @@ "manifest_version" : 2, "author" : "Leonardo Ciaccio", - "version" : "6.1.0.1", + "version" : "6.1.0.5", "name" : "Grab Any Media", "default_locale" : "en", "description" : "__MSG_des__",