diff --new-file --recursive --suppress-common-lines --exclude changes.txt --exclude diff.txt releases/unplug-2.032/source/chrome/content/common.js releases/unplug-2.033/source/chrome/content/common.js 135c135 < version : 2.032, --- > version : 2.033, 139c139 < revision : 201008291635, --- > revision : 201009080130, diff --new-file --recursive --suppress-common-lines --exclude changes.txt --exclude diff.txt releases/unplug-2.032/source/chrome/content/display/pop/pop.js releases/unplug-2.033/source/chrome/content/display/pop/pop.js 178c178 < if (old_result.certainty > result.certainty) { --- > if (old_result.details.certainty < result.details.certainty) { 180c180 < UnPlug2SearchPage.results[uid].details = result.description; --- > UnPlug2SearchPage.results[uid].details = result.details; 299c299 < reselem.className].join(" ") --- > "unplug-result" ].join(" ") 419,420c419,420 < // replace non-letter characters with "_" < name = name.replace(RegExp("[^\\w\\s_\\-\\(\\)]+", "g"), "_"); --- > // replace bad characters with "_" > name = name.replace(RegExp("[\\*\\\\/\\?\\<\\>~#\\|`\\$\\&;:%\"'\x00-\x1f]+", "g"), "_"); 464c464,468 < UnPlug2SearchPage.send_nothing_found_msg_noask(); --- > try { > UnPlug2SearchPage.send_nothing_found_msg_noask(); > } catch (e) { > UnPlug2.log("Error sending nothing found msg " + e); > } 468,469d471 < var post_data = "url=" + escape(UnPlug2SearchPage._win.location) + "&version=" + escape(UnPlug2.version) + "&revision=" + escape(UnPlug2.revision); < 479,484c481,486 < null, // id < "http://unplug.dbatley.com/ajax/notfound.php", < post_data, < UnPlug2SearchPage.done_nothing_found_msg, < UnPlug2SearchPage.failed_nothing_found_msg, < 60000) --- > null, // ref > "http://unplug.dbatley.com/popularity_contest/submit.cgi", > "problem=yes&useragent=" + escape(window.navigator.userAgent) + "&url=" + escape(UnPlug2SearchPage._win.location.href) + "&version=" + UnPlug2.version + "&revision=" + UnPlug2.revision + "&codename=" + UnPlug2.codename, > null, null, // callbacks > 10000); > dl.start() 535c537,538 < || res.download.url.indexOf("https://") == 0); --- > || res.download.url.indexOf("https://") == 0 > || res.download.url.indexOf("ftp://") == 0); 541a545 > // keep this here 569c573 < if (!window.opener.DTA_AddingFunctions) { --- > if (!window.opener.DTA_AddingFunctions && !window.DTA) { 601c605,611 < window.opener.DTA_AddingFunctions.sendToDown(true, [link]); --- > if (window.DTA) { > // DTA 2.0 > DTA.sendLinksToManager(window, true, [link]); > } else { > // DTA 1.0 > window.opener.DTA_AddingFunctions.sendToDown(true, [link]); > } diff --new-file --recursive --suppress-common-lines --exclude changes.txt --exclude diff.txt releases/unplug-2.032/source/chrome/content/display/pop/pop.xul releases/unplug-2.033/source/chrome/content/display/pop/pop.xul 63c63 < --- > 64a65,66 > >