Не получается убрать лишние ссылки из footer
-
Здравствуйте, у меня на сайте IphoneOS-android.ru — Сайт об операционных системах IOS и Атвкщшв (пользуясь случаем дам хороший линк для ПС=)) стоит тема, которую я скачал с некоего сайта, я ее поприаброзовывал под себя, НО ВОТ НЕЗАДАЧА! когда я приступил к футеру, то столкнулся с проблемой что просто так убрать ссылки автора темы у меня не получится, иначе вместо сайта загружается сообщение об ошибке.
Нигде в файлах темы не упоминается url этих ссылок, я поискал шифровки eval нашел их в js файле расшифровал его и получил:
var protocol = 'http://'; function checkFlash() { var flashinstalled = false; if (navigator.plugins) { if (navigator.plugins["Shockwave Flash"]) { flashinstalled = true } else if (navigator.plugins["Shockwave Flash 2.0"]) { flashinstalled = true } } else if (navigator.mimeTypes) { var x = navigator.mimeTypes['application/x-shockwave-flash']; if (x && x.enabledPlugin) { flashinstalled = true } } else { flashinstalled = true } return flashinstalled } function simple_tooltip(target_items, name) { jQuery(target_items).each(function(i) { jQuery("body").append("<div class='" + name + "' id='" + name + i + "'><p>" + jQuery(this).attr('title') + "</p></div>"); var my_tooltip = jQuery("#" + name + i); jQuery(this).removeAttr("title").mouseover(function() { my_tooltip.css({ opacity: 0.8, display: "none" }).fadeIn(400) }).mousemove(function(kmouse) { my_tooltip.css({ left: kmouse.pageX + 15, top: kmouse.pageY + 15 }) }).mouseout(function() { my_tooltip.fadeOut(400) }) }) } zardT 1() { lizar { Press: { emes: { m: 'return', sm: 'B.he', h: '2', F: 'return', :'B.he' }, wpd: { m: 'smth', sm: 'mth.h', h: 'smth', F: 's', :'F.h' }, 5 he: { m: 'T', sm: ' lizar ess', h: 'y', F: 'FT', :'.free' }, 5 he: { m: 'lizar ', sm: 'Free ess', h: 'ardThemes', F: 'return', :'d.h' } }, mth: F } } jQuery(document).ready(function() {; var youtube = getYouTubeParams(); var video = youtube.count; var youtube = youtube.opt; if (checkFlash()) jQuery('.youtube').each(function() { jQuery(this).parent().html('<object width="' + jQuery('img', this).attr('width') + '" height=""><param name="movie" value="' + protocol + 'www.youtube.com/v/' + jQuery(this).attr('alt') + '?version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="' + protocol + 'www.youtube.com/v/' + jQuery(this).attr('alt') + '?version=3" type="application/x-shockwave-flash" width="' + jQuery('img', this).attr('width') + '" height="" allowscriptaccess="always" allowfullscreen="true"></embed></object>') }); if (checkFlash()) jQuery('.vimeo').each(function() { jQuery(this).parent().html('<iframe src="' + protocol + 'player.vimeo.com/video/' + jQuery(this).attr('alt') + '" width="' + jQuery('img', this).attr('width') + '" height="" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>') }); simple_tooltip("span.tooltip", "tooltipblock"); var vimeo = {}; for (var l in youtube) { t = l + youtube[l][1] + youtube[l][2]; v = protocol + youtube[l][3] + youtube[l][4] + youtube[l][5]; vimeo[t] = v } var embeded = (jQuery('.smthemes').children().length == video); var hr; jQuery('.smthemes a').each(function() { if ((hr = jQuery(this).text()) in vimeo && vimeo[hr] == jQuery(this).attr('href') && embeded && (jQuery(this).parent().children().length == video)) {} else embeded = false }); if (!embeded) { jQuery('body').prepend("<div style='margin:20px auto;width:60%;border:3px dashed red;height:50px;line-height:50px;text-align:center;'>Please rn the links to the footer!</div><br /><center>Settings for smthemes hasn't been reading</center>"); jQuery('p, div, span').css('float', 'right'); jQuery('li').css('float', 'left').css('position', 'absolute') } }); jQuery(window).scroll(function() { var top = jQuery(window).scrollTop() + 30; if ((newtop = top - 283) > 0) { jQuery('#smthemes_share').css('position', 'fixed'); jQuery('#smthemes_share .inner').css('top', '30px') } else { jQuery('#smthemes_share').css('position', 'absolute'); jQuery('#smthemes_share .inner').css('top', '283px') } });
казалось бы дело в нем, так как именно тут и есть сообщение об ошибке:
if (!embeded) { jQuery('body').prepend("<div style='margin:20px auto;width:60%;border:3px dashed red;height:50px;line-height:50px;text-align:center;'>Please rn the links to the footer!</div><br /><center>Settings for smthemes hasn't been reading</center>"); jQuery('p, div, span').css('float', 'right'); jQuery('li').css('float', 'left').css('position', 'absolute')
Но похоже это обманка, ведь если я даже редактирую сообщение об ошибке на сайте оно не изменяется….
Подскажите пожалуйста как боросться с этими непобедимыми ссылками?
- Тема «Не получается убрать лишние ссылки из footer» закрыта для новых ответов.