• Страница 1 из 1
  • 1
Форум » Общий раздел форума » Просьба с услугами » Удалить js код, встраивающий копирайт логотип
Удалить js код, встраивающий копирайт логотип
no_matter
Пятница, 09 Декабря 2016 | Сообщение 1
Оффлайн
Проверенные
Сообщений:187
Награды: 2
Здравствуйте. Купил и установил шаблон и долго ломал голову, как из футера удалить логотип создателя. Оказывается он встраивается через js код. Может кто помочь удалить из js файла нужный фрагмент кода, чтобы не задеть другие элементы? Заранее благодарю.
Вот ссылка на js файл: http://xboxplay.ucoz.com/js/main.js
Нужно удалить все, что встраивает art-ucoz
И раз уж они свою ссылку встроили, может заметите еще что-то подозрительное..


Выжимайте максимум из download-трафика - тут
Страна: (GE)
Slavik
Пятница, 09 Декабря 2016 | Сообщение 2
Оффлайн
Vip
Сообщений:1767
Награды: 4
Цитатаno_matter ()
Нужно удалить все, что встраивает art-ucoz


За футер вроде как отвечает это art-ucoz.ru/art-ucoz-nodel/art-copy.css

На попробуй
Код
function openStaticPopup(){$.openPopupLayer({name:"loginPopup",width:377,target:"userpanel"})}function LoadFont(t){if(""!=t)try{t=t.split("'").join(""),WebFont.load({google:{families:[t+"::latin,cyrillic"]}})}catch(e){}}function EmbedFont(t){var e,n=["impact","palatino linotype","tahoma","century gothic","lucida sans unicode","times new roman","arial narrow","verdana","copperplate gothic light","lucida console","gill sans mt","trebuchet ms","courier new","arial","georgia","garamond","arial black","bookman old style","courier","helvetica"];e=t?document.getElementById(t).innerHTML:document.documentElement.innerHTML;var i=/font-family?:.+?(\;|,|")/g,o=e.match(i);if(o)for(var a=0,r=o.length;r>a;a++){var s=o[a].replace(/font-family?:/g,"").replace(/;/g,"").replace(/,/g,"").replace(/"/g,"");s=jQuery.trim(s),s=s.replace("'","").replace("'",""),-1==$.inArray(s.toLowerCase(),n)&&LoadFont(s)}}$(document).ready(function(){$(".show_auth").click(function(){$(".windows_auth").show(),$(".block_auth").show()}),$("#exit_auth").click(function(){$(".windows_auth").hide(),$(".block_auth").hide()}),$(".show_profile").click(function(){$(".windows_profile").show(),$(".block_profile").show()}),$("#exit_profile").click(function(){$(".windows_profile").hide(),$(".block_profile").hide()}),$(".top_nav > li > a").hover(function(){$(".top_nav > li > ul").hide(),$(this).parent().find("ul").fadeIn(50),$(this).addClass("hover")},function(){$(".top_nav > li > ul").hide(),$(".top_nav > li > a").removeClass("hover")}),$(".top_nav > li > ul").hover(function(){$(this).show(),$(this).parent().children("a").addClass("hover")},function(){$(".top_nav > li > ul").hide(),$(this).parent().children("a").removeClass("hover")}),$(".nav_slider_main > .warp span:first").addClass("active"),$(".nav_slider_main > .warp span").click(function(){var t=$(this).index(),e=1e3*t;$(".nav_slider_main > .warp span").removeClass("active"),$(".slider_warper > .slider").animate({left:"-"+e+"px"},500),$(this).addClass("active")}),$(".witch_movie").click(function(){$(".window_movie").fadeIn(300),$(".player_movie").fadeIn(300)}),$(".exit_movie_full").click(function(){$(".window_movie").fadeOut(200),$(".player_movie").fadeOut(200)});var t=$(".player_movie").attr("age");t>18||18==t?$(".fix_block_player").show():$(".fix_block_player").hide(),$("#fix_player_yes").click(function(){$(".fix_block_player").fadeOut(200)}),$("#fix_player_no").click(function(){$(".window_movie").fadeOut(200),$(".player_movie").fadeOut(200)});var e=$(".block_message_comments").parent().parent().attr("pl"),n=$(".block_message_comments").parent().parent().attr("rl");$(".message_comments").attr("placeholder",e),$(".rules_mess_comments").html(n);var i=$(".pm_hidden > a").attr("href");$(".function_profile_pm").attr("href",i),$(".table_pm_common .bb-editor > textarea#comments").attr("placeholder","Сообщение:"),$("#category_chzn, ul.chzn-choices > li.search-field > input").removeAttr("style"),$(".addnews_right_block tr > td").removeAttr("colspan");for(var o=$(".addnews_right_block tr").length,a=0;o>a;a++){var r=$("td.addnews").eq(a).text();$(".xfields > input").eq(a).attr("placeholder",r).addClass("xfields_input")}}),$(document).ready(function(){$("body").append('<div class="button-up" style="display: none;opacity: 0.7;width: 80px;height:100%;position: fixed;left: 0px;top: 0px;cursor: pointer;text-align: center;line-height: 30px;color: #8a8c8b;font-weight: bold;">↑ Наверх </div>'),$(window).scroll(function(){$(this).scrollTop()>100?$(".button-up").fadeIn():$(".button-up").fadeOut()}),$(".button-up").click(function(){return $("body,html").animate({scrollTop:0},600),!1}),$(".button-up").hover(function(){$(this).animate({opacity:"1"}).css({"background-color":"#cdcecc",color:"#fff"})},function(){$(this).animate({opacity:"0.7"}).css({background:"none",color:"#8a8c8b"})})}),$.fn.Button=function(t){var e=!0,n=this;return $(t).hide(),$(this).removeClass("selected").click(function(){return $(t).toggle("fast"),$(this).toggleClass("selected"),e=!e,!1}),$(document).click(function(i){if(!e){for(var o=i.target||i.srcElement;o;){var a=!1;if($(t).each(function(){return(a=o==this)?!1:void 0}),a)return;o=o.parentNode}$(t).hide("fast"),$(n).removeClass("selected"),e=!0}}),this},$.fn.UlMenu=function(){return $.each(this,function(){$("li.submenu",this).hide(),$("li:has(.sublnk)",this).click(function(){$(this).toggleClass("selected").next("li.submenu").slideToggle(300).css("display",function(){return"list-item"==$(this).css("display")?"block":void 0})})}),this},$.setupJMPopups({screenLockerBackground:"#000",screenLockerOpacity:"0.5"}),$(function(){$(".slnews").mobilyslider({content:".slnewsContent",children:"div",transition:"fade",animationSpeed:300,autoplay:!0,autoplaySpeed:3e3,pauseOnHover:!0,bullets:!1,arrows:!0,arrowsHide:!1,prev:"snewsprev",next:"snewsnext"})}),$(function(){$(".copyright").append(' | . Все права защищены.'),$(".copy-des").css({top:"100%",right:"10px","margin-top":"-72px","z-index":"1000"});var t=document.createElement("link");t.rel="stylesheet",t.type="text/css",t.href="/",document.getElementsByTagName("head")[0].appendChild(t)}),jQuery(document).ready(function(){if(EmbedFont(),"undefined"!=typeof oUtil)for(var i=0;i<oUtil.arrEditor.length;i++){var oEditor=eval("idContent"+oUtil.arrEditor[i]),sHTML;sHTML=-1!=navigator.appName.indexOf("Microsoft")?oEditor.document.documentElement.outerHTML:getOuterHTML(oEditor.document.documentElement),sHTML=sHTML.replace(/FONT-FAMILY/g,"font-family");var urlRegex=/font-family?:.+?(\;|,|")/g,matches=sHTML.match(urlRegex);if(matches)for(var j=0,len=matches.length;len>j;j++){var sFont=matches[j].replace(/font-family?:/g,"").replace(/;/g,"").replace(/,/g,"").replace(/"/g,"");sFont=sFont.split("'").join(""),sFont=jQuery.trim(sFont);var sFontLower=sFont.toLowerCase();if("serif"!=sFontLower&&"arial"!=sFontLower&&"arial black"!=sFontLower&&"bookman old style"!=sFontLower&&"comic sans ms"!=sFontLower&&"courier"!=sFontLower&&"courier new"!=sFontLower&&"garamond"!=sFontLower&&"georgia"!=sFontLower&&"impact"!=sFontLower&&"lucida console"!=sFontLower&&"lucida sans unicode"!=sFontLower&&"ms sans serif"!=sFontLower&&"ms serif"!=sFontLower&&"palatino linotype"!=sFontLower&&"tahoma"!=sFontLower&&"times new roman"!=sFontLower&&"trebuchet ms"!=sFontLower&&"verdana"!=sFontLower){sURL="http://fonts.googleapis.com/css?family="+sFont+"&subset=latin,cyrillic";var objL=oEditor.document.createElement("LINK");objL.href=sURL,objL.rel="StyleSheet",oEditor.document.documentElement.childNodes[0].appendChild(objL)}}}}),function(t,e){function n(t){return t.call.apply(t.bind,arguments)}function i(t,e){if(!t)throw Error();if(2<arguments.length){var n=Array.prototype.slice.call(arguments,2);return function(){var i=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(i,n),t.apply(e,i)}}return function(){return t.apply(e,arguments)}}function o(){return o=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?n:i,o.apply(null,arguments)}function a(t,e){this.K=t,this.w=e||t,this.G=this.w.document}function r(t,n,i){t=t.G.getElementsByTagName(n)[0],t||(t=e.documentElement),t&&t.lastChild&&t.insertBefore(i,t.lastChild)}function s(t,e){function n(){t.G.body?e():setTimeout(n,0)}n()}function l(t,e,n){e=e||[],n=n||[];for(var i=t.className.split(/\s+/),o=0;o<e.length;o+=1){for(var a=!1,r=0;r<i.length;r+=1)if(e[o]===i[r]){a=!0;break}a||i.push(e[o])}for(e=[],o=0;o<i.length;o+=1){for(a=!1,r=0;r<n.length;r+=1)if(i[o]===n[r]){a=!0;break}a||e.push(i[o])}t.className=e.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function c(t,e){for(var n=t.className.split(/\s+/),i=0,o=n.length;o>i;i++)if(n[i]==e)return!0;return!1}function h(t){if("string"==typeof t.na)return t.na;var e=t.w.location.protocol;return"about:"==e&&(e=t.K.location.protocol),"https:"==e?"https:":"http:"}function u(t,e){var n=t.createElement("link",{rel:"stylesheet",href:e,media:"all"}),i=!1;n.onload=function(){i||(i=!0)},n.onerror=function(){i||(i=!0)},r(t,"head",n)}function d(e,n,i,o){var a=e.G.getElementsByTagName("head")[0];if(a){var r=e.createElement("script",{src:n}),s=!1;return r.onload=r.onreadystatechange=function(){s||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(s=!0,i&&i(null),r.onload=r.onreadystatechange=null,"HEAD"==r.parentNode.tagName&&a.removeChild(r))},a.appendChild(r),t.setTimeout(function(){s||(s=!0,i&&i(Error("Script load timeout")))},o||5e3),r}return null}function p(t,e){this.Y=t,this.ga=e}function f(t,e,n,i){this.c=null!=t?t:null,this.g=null!=e?e:null,this.D=null!=n?n:null,this.e=null!=i?i:null}function m(t){t=G.exec(t);var e=null,n=null,i=null,o=null;return t&&(null!==t[1]&&t[1]&&(e=parseInt(t[1],10)),null!==t[2]&&t[2]&&(n=parseInt(t[2],10)),null!==t[3]&&t[3]&&(i=parseInt(t[3],10)),null!==t[4]&&t[4]&&(o=/^[0-9]+$/.test(t[4])?parseInt(t[4],10):t[4])),new f(e,n,i,o)}function v(t,e,n,i,o,a,r,s){this.N=t,this.k=s}function g(t){this.a=t}function $(t){var e=_(t.a,/(iPod|iPad|iPhone|Android|Windows Phone|BB\d{2}|BlackBerry)/,1);return""!=e?(/BB\d{2}/.test(e)&&(e="BlackBerry"),e):(t=_(t.a,/(Linux|Mac_PowerPC|Macintosh|Windows|CrOS|PlayStation|CrKey)/,1),""!=t?("Mac_PowerPC"==t?t="Macintosh":"PlayStation"==t&&(t="Linux"),t):"Unknown")}function w(t){var e=_(t.a,/(OS X|Windows NT|Android) ([^;)]+)/,2);if(e||(e=_(t.a,/Windows Phone( OS)? ([^;)]+)/,2))||(e=_(t.a,/(iPhone )?OS ([\d_]+)/,2)))return e;if(e=_(t.a,/(?:Linux|CrOS|CrKey) ([^;)]+)/,1))for(var e=e.split(/\s/),n=0;n<e.length;n+=1)if(/^[\d\._]+$/.test(e[n]))return e[n];return(t=_(t.a,/(BB\d{2}|BlackBerry).*?Version\/([^\s]*)/,2))?t:"Unknown"}function y(t){var e=$(t),n=m(w(t)),i=m(_(t.a,/AppleWeb(?:K|k)it\/([\d\.\+]+)/,1)),o="Unknown",a=new f,a="Unknown",r=!1;return/OPR\/[\d.]+/.test(t.a)?o="Opera":-1!=t.a.indexOf("Chrome")||-1!=t.a.indexOf("CrMo")||-1!=t.a.indexOf("CriOS")?o="Chrome":/Silk\/\d/.test(t.a)?o="Silk":"BlackBerry"==e||"Android"==e?o="BuiltinBrowser":-1!=t.a.indexOf("PhantomJS")?o="PhantomJS":-1!=t.a.indexOf("Safari")?o="Safari":-1!=t.a.indexOf("AdobeAIR")?o="AdobeAIR":-1!=t.a.indexOf("PlayStation")&&(o="BuiltinBrowser"),"BuiltinBrowser"==o?a="Unknown":"Silk"==o?a=_(t.a,/Silk\/([\d\._]+)/,1):"Chrome"==o?a=_(t.a,/(Chrome|CrMo|CriOS)\/([\d\.]+)/,2):-1!=t.a.indexOf("Version/")?a=_(t.a,/Version\/([\d\.\w]+)/,1):"AdobeAIR"==o?a=_(t.a,/AdobeAIR\/([\d\.]+)/,1):"Opera"==o?a=_(t.a,/OPR\/([\d.]+)/,1):"PhantomJS"==o&&(a=_(t.a,/PhantomJS\/([\d.]+)/,1)),a=m(a),r="AdobeAIR"==o?2<a.c||2==a.c&&5<=a.g:"BlackBerry"==e?10<=n.c:"Android"==e?2<n.c||2==n.c&&1<n.g:526<=i.c||525<=i.c&&13<=i.g,new v(o,0,0,0,0,0,0,new p(r,536>i.c||536==i.c&&11>i.g))}function _(t,e,n){return(t=t.match(e))&&t[n]?t[n]:""}function b(t){this.ma=t||"-"}function k(t,e){this.N=t,this.Z=4,this.O="n";var n=(e||"n4").match(/^([nio])([1-9])$/i);n&&(this.O=n[1],this.Z=parseInt(n[2],10))}function x(t){return t.O+t.Z}function L(t){var e=4,n="n",i=null;return t&&((i=t.match(/(normal|oblique|italic)/i))&&i[1]&&(n=i[1].substr(0,1).toLowerCase()),(i=t.match(/([1-9]00|normal|bold)/i))&&i[1]&&(/bold/i.test(i[1])?e=7:/[1-9]00/.test(i[1])&&(e=parseInt(i[1].substr(0,1),10)))),n+e}function C(t,e){this.d=t,this.q=t.w.document.documentElement,this.Q=e,this.j="wf",this.h=new b("-"),this.ha=!1!==e.events,this.F=!1!==e.classes}function F(t){if(t.F){var e=c(t.q,t.h.e(t.j,"active")),n=[],i=[t.h.e(t.j,"loading")];e||n.push(t.h.e(t.j,"inactive")),l(t.q,n,i)}O(t,"inactive")}function O(t,e,n){t.ha&&t.Q[e]&&(n?t.Q[e](n.getName(),x(n)):t.Q[e]())}function E(){this.C={}}function S(t,e){this.d=t,this.I=e,this.o=this.d.createElement("span",{"aria-hidden":"true"},this.I)}function T(t,e){var n,i=t.o;n=[];for(var o=e.N.split(/,\s*/),a=0;a<o.length;a++){var r=o[a].replace(/['"]/g,"");n.push(-1==r.indexOf(" ")?r:"'"+r+"'")}n=n.join(","),o="normal","o"===e.O?o="oblique":"i"===e.O&&(o="italic"),i.style.cssText="display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+n+";"+("font-style:"+o+";font-weight:"+(e.Z+"00")+";")}function j(t){r(t.d,"body",t.o)}function M(t,e,n,i,o,a,r,s){this.$=t,this.ka=e,this.d=n,this.m=i,this.k=o,this.I=s||"BESbswy",this.v={},this.X=a||3e3,this.ca=r||null,this.H=this.u=this.t=null,this.t=new S(this.d,this.I),this.u=new S(this.d,this.I),this.H=new S(this.d,this.I),T(this.t,new k("serif",x(this.m))),T(this.u,new k("sans-serif",x(this.m))),T(this.H,new k("monospace",x(this.m))),j(this.t),j(this.u),j(this.H),this.v.serif=this.t.o.offsetWidth,this.v["sans-serif"]=this.u.o.offsetWidth,this.v.monospace=this.H.o.offsetWidth}function A(t,e,n){for(var i in X)if(X.hasOwnProperty(i)&&e===t.v[X[i]]&&n===t.v[X[i]])return!0;return!1}function N(t){var e=t.t.o.offsetWidth,n=t.u.o.offsetWidth;e===t.v.serif&&n===t.v["sans-serif"]||t.k.ga&&A(t,e,n)?Z()-t.oa>=t.X?t.k.ga&&A(t,e,n)&&(null===t.ca||t.ca.hasOwnProperty(t.m.getName()))?I(t,t.$):I(t,t.ka):B(t):I(t,t.$)}function B(t){setTimeout(o(function(){N(this)},t),50)}function I(t,e){t.t.remove(),t.u.remove(),t.H.remove(),e(t.m)}function P(t,e,n,i){this.d=e,this.A=n,this.S=0,this.ea=this.ba=!1,this.X=i,this.k=t.k}function H(t,e,n,i,a){if(n=n||{},0===e.length&&a)F(t.A);else for(t.S+=e.length,a&&(t.ba=a),a=0;a<e.length;a++){var r=e[a],s=n[r.getName()],c=t.A,h=r;c.F&&l(c.q,[c.h.e(c.j,h.getName(),x(h).toString(),"loading")]),O(c,"fontloading",h),c=null,c=new M(o(t.ia,t),o(t.ja,t),t.d,r,t.k,t.X,i,s),c.start()}}function U(t){0==--t.S&&t.ba&&(t.ea?(t=t.A,t.F&&l(t.q,[t.h.e(t.j,"active")],[t.h.e(t.j,"loading"),t.h.e(t.j,"inactive")]),O(t,"active")):F(t.A))}function z(t){this.K=t,this.B=new E,this.pa=new g(t.navigator.userAgent),this.a=this.pa.parse(),this.U=this.V=0,this.R=this.T=!0}function R(t,e,n,i,o){var a=0==--t.V;(t.R||t.T)&&setTimeout(function(){H(e,n,i||null,o||null,a)},0)}function W(t,e,n){this.P=t?t:e+te,this.s=[],this.W=[],this.fa=n||""}function q(t){this.s=t,this.da=[],this.M={}}function J(t,e){this.a=new g(navigator.userAgent).parse(),this.d=t,this.f=e}function K(t,e){this.d=t,this.f=e,this.p=[]}function Q(t,e){this.d=t,this.f=e,this.p=[]}function D(t,e){this.d=t,this.f=e,this.p=[]}function V(t,e){this.d=t,this.f=e}var Z=Date.now||function(){return+new Date};a.prototype.createElement=function(t,e,n){if(t=this.G.createElement(t),e)for(var i in e)e.hasOwnProperty(i)&&("style"==i?t.style.cssText=e[i]:t.setAttribute(i,e[i]));return n&&t.appendChild(this.G.createTextNode(n)),t};var G=/^([0-9]+)(?:[\._-]([0-9]+))?(?:[\._-]([0-9]+))?(?:[\._+-]?(.*))?$/;f.prototype.compare=function(t){return this.c>t.c||this.c===t.c&&this.g>t.g||this.c===t.c&&this.g===t.g&&this.D>t.D?1:this.c<t.c||this.c===t.c&&this.g<t.g||this.c===t.c&&this.g===t.g&&this.D<t.D?-1:0},f.prototype.toString=function(){return[this.c,this.g||"",this.D||"",this.e||""].join("")},v.prototype.getName=function(){return this.N};var Y=new v("Unknown",0,0,0,0,0,0,new p(!1,!1));g.prototype.parse=function(){var t;if(-1!=this.a.indexOf("MSIE")||-1!=this.a.indexOf("Trident/")){t=$(this);var e=m(w(this)),n=null,i=_(this.a,/Trident\/([\d\w\.]+)/,1),n=m(-1!=this.a.indexOf("MSIE")?_(this.a,/MSIE ([\d\w\.]+)/,1):_(this.a,/rv:([\d\w\.]+)/,1));""!=i&&m(i),t=new v("MSIE",0,0,0,0,0,0,new p("Windows"==t&&6<=n.c||"Windows Phone"==t&&8<=e.c,!1))}else if(-1!=this.a.indexOf("Opera"))t:if(t=m(_(this.a,/Presto\/([\d\w\.]+)/,1)),m(w(this)),null!==t.c||m(_(this.a,/rv:([^\)]+)/,1)),-1!=this.a.indexOf("Opera Mini/"))t=m(_(this.a,/Opera Mini\/([\d\.]+)/,1)),t=new v("OperaMini",0,0,0,$(this),0,0,new p(!1,!1));else{if(-1!=this.a.indexOf("Version/")&&(t=m(_(this.a,/Version\/([\d\.]+)/,1)),null!==t.c)){t=new v("Opera",0,0,0,$(this),0,0,new p(10<=t.c,!1));break t}t=m(_(this.a,/Opera[\/ ]([\d\.]+)/,1)),t=null!==t.c?new v("Opera",0,0,0,$(this),0,0,new p(10<=t.c,!1)):new v("Opera",0,0,0,$(this),0,0,new p(!1,!1))}else/OPR\/[\d.]+/.test(this.a)?t=y(this):/AppleWeb(K|k)it/.test(this.a)?t=y(this):-1!=this.a.indexOf("Gecko")?(t="Unknown",e=new f,m(w(this)),e=!1,-1!=this.a.indexOf("Firefox")?(t="Firefox",e=m(_(this.a,/Firefox\/([\d\w\.]+)/,1)),e=3<=e.c&&5<=e.g):-1!=this.a.indexOf("Mozilla")&&(t="Mozilla"),n=m(_(this.a,/rv:([^\)]+)/,1)),e||(e=1<n.c||1==n.c&&9<n.g||1==n.c&&9==n.g&&2<=n.D),t=new v(t,0,0,0,$(this),0,0,new p(e,!1))):t=Y;return t},b.prototype.e=function(){for(var t=[],e=0;e<arguments.length;e++)t.push(arguments[e].replace(/[\W_]+/g,"").toLowerCase());return t.join(this.ma)},k.prototype.getName=function(){return this.N},S.prototype.remove=function(){var t=this.o;t.parentNode&&t.parentNode.removeChild(t)};var X={sa:"serif",ra:"sans-serif",qa:"monospace"};M.prototype.start=function(){this.oa=Z(),T(this.t,new k(this.m.getName()+",serif",x(this.m))),T(this.u,new k(this.m.getName()+",sans-serif",x(this.m))),N(this)},P.prototype.ia=function(t){var e=this.A;e.F&&l(e.q,[e.h.e(e.j,t.getName(),x(t).toString(),"active")],[e.h.e(e.j,t.getName(),x(t).toString(),"loading"),e.h.e(e.j,t.getName(),x(t).toString(),"inactive")]),O(e,"fontactive",t),this.ea=!0,U(this)},P.prototype.ja=function(t){var e=this.A;if(e.F){var n=c(e.q,e.h.e(e.j,t.getName(),x(t).toString(),"active")),i=[],o=[e.h.e(e.j,t.getName(),x(t).toString(),"loading")];n||i.push(e.h.e(e.j,t.getName(),x(t).toString(),"inactive")),l(e.q,i,o)}O(e,"fontinactive",t),U(this)},z.prototype.load=function(t){this.d=new a(this.K,t.context||this.K),this.T=!1!==t.events,this.R=!1!==t.classes;var e=new C(this.d,t),n=[],i=t.timeout;e.F&&l(e.q,[e.h.e(e.j,"loading")]),O(e,"loading");var r,n=this.B,s=this.d,c=[];for(r in t)if(t.hasOwnProperty(r)){var h=n.C[r];h&&c.push(h(t[r],s))}for(n=c,this.U=this.V=n.length,t=new P(this.a,this.d,e,i),i=0,r=n.length;r>i;i++)s=n[i],s.L(this.a,o(this.la,this,s,e,t))},z.prototype.la=function(t,e,n,i){var o=this;i?t.load(function(t,e,i){R(o,n,t,e,i)}):(t=0==--this.V,this.U--,t&&0==this.U?F(e):(this.R||this.T)&&H(n,[],{},null,t))};var te="//fonts.googleapis.com/css";W.prototype.e=function(){if(0==this.s.length)throw Error("No fonts to load!");if(-1!=this.P.indexOf("kit="))return this.P;for(var t=this.s.length,e=[],n=0;t>n;n++)e.push(this.s[n].replace(/ /g,"+"));return t=this.P+"?family="+e.join("%7C"),0<this.W.length&&(t+="&subset="+this.W.join(",")),0<this.fa.length&&(t+="&text="+encodeURIComponent(this.fa)),t};var ee={latin:"BESbswy",cyrillic:"йяЖ",greek:"αβΣ",khmer:"កខគ",Hanuman:"កខគ"},ne={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},ie={i:"i",italic:"i",n:"n",normal:"n"},oe=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;q.prototype.parse=function(){for(var t=this.s.length,e=0;t>e;e++){var n=this.s[e].split(":"),i=n[0].replace(/\+/g," "),o=["n4"];if(2<=n.length){var a,r=n[1];if(a=[],r)for(var r=r.split(","),s=r.length,l=0;s>l;l++){var c;if(c=r[l],c.match(/^[\w-]+$/)){c=oe.exec(c.toLowerCase());var h=void 0;if(null==c)h="";else{if(h=void 0,h=c[1],null==h||""==h)h="4";else var u=ne[h],h=u?u:isNaN(h)?"4":h.substr(0,1);c=c[2],h=[null==c||""==c?"n":ie[c],h].join("")}c=h}else c="";c&&a.push(c)}0<a.length&&(o=a),3==n.length&&(n=n[2],a=[],n=n?n.split(","):a,0<n.length&&(n=ee[n[0]])&&(this.M[i]=n))}for(this.M[i]||(n=ee[i])&&(this.M[i]=n),n=0;n<o.length;n+=1)this.da.push(new k(i,o[n]))}};var ae={Arimo:!0,Cousine:!0,Tinos:!0};J.prototype.L=function(t,e){e(t.k.Y)},J.prototype.load=function(t){var e=this.d;"MSIE"==this.a.getName()&&1!=this.f.blocking?s(e,o(this.aa,this,t)):this.aa(t)},J.prototype.aa=function(t){for(var e=this.d,n=new W(this.f.api,h(e),this.f.text),i=this.f.families,o=i.length,a=0;o>a;a++){var r=i[a].split(":");3==r.length&&n.W.push(r.pop());var s="";2==r.length&&""!=r[1]&&(s=":"),n.s.push(r.join(s))}i=new q(i),i.parse(),u(e,n.e()),t(i.da,i.M,ae)},K.prototype.J=function(t){var e=this.d;return h(this.d)+(this.f.api||"//f.fontdeck.com/s/css/js/")+(e.w.location.hostname||e.K.location.hostname)+"/"+t+".js"},K.prototype.L=function(t,e){var n=this.f.id,i=this.d.w,o=this;n?(i.__webfontfontdeckmodule__||(i.__webfontfontdeckmodule__={}),i.__webfontfontdeckmodule__[n]=function(t,n){for(var i=0,a=n.fonts.length;a>i;++i){var r=n.fonts[i];o.p.push(new k(r.name,L("font-weight:"+r.weight+";font-style:"+r.style)))}e(t)},d(this.d,this.J(n),function(t){t&&e(!1)})):e(!1)},K.prototype.load=function(t){t(this.p)},Q.prototype.J=function(t){var e=h(this.d);return(this.f.api||e+"//use.typekit.net")+"/"+t+".js"},Q.prototype.L=function(t,e){var n=this.f.id,i=this.d.w,o=this;n?d(this.d,this.J(n),function(t){if(t)e(!1);else{if(i.Typekit&&i.Typekit.config&&i.Typekit.config.fn){t=i.Typekit.config.fn;for(var n=0;n<t.length;n+=2)for(var a=t[n],r=t[n+1],s=0;s<r.length;s++)o.p.push(new k(a,r[s]));try{i.Typekit.load({events:!1,classes:!1})}catch(l){}}e(!0)}},2e3):e(!1)},Q.prototype.load=function(t){t(this.p)},D.prototype.L=function(t,e){var n=this,i=n.f.projectId,o=n.f.version;if(i){var a=n.d.w;d(this.d,n.J(i,o),function(o){if(o)e(!1);else{if(a["__mti_fntLst"+i]&&(o=a["__mti_fntLst"+i]()))for(var r=0;r<o.length;r++)n.p.push(new k(o[r].fontfamily));e(t.k.Y)}}).id="__MonotypeAPIScript__"+i}else e(!1)},D.prototype.J=function(t,e){var n=h(this.d),i=(this.f.api||"fast.fonts.net/jsapi").replace(/^.*http(s?):(\/\/)?/,"");return n+"//"+i+"/"+t+".js"+(e?"?v="+e:"")},D.prototype.load=function(t){t(this.p)},V.prototype.load=function(t){var e,n,i=this.f.urls||[],o=this.f.families||[],a=this.f.testStrings||{};for(e=0,n=i.length;n>e;e++)u(this.d,i[e]);for(i=[],e=0,n=o.length;n>e;e++){var r=o[e].split(":");if(r[1])for(var s=r[1].split(","),l=0;l<s.length;l+=1)i.push(new k(r[0],s[l]));else i.push(new k(r[0]))}t(i,a)},V.prototype.L=function(t,e){return e(t.k.Y)};var re=new z(this);re.B.C.custom=function(t,e){return new V(e,t)},re.B.C.fontdeck=function(t,e){return new K(e,t)},re.B.C.monotype=function(t,e){return new D(e,t)},re.B.C.typekit=function(t,e){return new Q(e,t)},re.B.C.google=function(t,e){return new J(e,t)},this.WebFont||(this.WebFont={},this.WebFont.load=o(re.load,re),this.WebFontConfig&&re.load(this.WebFontConfig))}(this,document);
//# sourceMappingURL=main.min.map

Старый js сохрани, а то вдруг что-то не так пойдет


MIR-HACK.RU - Добро пожаловать в мир читов!
Страна: (RU)
Angerfist
Пятница, 09 Декабря 2016 | Сообщение 3
Оффлайн
Vip
Сообщений:767
Награды: 21
no_matter, js не причём, он для других целей, а в футере просто удаляем ссылки на их портал тут:

Код

<div id="footer" class="wrap clr">
<div class="footsep">
<div class="realarts"><img src="/images/spacer.gif"></div>
<div class="copyright">
<p>
<b>XBOXPLAY - Мега коллекция игр для <a title="" href="/" target="_blank">xbox 360</a> и <a href="/" target="_blank">xbox one</a></b>. Файлы для обмена предоставлены пользователями сайта. Администрация не несёт ответственности за их содержание.
</p>
<!-- "' --><span class="pbubu8LU"><a href="http://www.ucoz.ru/" title="Сайт создан при помощи uCoz" target="_blank" rel="nofollow">uCoz</a></span>.
  | Дизайн подготовлен командой <b><a href="//art-ucoz.ru" target="_blank">Art-uCoz.ru</a></b>. Все права защищены.</div>
</div>
<a href="//art-ucoz.ru/" target="_blank" class="copy-des" style="top: 100%; right: 10px; margin-top: -72px; z-index: 1000;" title="">ART-UCOZ.RU - Интернет магазин шаблонов и студия веб дизайна</a></div>


Изображения можно поменять на свои тут в таблице стилей /css/styles.css, например классы
Код

.realarts {display:block; background:url(../images/rsep.png) no-repeat right; padding-right:35px; float:left; width:184px; margin-top:20px;}
.realarts img {background:url(../images/demidems.png) no-repeat; width:184px; height:51px;}    


Короче редактируй полностью футер, а это вообще снести, не нашёл откуда ноги растут у класса copy-des:

Код

<a href="//art-ucoz.ru/" target="_blank" class="copy-des" style="top: 100%; right: 10px; margin-top: -72px; z-index: 1000;" title="">ART-UCOZ.RU - Интернет магазин шаблонов и студия веб дизайна</a>


No regrets
Страна: (RU)
no_matter
Пятница, 09 Декабря 2016 | Сообщение 4
Оффлайн
Проверенные
Сообщений:187
Награды: 2
Angerfist, В футере нет ссылок, логотипа и текста с ними. В JS коде они через функцию .append добавляют свое

Добавлено (09.12.2016, 13:30)
---------------------------------------------
Slavik, спасибо помогло 04b

Добавлено (09.12.2016, 13:34)
---------------------------------------------
Slavik, А подсказать не можешь, что делает участок кода с .player_movie. Лишнее ничего не встраивается через код?


Выжимайте максимум из download-трафика - тут
Страна: (GE)
Angerfist
Пятница, 09 Декабря 2016 | Сообщение 5
Оффлайн
Vip
Сообщений:767
Награды: 21
Вообщем да надо править в этом js, я невнимательно осмотрел, как раз там ссылка на art-copy.css и класс copy-des нашёлся)

No regrets

Сообщение отредактировал
Angerfist - Пятница, 09 Декабря 2016, 13:38
Страна: (RU)
Slavik
Пятница, 09 Декабря 2016 | Сообщение 6
Оффлайн
Vip
Сообщений:1767
Награды: 4
Цитатаno_matter ()
Slavik, А подсказать не можешь, что делает участок кода с .player_movie. Лишнее ничего не встраивается через код?

Ну этот участок вроде как идет для видео, он поддерживает видео в формате MP4. А больше мне неизвестно про него, да и вообще я как-то им не пользовался 11a


MIR-HACK.RU - Добро пожаловать в мир читов!
Страна: (RU)
Форум » Общий раздел форума » Просьба с услугами » Удалить js код, встраивающий копирайт логотип
  • Страница 1 из 1
  • 1
Поиск: