commit b801b45a7f3f6cc6edc09671a78106f803fc148c Author: Jasper Gregory Date: Thu May 19 17:29:26 2016 +0700 First pages commit diff --git a/index.html b/index.html new file mode 100644 index 0000000..6b009f7 --- /dev/null +++ b/index.html @@ -0,0 +1,1728 @@ + + + + + +Duplicate File Finder, Cleaner for Drive + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+
+ + +
+ + +
+ +Duplicate File Finder, Cleaner for Drive +
+You probably have a few dozen duplicate files, chiefly MP3 and photos in the Google Drive.
+This is a handy tool that scans selected directories and finds any duplicate files inside them. +The app works with all sorts of files and can also be configured to scan sub-folders within a given directory. +You can make judgement yourself if you want to trash by selecting them.
+Supports IE10+, Chrome, Firefox... Provides connect with Google Drive. You can directly scan duplicate files with your drive. +
+
+ +
+ + +
+ +
+ + + + +
+ + +    +
+ + + + +
+
+ +
Scan Type +   +
Search Word (in filename): ex) xls, zip, png... +   File Type: +
Search Period: < Modified Date < ex) 2015-01-01, 2013-12-31.. +
(If you do not want to apply a search filter, leave the empty value) +
+
+
+ + + + + + + Trash Success Trash Failed +
+ +
+
+
+ +
+ +
+
+ + + +
+ + + + +
ⓒ 2016, Duplicate File Finder, Cleaner for Drive +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/js/common2.js b/js/common2.js new file mode 100644 index 0000000..b866129 --- /dev/null +++ b/js/common2.js @@ -0,0 +1,224 @@ +function setCookie(name, value, expires) { + if (!expires) expires=1000*60*60*24*365*5; + path="/"; + domain=document.domain; + secure=false; + var today = new Date(); + today.setTime( today.getTime() ); + var expires_date = new Date( today.getTime() + (expires) ); + document.cookie = name + "=" +escape( value ) + + ( ( expires ) ? ";expires=" + expires_date.toGMTString() : "" ) + //expires.toGMTString() + ( ( path ) ? ";path=" + path : "" ) + + ( ( domain ) ? ";domain=" + domain : "" ) + + ( ( secure ) ? ";secure" : "" ); +} + +function getCookie( name ) { + var nameOfCookie = name + "="; + var x = 0; + while ( x <= document.cookie.length ) { + var y = (x+nameOfCookie.length); + if ( document.cookie.substring( x, y ) == nameOfCookie ) { + if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 ) + endOfCookie = document.cookie.length; + return unescape( document.cookie.substring( y, endOfCookie ) ); + } + x = document.cookie.indexOf( " ", x ) + 1; + if ( x == 0 ) break; + } + return ""; +} + +function _getid(id){ + return document.getElementById(id); +} + +function trim(str) { + return str.replace(/^\s*|\s*$/g,""); +} + +function html_entity_encode(str){ + str = str.replace(/&/gi, "&"); + str = str.replace(/>/gi, ">"); + str = str.replace(/ len) s=s.substr(0,len)+"..."; + return s; +} + +function cutstringmiddle(s,len,left,right){ + if (s.length <= len) return s; + var s1,s2; + s1=s.substr(0,left); + s2=s.substr(s.length-right,s.length); + return s1+'.....'+s2; +} + +var g_expires=1000*60*60*6; +var henc=html_entity_encode; +function setstorage(name,value){ + if (window.localStorage){ + localStorage[name]=value+''; + }else{ + //setCookie(name, value, 1000*60*60*24*365*10); + } +} +function getstorage(name){ + var s; + if (window.localStorage){ + s=localStorage[name]; + }else{ + //s=getCookie(name); + } + return s; +} + + +function number_format(number, decimals, dec_point, thousands_sep) { + number = (number + '').replace(/[^0-9+\-Ee.]/g, ''); + var n = !isFinite(+number) ? 0 : +number, + prec = !isFinite(+decimals) ? 0 : Math.abs(decimals), + sep = (typeof thousands_sep === 'undefined') ? ',' : thousands_sep, + dec = (typeof dec_point === 'undefined') ? '.' : dec_point, + s = '', + toFixedFix = function (n, prec) { + var k = Math.pow(10, prec); + return '' + Math.round(n * k) / k; + }; + s = (prec ? toFixedFix(n, prec) : '' + Math.round(n)).split('.'); + if (s[0].length > 3) { + s[0] = s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g, sep); + } + if ((s[1] || '').length < prec) { + s[1] = s[1] || ''; + s[1] += new Array(prec - s[1].length + 1).join('0'); + } + return s.join(dec); +} +function getWindowWidth(){ + var windowWidth = 0; + if (typeof(window.innerWidth) == 'number'){ + windowWidth = window.innerWidth; + }else{ + var ieStrict = document.documentElement.clientWidth; + var ieQuirks = document.body.clientWidth; + windowWidth = (ieStrict > 0) ? ieStrict : ieQuirks; + } + if(!windowWidth) windowWidth=0; + return windowWidth; +} +function getWindowHeight(){ + var windowHeight = 0; + if (typeof(window.innerHeight) == 'number'){ + windowHeight = window.innerHeight; + }else{ + var ieStrict = document.documentElement.clientHeight; + var ieQuirks = document.body.clientHeight; + windowHeight = (ieStrict > 0) ? ieStrict : ieQuirks; + } + if(!windowHeight) windowHeight=0; + return windowHeight; +} +function getScrollLeft(){ + var scrollLeft; + if(document.body && document.body.scrollLeft){ + scrollLeft = document.body.scrollLeft; + }else if(document.documentElement && document.documentElement.scrollLeft){ + scrollLeft = document.documentElement.scrollLeft; + } + if(!scrollLeft) scrollLeft=0; + return scrollLeft; +} +function getScrollTop(){ + var scrollTop; + if(document.body && document.body.scrollTop){ + scrollTop = document.body.scrollTop; + }else if(document.documentElement && document.documentElement.scrollTop){ + scrollTop = document.documentElement.scrollTop; + } + if(!scrollTop) scrollTop=0; + return scrollTop; +} + +var messagetimer=null; +function show_message(s,x,y,padding,timeout){ + if (!x) x=10; + if (!y) y=10; + if (!padding) padding=5; + if (!timeout) timeout=2000; + + var kind=1; + for(var i=1; i <= 4; i++){ + var s1="layer_message"; + if (i>1) s1="layer_message"+i; + var obj=document.getElementById(s1); + if (obj){ + kind=i; + break; + } + } + + obj.style.left="1px"; + obj.style.top="1px"; + obj.innerHTML=""; + obj.style.display=""; + + if (kind==1) { + x=getScrollLeft()+x; + y=getScrollTop()+y; + } else if (kind==2) { + x=getScrollLeft()+((getWindowWidth()-obj.clientWidth) / 2); + y=getScrollTop()+((getWindowHeight()-obj.clientHeight) / 2); + } else if (kind==3) { + x=document.body.offsetWidth-obj.clientWidth-5; + y=getScrollTop()+y; + } else { + x=getScrollLeft()+((getWindowWidth()-obj.clientWidth) / 2); + y=getScrollTop()+y; + } + x=parseInt(x); + y=parseInt(y); + + obj.style["border"]="1px solid #000000"; + obj.style["padding"]=padding+"px"; + obj.style.left=x+"px"; + obj.style.top=y+"px"; + + if (messagetimer) clearTimeout(messagetimer); + messagetimer=setTimeout(hide_message, timeout); +} +function hide_message(){ + for(var i=1; i <= 4; i++){ + var s1="layer_message"; + if (i>1) s1="layer_message"+i; + var obj=document.getElementById(s1); + if (obj){ + obj.style.display="none"; + } + } +} + +function fillnumber(s){ + s=String(s); + if ( s.length==1 ) { + return '0'+s; + } + return s; +} +function datetimetostring(ts){ + var t=new Date(ts); + var s=''; + if(!isNaN(t)){ + var y=t.getFullYear(); + var m=t.getMonth()+1; + var d=t.getDate(); + s=y+'-'+fillnumber(m)+'-'+fillnumber(d)+' '+fillnumber(t.getHours())+':'+fillnumber(t.getMinutes())+':'+fillnumber(t.getSeconds()); + } + return s; +} \ No newline at end of file