Changeset 1443274
- Timestamp:
- 06/25/2016 08:47:23 AM (10 years ago)
- Location:
- copyfight
- Files:
-
- 90 added
- 9 edited
-
tags/1.5.3 (added)
-
tags/1.5.3/LICENSE.txt (added)
-
tags/1.5.3/_inc (added)
-
tags/1.5.3/_inc/css (added)
-
tags/1.5.3/_inc/css/copyfight-admin.css (added)
-
tags/1.5.3/_inc/css/copyfight-admin.min.css (added)
-
tags/1.5.3/_inc/css/copyfight-admin.min.min.css (added)
-
tags/1.5.3/_inc/css/copyfight-admin.min.min.min.css (added)
-
tags/1.5.3/_inc/css/copyfight-cdn.css (added)
-
tags/1.5.3/_inc/css/copyfight-cdn.min.css (added)
-
tags/1.5.3/_inc/css/copyfight-cdn.min.min.css (added)
-
tags/1.5.3/_inc/css/copyfight-cdn.min.min.min.css (added)
-
tags/1.5.3/_inc/css/copyfight.css (added)
-
tags/1.5.3/_inc/css/copyfight.min.css (added)
-
tags/1.5.3/_inc/css/copyfight.min.min.css (added)
-
tags/1.5.3/_inc/css/copyfight.min.min.min.css (added)
-
tags/1.5.3/_inc/css/copyfight.php (added)
-
tags/1.5.3/_inc/css/genericons.css (added)
-
tags/1.5.3/_inc/css/genericons.min.css (added)
-
tags/1.5.3/_inc/css/genericons.min.min.css (added)
-
tags/1.5.3/_inc/css/genericons.min.min.min.css (added)
-
tags/1.5.3/_inc/css/noprint.css (added)
-
tags/1.5.3/_inc/css/noprint.min.css (added)
-
tags/1.5.3/_inc/css/noprint.min.min.css (added)
-
tags/1.5.3/_inc/css/noprint.min.min.min.css (added)
-
tags/1.5.3/_inc/css/print.css (added)
-
tags/1.5.3/_inc/css/print.min.css (added)
-
tags/1.5.3/_inc/css/print.min.min.css (added)
-
tags/1.5.3/_inc/css/print.min.min.min.css (added)
-
tags/1.5.3/_inc/fonts (added)
-
tags/1.5.3/_inc/fonts/Genericons.ttf (added)
-
tags/1.5.3/_inc/fonts/Genericons.woff (added)
-
tags/1.5.3/_inc/img (added)
-
tags/1.5.3/_inc/img/certificate-background.png (added)
-
tags/1.5.3/_inc/img/copyfight-business-plan.png (added)
-
tags/1.5.3/_inc/img/copyfight-dashicon-01.svg (added)
-
tags/1.5.3/_inc/img/copyfight-dashicon.data (added)
-
tags/1.5.3/_inc/img/copyfight-dashicon.svg (added)
-
tags/1.5.3/_inc/img/copyfight-enterprise-plan.png (added)
-
tags/1.5.3/_inc/img/copyfight-freemium-plan.png (added)
-
tags/1.5.3/_inc/img/copyfight-logo-color.svg (added)
-
tags/1.5.3/_inc/img/copyfight-logo-dark.svg (added)
-
tags/1.5.3/_inc/img/copyfight-logo-light.svg (added)
-
tags/1.5.3/_inc/img/copyfight-logo.png (added)
-
tags/1.5.3/_inc/img/copyfight-premium-plan.png (added)
-
tags/1.5.3/_inc/img/icn-green.png (added)
-
tags/1.5.3/_inc/img/icn-grey-black.png (added)
-
tags/1.5.3/_inc/img/icn-red.png (added)
-
tags/1.5.3/_inc/img/icn-yellow.png (added)
-
tags/1.5.3/_inc/js (added)
-
tags/1.5.3/_inc/js/copyfight-admin.js (added)
-
tags/1.5.3/_inc/js/copyfight-admin.min.js (added)
-
tags/1.5.3/_inc/js/copyfight-admin.min.min.js (added)
-
tags/1.5.3/_inc/js/copyfight-admin.min.min.min.js (added)
-
tags/1.5.3/_inc/js/copyfight.js (added)
-
tags/1.5.3/_inc/js/copyfight.min.js (added)
-
tags/1.5.3/_inc/js/copyfight.min.min.js (added)
-
tags/1.5.3/_inc/js/copyfight.min.min.min.js (added)
-
tags/1.5.3/cache (added)
-
tags/1.5.3/cache/fontlist.txt (added)
-
tags/1.5.3/cache/index.php (added)
-
tags/1.5.3/class.copyfight-admin.php (added)
-
tags/1.5.3/class.copyfight.php (added)
-
tags/1.5.3/copyfight.php (added)
-
tags/1.5.3/index.php (added)
-
tags/1.5.3/languages (added)
-
tags/1.5.3/languages/copyfight-de_DE.mo (added)
-
tags/1.5.3/languages/copyfight-de_DE.po (added)
-
tags/1.5.3/languages/copyfight-es_ES.mo (added)
-
tags/1.5.3/languages/copyfight-es_ES.po (added)
-
tags/1.5.3/languages/copyfight-nl_NL.mo (added)
-
tags/1.5.3/languages/copyfight-nl_NL.po (added)
-
tags/1.5.3/languages/copyfight-zh_CN.mo (added)
-
tags/1.5.3/languages/copyfight-zh_CN.po (added)
-
tags/1.5.3/readme.txt (added)
-
tags/1.5.3/uninstall.php (added)
-
tags/1.5.3/views (added)
-
tags/1.5.3/views/config.php (added)
-
tags/1.5.3/views/index.php (added)
-
tags/1.5.3/views/notice.php (added)
-
tags/1.5.3/views/plans.php (added)
-
tags/1.5.3/widgets.php (added)
-
trunk/_inc/css/copyfight-admin.min.min.css (modified) (1 diff)
-
trunk/_inc/css/copyfight-admin.min.min.min.css (added)
-
trunk/_inc/css/copyfight-cdn.min.min.css (modified) (1 diff)
-
trunk/_inc/css/copyfight-cdn.min.min.min.css (added)
-
trunk/_inc/css/copyfight.css (modified) (1 diff)
-
trunk/_inc/css/copyfight.min.css (modified) (1 diff)
-
trunk/_inc/css/copyfight.min.min.min.css (added)
-
trunk/_inc/css/genericons.min.min.min.css (added)
-
trunk/_inc/css/noprint.min.min.min.css (added)
-
trunk/_inc/css/print.min.min.css (modified) (1 diff)
-
trunk/_inc/css/print.min.min.min.css (added)
-
trunk/_inc/js/copyfight-admin.min.min.min.js (added)
-
trunk/_inc/js/copyfight.min.min.js (modified) (1 diff)
-
trunk/_inc/js/copyfight.min.min.min.js (added)
-
trunk/class.copyfight.php (modified) (1 diff)
-
trunk/copyfight.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
copyfight/trunk/_inc/css/copyfight-admin.min.min.css
r1439065 r1443274 1 .logo{margin:20px 0;width:175px;height:40px;background-repeat:no-repeat !important}.version{float:right}.cf_settings{max-width:700px}.activate-option{background:#e3e3e3;border-radius:3px;margin-bottom:30px;overflow:hidden;padding:20px}.activate-option.clicked{background:#649316;color:#fff}.activate-option.clicked:hover{background:#68802e;color:#fff}.activate-option p{margin:10px 0 10px}.activate-highlight input.regular-text{width:20em}.right{float:right}.activate-highlight{background:#fff;padding:30px;clear:both}.activate-highlight.secondary{background:#ddd;padding:20px 30px}.activate-highlight h3{margin:0 0 .3em}.activate-highlight p{color:#777}.option-description{float:left;font-size:16px}#copyfight-enter-api-key .regular-text{width:18em}#copyfight_typeface{float:left}#copyfight_typeface{margin-right:10px}.copyfight_typeface_info,#copyfight_typeface_info_loader{display:none}.column-copyfight input{border:0;box-shadow:none;background:0;opacity:1 !important;cursor:default}.dashicons-info{font-size:26px;width:26px;height:26px;margin-top:4px}.form-table a{text-decoration:none}#copyfight_typeface_info_loader img{width:24px;height:24px;margin-top:4px}.cf_modal{display:none}.cf_settings a.thickbox{text-decoration:none}.settings_page_copyfight #TB_title,.settings_page_copyfight #TB_closeWindowButton .tb-close-icon{padding:15px;font-size:large}.option-description{float:left}.copyfight_activate{min-width:825px;border:1px solid #be3b11;padding:5px;margin:15px 0;background:#e13f02;background-image:-webkit-gradient(linear,0 0,80% 100%,from(#e13f02),to(#be3b11));background-image:-moz-linear-gradient(80% 100% 120deg,#be3b11,#e13f02);-moz-border-radius:3px;border-radius:3px;-webkit-border-radius:3px;position:relative;overflow:hidden}.copyfight_activate .aa_button{font-weight:bold;border:1px solid #029dd6;border-top:1px solid #06b9fd;font-size:15px;text-align:center;padding:9px 0 8px 0;color:#FFF;background:#029dd6;background-image:-webkit-gradient(linear,0 0,0 100%,from(#029dd6),to(#0079b1));background-image:-moz-linear-gradient(0 100% 90deg,#0079b1,#029dd6);-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px;width:100%;cursor:pointer;margin:0}.copyfight_activate .aa_button:hover{text-decoration:none !important;border:1px solid #029dd6;border-bottom:1px solid #00a8ef;font-size:15px;text-align:center;padding:9px 0 8px 0;color:#f0f8fb;background:#0079b1;background-image:-webkit-gradient(linear,0 0,0 100%,from(#0079b1),to(#0092bf));background-image:-moz-linear-gradient(0 100% 90deg,#0092bf,#0079b1);-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px}.copyfight_activate .aa_button_border{border:1px solid #069;-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px;background:#029dd6;background-image:-webkit-gradient(linear,0 0,0 100%,from(#029dd6),to(#0079b1));background-image:-moz-linear-gradient(0 100% 90deg,#0079b1,#029dd6)}.copyfight_activate .aa_button_container{display:inline-block;background:#fe7b41;padding:5px;-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px;width:266px}.copyfight_activate .aa_description{position:absolute;top:22px;left:285px;margin-left:25px;color:#fff;font-size:15px;z-index:1000}.copyfight_activate .aa_description strong{color:#FFF;font-weight:normal}.form-table.referrals{background-color:#fff}#referrals-overview{width:100%}.referral_link{font-weight:bold;border:2px solid #ccc;padding:1em}.referral-social-share input[type=button]{color:#fff;text-decoration:underline;height:50px;width:224px;float:left;font-weight:normal;vertical-align:middle;cursor:pointer;border:1px solid transparent;white-space:nowrap;font-size:15px;border-radius:0;background-repeat:no-repeat}input.referral-facebookButton{background-color:#3b5998}input.referral-twitterButton{background-color:#29a7de}input.referral-emailButton{background-color:#707070}.copyfight_plans{padding-bottom:1em;min-height:460px}.copyfight_plans img{float:left;cursor:pointer;width:170px}.copyfight_plans img{margin-right:5px;margin-bottom:1em}.donate{clear:both;margin-bottom:1em}.cf_settings .fieldset{background:#fff;padding:0 1em;padding-bottom:2em;border-radius:3px}.cf_settings legend{font-size:1.3em;margin:1em 0}#dashboard_copyfight li{width:50%;float:left;margin-bottom:10px}#dashboard_copyfight .main{padding:0 12px 11px}#dashboard_copyfight .main p{margin:0}#dashboard_copyfight .postbox .inside{margin-bottom:0}#dashboard_copyfight .inside{padding:0}#dashboard_copyfight ul{margin:0;display:inline-block;width:100%}#dashboard_copyfight li:before,#dashboard_copyfight li span:before{color:#82878c;font:normal 20px/1 dashicons;speak:none;display:inline-block;padding:0 10px 0 0;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none !important;vertical-align:top}#dashboard_copyfight .post-count:before,#dashboard_copyfight .post-count span:before{content:"\f109"}#dashboard_copyfight .page-count:before,#dashboard_copyfight .page-count span:before{content:"\f105"}#dashboard_copyfight .char-count:before,#dashboard_copyfight .char-count span:before{content:"\f464"}#dashboard_copyfight .word-count:before,#dashboard_copyfight .word-count span:before{content:"\f122"} -
copyfight/trunk/_inc/css/copyfight-cdn.min.min.css
r1439065 r1443274 1 @font-face{font-family:"copyfight";src:url("{copyfight_hash}.woff") format("woff");unicode-range:U+E000-E500;font-weight:normal;font-style:normal}@font-face{font-family:"copyfight";src:url("{copyfight_typeface}.woff") format("woff");unicode-range:U+F000-F790;font-weight:normal;font-style:normal} -
copyfight/trunk/_inc/css/copyfight.css
r1439065 r1443274 19 19 margin: -2em; 20 20 padding: 2em; 21 } 22 23 #copyfight_content * { 24 font-family: inherit; 21 25 } 22 26 -
copyfight/trunk/_inc/css/copyfight.min.css
r1439065 r1443274 1 .copyfight_noselect{-webkit-touch-callout:none !important;-webkit-user-select:none !important;-moz-user-select:none !important;-ms-user-select:none !important;user-select:none !important;cursor:default !important}#copyfight_content{font-family:"copyfight" !important;font-feature-settings:"kern" on,"liga" on,"calt" on !important;-moz-font-feature-settings:"kern" on,"liga" on,"calt" on !important;-webkit-font-feature-settings:"kern" on,"liga" on,"calt" on !important;-ms-font-feature-settings:"kern" on,"liga" on,"calt" on !important;-o-font-feature-settings:"kern" on,"liga" on,"calt" on !important;text-rendering:optimizeLegibility !important;speak:none;margin:-2em;padding:2em}#copyfight_content .copyfight_blurred_lines,.copyfight_blurred_lines mark.copyfight{color:transparent;text-shadow:0 0 10px rgba(0,0,0,0.5)}.copyfight_excerpt{padding-bottom:1em;font-weight:bold}#copyright_notice{padding-top:2em}#copyfight_entry_links{margin:2em 0;display:block;clear:both}#copyfight_entry_links img{max-height:28px;float:left;margin-right:1em;border:0;box-shadow:none}#copyfight_entry_links a{font-size:12px;text-transform:uppercase;margin-right:1em;white-space:nowrap;text-decoration:none !important;border:0;box-shadow:none;cursor:pointer;display:none}#copyfight_entry_links a:before{font-size:18px;font-family:'Genericons'}.copyfight_unselect_link:before{content:'\f405\0020'}.copyfight_copy_link:before{content:'\f425\0020'}.copyfight_download_link:before{content:'\f50b\0020'}.copyfight_print_link:before{content:'\f469\0020'}#copyfight_certificate{width:100%;max-width:792px;height:612px;margin-bottom:2em;-webkit-box-shadow:0 4px 20px 0 rgba(0,0,0,0.25);-moz-box-shadow:0 4px 20px 0 rgba(0,0,0,0.25);box-shadow:0 4px 20px 0 rgba(0,0,0,0.25)}#copyfight_certificate .background.one,#copyfight_certificate .background.two,#copyfight_certificate .background.three,#copyfight_certificate .background.four{float:left;width:50%;height:50%;background-image:url('img/certificate-background.png');background-repeat:no-repeat}#copyfight_certificate .background.two{-moz-transform:scaleX(-1);-o-transform:scaleX(-1);-webkit-transform:scaleX(-1);transform:scaleX(-1)}#copyfight_certificate .background.three{-moz-transform:scaleY(-1);-o-transform:scaleY(-1);-webkit-transform:scaleY(-1);transform:scaleY(-1)}#copyfight_certificate .background.four{-moz-transform:scale(-1,-1);-o-transform:scale(-1,-1);-webkit-transform:scale(-1,-1);transform:scale(-1,-1)}#copyright_print_notice{visibility:hidden}img.copyfight_widget{border:0 !important;box-shadow:none !important}1 .copyfight_noselect{-webkit-touch-callout:none !important;-webkit-user-select:none !important;-moz-user-select:none !important;-ms-user-select:none !important;user-select:none !important;cursor:default !important}#copyfight_content{font-family:"copyfight" !important;font-feature-settings:"kern" on,"liga" on,"calt" on !important;-moz-font-feature-settings:"kern" on,"liga" on,"calt" on !important;-webkit-font-feature-settings:"kern" on,"liga" on,"calt" on !important;-ms-font-feature-settings:"kern" on,"liga" on,"calt" on !important;-o-font-feature-settings:"kern" on,"liga" on,"calt" on !important;text-rendering:optimizeLegibility !important;speak:none;margin:-2em;padding:2em}#copyfight_content *{font-family:inherit}#copyfight_content .copyfight_blurred_lines,.copyfight_blurred_lines mark.copyfight{color:transparent;text-shadow:0 0 10px rgba(0,0,0,0.5)}.copyfight_excerpt{padding-bottom:1em;font-weight:bold}#copyright_notice{padding-top:2em}#copyfight_entry_links{margin:2em 0;display:block;clear:both}#copyfight_entry_links img{max-height:28px;float:left;margin-right:1em;border:0;box-shadow:none}#copyfight_entry_links a{font-size:12px;text-transform:uppercase;margin-right:1em;white-space:nowrap;text-decoration:none !important;border:0;box-shadow:none;cursor:pointer;display:none}#copyfight_entry_links a:before{font-size:18px;font-family:'Genericons'}.copyfight_unselect_link:before{content:'\f405\0020'}.copyfight_copy_link:before{content:'\f425\0020'}.copyfight_download_link:before{content:'\f50b\0020'}.copyfight_print_link:before{content:'\f469\0020'}#copyfight_certificate{width:100%;max-width:792px;height:612px;margin-bottom:2em;-webkit-box-shadow:0 4px 20px 0 rgba(0,0,0,0.25);-moz-box-shadow:0 4px 20px 0 rgba(0,0,0,0.25);box-shadow:0 4px 20px 0 rgba(0,0,0,0.25)}#copyfight_certificate .background.one,#copyfight_certificate .background.two,#copyfight_certificate .background.three,#copyfight_certificate .background.four{float:left;width:50%;height:50%;background-image:url('img/certificate-background.png');background-repeat:no-repeat}#copyfight_certificate .background.two{-moz-transform:scaleX(-1);-o-transform:scaleX(-1);-webkit-transform:scaleX(-1);transform:scaleX(-1)}#copyfight_certificate .background.three{-moz-transform:scaleY(-1);-o-transform:scaleY(-1);-webkit-transform:scaleY(-1);transform:scaleY(-1)}#copyfight_certificate .background.four{-moz-transform:scale(-1,-1);-o-transform:scale(-1,-1);-webkit-transform:scale(-1,-1);transform:scale(-1,-1)}#copyright_print_notice{visibility:hidden}img.copyfight_widget{border:0 !important;box-shadow:none !important} -
copyfight/trunk/_inc/css/print.min.min.css
r1439065 r1443274 1 @media print{body *{visibility:hidden}#copyfight_content,#copyfight_content *{visibility:visible;background-color:white;height:100%;width:100%;position:fixed;top:0;left:0;margin:0;padding:15px}} -
copyfight/trunk/_inc/js/copyfight.min.min.js
r1439065 r1443274 1 jQuery(function(m){m("#copyfight_content").show();var j=navigator.userAgent.indexOf("Chrome")>-1;var n=navigator.userAgent.indexOf("Safari")>-1;if((j)&&(n)){n=false}if(n){m(".copyfight_copy_link").remove();m(".copyfight_download_link").remove()}if(copyfight.copyfight_right_click=="false"){m("#copyfight_content").contextmenu(function(a){a.preventDefault();return false})}m(".copyfight_copy_link").on("click",function(a){m("body").css("cursor","progress");a.preventDefault();var b=[];m("mark.copyfight").each(function(d,c){b[d]=c.innerText});if(b.length&&!m("#copyfight_copy").val().length){m.ajax({url:copyfight.ajax_url,type:"POST",data:{action:"copyfight_ajax",selections:b,postid:post.id},success:function(c){if(c.length){m("#copyfight_copy").attr("type","text");m("#copyfight_copy").val(c);m("#copyfight_copy").attr("type","hidden");m(".copyfight_copy_link").trigger("click")}}})}else{m("#copyfight_copy").attr("type","text");m("#copyfight_copy").select();document.execCommand("cut");m("#copyfight_copy").attr("type","hidden");m("body").css("cursor","default")}return false});m(".copyfight_download_link").on("click",function(a){m("body").css("cursor","progress");a.preventDefault();var b=[];m("mark.copyfight").each(function(d,c){b[d]=c.innerText});if(b.length){m.ajax({url:copyfight.ajax_url,type:"POST",data:{action:"copyfight_ajax",selections:b,postid:post.id},success:function(c){if(c.length){uriContent="data:application/octet-stream,"+encodeURIComponent(c);newWindow=window.open(uriContent,"copyfight-download");m("body").css("cursor","default")}}})}return false});m(".copyfight_unselect_link").on("click",function(a){m("body").css("cursor","default");a.preventDefault();m("mark").contents().unwrap();h();return false});if(copyfight.copyfight_select=="true"){m("#copyfight_content").on("mousedown",function(){window.getSelection().removeAllRanges()});m("#copyfight_content").on("mouseup",function(){if(!m("mark.copyfight").length){m("mark").contents().unwrap()}var d=window.getSelection().getRangeAt(0);window.getSelection().removeAllRanges();if(d.collapsed||Math.abs(d.endOffset-d.startOffset)<=1){return false}if(m(d.commonAncestorContainer).has("#copyfight_content").length==1){return false}var c=d.extractContents();var a=document.createElement("mark");var b=new Date().getTime();a.setAttribute("data-timestamp",b);a.setAttribute("class","copyfight");a.appendChild(c);d.insertNode(a);var e=m("#copyfight_content").html().replace(/<\/mark><mark.*?>/g,"");m("#copyfight_content").html(e);m("mark.copyfight").each(function(f,g){m(g).find("mark.copyfight").contents().unwrap()});if(!k(m("#copyfight_entry_links"))){m("html, body").animate({scrollTop:m("#copyfight_entry_links").offset().top-(window.innerHeight/2||document.documentElement.clientHeight )},100)}h();return false})}m(".copyfight_print_link").on("click",function(a){a.preventDefault();window.print();return false});if(copyfight.copyfight_printscreen=="false"){m(window).on("blur keydown",function(){l()});m(window).on("focus keyup",function(){i()});function l(){m("#copyfight_content noindex").wrapInner('<p class="copyfight_blurred_lines"></p>')}function i(){m(".copyfight_blurred_lines").contents().unwrap()}}function h(){if(m("mark.copyfight").length){m("#copyfight_entry_links a").show()}else{m("#copyfight_entry_links a").hide()}}if(copyfight.copyfight_console=="false"){if(window.console){console.log("%c"+copyfight.console_message,"background: #d54f27; color: #fff; font-size: x-large; padding: 3em;");window.console.log=function(){return copyfight.console_message}}}function k(b){if(typeof jQuery==="function"&&b instanceof jQuery){b=b[0]}var a=b.getBoundingClientRect();return(a.top>=0&&a.left>=0&&a.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&a.right<=(window.innerWidth||document.documentElement.clientWidth))}});1 jQuery(function(m){m("#copyfight_content").show();var j=navigator.userAgent.indexOf("Chrome")>-1;var n=navigator.userAgent.indexOf("Safari")>-1;if((j)&&(n)){n=false}if(n){m(".copyfight_copy_link").remove();m(".copyfight_download_link").remove()}if(copyfight.copyfight_right_click=="false"){m("#copyfight_content").contextmenu(function(a){a.preventDefault();return false})}m(".copyfight_copy_link").on("click",function(a){m("body").css("cursor","progress");a.preventDefault();var b=[];m("mark.copyfight").each(function(d,c){b[d]=c.innerText});if(b.length&&!m("#copyfight_copy").val().length){m.ajax({url:copyfight.ajax_url,type:"POST",data:{action:"copyfight_ajax",selections:b,postid:post.id},success:function(c){if(c.length){m("#copyfight_copy").attr("type","text");m("#copyfight_copy").val(c);m("#copyfight_copy").attr("type","hidden");m(".copyfight_copy_link").trigger("click")}}})}else{m("#copyfight_copy").attr("type","text");m("#copyfight_copy").select();document.execCommand("cut");m("#copyfight_copy").attr("type","hidden");m("body").css("cursor","default")}return false});m(".copyfight_download_link").on("click",function(a){m("body").css("cursor","progress");a.preventDefault();var b=[];m("mark.copyfight").each(function(d,c){b[d]=c.innerText});if(b.length){m.ajax({url:copyfight.ajax_url,type:"POST",data:{action:"copyfight_ajax",selections:b,postid:post.id},success:function(c){if(c.length){uriContent="data:application/octet-stream,"+encodeURIComponent(c);newWindow=window.open(uriContent,"copyfight-download");m("body").css("cursor","default")}}})}return false});m(".copyfight_unselect_link").on("click",function(a){m("body").css("cursor","default");a.preventDefault();m("mark").contents().unwrap();h();return false});if(copyfight.copyfight_select=="true"){m("#copyfight_content").on("mousedown",function(){window.getSelection().removeAllRanges()});m("#copyfight_content").on("mouseup",function(){if(!m("mark.copyfight").length){m("mark").contents().unwrap()}var d=window.getSelection().getRangeAt(0);window.getSelection().removeAllRanges();if(d.collapsed||Math.abs(d.endOffset-d.startOffset)<=1){return false}if(m(d.commonAncestorContainer).has("#copyfight_content").length==1){return false}var c=d.extractContents();var a=document.createElement("mark");var b=new Date().getTime();a.setAttribute("data-timestamp",b);a.setAttribute("class","copyfight");a.appendChild(c);d.insertNode(a);var e=m("#copyfight_content").html().replace(/<\/mark><mark.*?>/g,"");m("#copyfight_content").html(e);m("mark.copyfight").each(function(f,g){m(g).find("mark.copyfight").contents().unwrap()});if(!k(m("#copyfight_entry_links"))){m("html, body").animate({scrollTop:m("#copyfight_entry_links").offset().top-(window.innerHeight/2||document.documentElement.clientHeight/2)},100)}h();return false})}m(".copyfight_print_link").on("click",function(a){a.preventDefault();window.print();return false});if(copyfight.copyfight_printscreen=="false"){m(window).on("blur keydown",function(){l()});m(window).on("focus keyup",function(){i()});function l(){m("#copyfight_content noindex").wrapInner('<p class="copyfight_blurred_lines"></p>')}function i(){m(".copyfight_blurred_lines").contents().unwrap()}}function h(){if(m("mark.copyfight").length){m("#copyfight_entry_links a").show()}else{m("#copyfight_entry_links a").hide()}}if(copyfight.copyfight_console=="false"){if(window.console){console.log("%c"+copyfight.console_message,"background: #d54f27; color: #fff; font-size: x-large; padding: 3em;");window.console.log=function(){return copyfight.console_message}}}function k(b){if(typeof jQuery==="function"&&b instanceof jQuery){b=b[0]}var a=b.getBoundingClientRect();return(a.top>=0&&a.left>=0&&a.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&a.right<=(window.innerWidth||document.documentElement.clientWidth))}}); -
copyfight/trunk/class.copyfight.php
r1439065 r1443274 71 71 if ( strlen( $copyfight_content ) && $copyfight_status == 'enabled' && is_singular() ) { 72 72 echo '<meta name="generator" content="Copyfight" />' . "\n"; 73 echo '<meta name="google" content="notranslate" />' . "\n"; 73 74 $copyfight_sev = get_option( 'copyfight_sev' ); 74 75 if ( $copyfight_sev == 'false' ) { -
copyfight/trunk/copyfight.php
r1439065 r1443274 4 4 Plugin URI: https://getcopyfight.com/ 5 5 Description: Copyright protection 6 Version: 1.5. 26 Version: 1.5.3 7 7 Author: Copyfight 8 8 Author URI: https://getcopyfight.com/ … … 35 35 add_action( 'plugins_loaded', 'copyfight_textdomain' ); 36 36 37 define( 'COPYFIGHT_VERSION', '1.5. 2' );37 define( 'COPYFIGHT_VERSION', '1.5.3' ); 38 38 define( 'COPYFIGHT_MINIMUM_WP_VERSION', '3.3.0' ); 39 39 define( 'COPYFIGHT_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); -
copyfight/trunk/readme.txt
r1439065 r1443274 7 7 Requires at least: 3.3.0 8 8 Tested up to: 4.5.2 9 Stable tag: 1.5. 29 Stable tag: 1.5.3 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.