From 07e1c0486eca5c6a3fee47009120e5818815da04 Mon Sep 17 00:00:00 2001 From: Carlos Longarela Date: Tue, 19 Nov 2019 18:29:08 +0100 Subject: [PATCH] Changed html to nunjucks and menu from js to html --- .editorconfig | 5 +- gulpfile.js | 23 + html/home.html | 38 +- html/hosting.html | 40 +- html/web-server.html | 44 +- html/wp-code.html | 39 +- html/wp-plugins.html | 38 +- html/wp-themes.html | 38 +- html/wp-tools.html | 42 +- html/wpo.html | 38 +- js/general.min.js | 2 +- js/home.min.js | 2 +- js/hosting.min.js | 2 +- js/maps/general.min.js.map | 2 +- js/maps/home.min.js.map | 2 +- js/maps/hosting.min.js.map | 2 +- js/maps/web-server.min.js.map | 2 +- js/maps/wp-code.min.js.map | 2 +- js/maps/wp-plugins.min.js.map | 2 +- js/maps/wp-themes.min.js.map | 2 +- js/maps/wp-tools.min.js.map | 2 +- js/maps/wpo.min.js.map | 2 +- js/web-server.min.js | 2 +- js/wp-code.min.js | 2 +- js/wp-plugins.min.js | 2 +- js/wp-themes.min.js | 2 +- js/wp-tools.min.js | 2 +- js/wpo.min.js | 2 +- manifest.json | 2 +- package-lock.json | 87 +++ package.json | 1 + src/templates/home.njk | 14 + src/templates/hosting.njk | 24 + .../includes/apache-rules-bad-bots.njk | 582 ++++++++++++++++++ src/templates/partials/footer.njk | 7 + src/templates/partials/header.njk | 16 + src/templates/partials/primary_menu.njk | 65 ++ src/templates/web-server.njk | 106 ++++ src/templates/wp-code.njk | 32 + src/templates/wp-plugins.njk | 33 + src/templates/wp-themes.njk | 26 + src/templates/wp-tools.njk | 83 +++ src/templates/wpo.njk | 71 +++ src/typescript/general.ts | 25 - src/typescript/home.ts | 8 +- src/typescript/hosting.ts | 2 - src/typescript/web-server.ts | 2 - src/typescript/wp-code.ts | 2 - src/typescript/wp-plugins.ts | 2 - src/typescript/wp-themes.ts | 17 - src/typescript/wp-tools.ts | 8 +- src/typescript/wpo.ts | 8 +- 52 files changed, 1494 insertions(+), 110 deletions(-) create mode 100644 src/templates/home.njk create mode 100644 src/templates/hosting.njk create mode 100644 src/templates/includes/apache-rules-bad-bots.njk create mode 100644 src/templates/partials/footer.njk create mode 100644 src/templates/partials/header.njk create mode 100644 src/templates/partials/primary_menu.njk create mode 100644 src/templates/web-server.njk create mode 100644 src/templates/wp-code.njk create mode 100644 src/templates/wp-plugins.njk create mode 100644 src/templates/wp-themes.njk create mode 100644 src/templates/wp-tools.njk create mode 100644 src/templates/wpo.njk diff --git a/.editorconfig b/.editorconfig index ed02c07..6090a18 100644 --- a/.editorconfig +++ b/.editorconfig @@ -14,8 +14,11 @@ trim_trailing_whitespace = true indent_style = space indent_size = 2 -[*.{htm,html,php,js,ts,css,scss}] +[*.{htm,html,njk,php,js,ts,css,scss}] end_of_line = lf insert_final_newline = true indent_style = tab indent_size = 4 + +[*.njk] +insert_final_newline = false diff --git a/gulpfile.js b/gulpfile.js index 6b8bf1d..3a287a8 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,5 +1,6 @@ var gulp = require( 'gulp' ), ts = require( 'gulp-typescript' ), + nunjucks = require( 'gulp-nunjucks' ), uglify = require( 'gulp-uglify' ), sass = require( 'gulp-sass' ), autoprefixer = require( 'autoprefixer' ), @@ -20,11 +21,30 @@ var SourceSCSS = [ 'src/scss/*.scss', ]; +var SourceNJK = [ + 'src/templates/*.njk', +]; + var plugins = [ autoprefixer( 'last 2 versions', '> 5%', 'not ie 6-9' ), cssnano() ]; +/** Nunjucks Tasks */ +gulp.task( 'nunjucks', function() { + var njk_dest = 'html'; + + return gulp.src( SourceNJK ) + .pipe( nunjucks.compile() ) + .pipe( rename( { extname: '.html' } ) ) + .pipe( gulp.dest( njk_dest ) ) + .pipe( notify( { + title: 'Gulp NJK Task Result:', + message: 'Files from [/' + SourceNJK + '/] created in [/' + njk_dest + '/].', + onLast: true + } ) ); + }); + /** Js Tasks */ gulp.task( 'general-scripts', function() { var js_dest = 'js'; @@ -66,6 +86,9 @@ gulp.task( 'general-scss', function() { } ); gulp.task( 'watch', function() { + // Inspect changes in njk files. + gulp.watch( SourceNJK, gulp.series( 'nunjucks' ) ); + // Inspect changes in ts files. gulp.watch( SourceTS, gulp.series( 'general-scripts' ) ); diff --git a/html/home.html b/html/home.html index b7c30a3..14723ec 100644 --- a/html/home.html +++ b/html/home.html @@ -10,7 +10,39 @@
- +
@@ -22,9 +54,11 @@

+
+ - + \ No newline at end of file diff --git a/html/hosting.html b/html/hosting.html index 537b7c5..958b45a 100644 --- a/html/hosting.html +++ b/html/hosting.html @@ -10,11 +10,41 @@
- + + +
@@ -34,9 +64,11 @@

{{msg_siteground_title}}

{{msg_siteground_text}}

+
+
- + \ No newline at end of file diff --git a/html/web-server.html b/html/web-server.html index f63c8fa..2ec4b88 100644 --- a/html/web-server.html +++ b/html/web-server.html @@ -10,7 +10,39 @@
- +
@@ -26,7 +58,7 @@

{{msg_webservers}}

Nginx
- +

{{msg_basic_htaccess}}

@@ -657,11 +689,10 @@

{{msg_bad_bots}}

RewriteRule .* - [F] # Block Emtpy and Spoofed User-Agents # RewriteCond %{HTTP_USER_AGENT} ^-?$ -RewriteRule .* - [F] - +RewriteRule .* - [F]
- +
+ - + \ No newline at end of file diff --git a/html/wp-code.html b/html/wp-code.html index e0a2186..4550ef2 100644 --- a/html/wp-code.html +++ b/html/wp-code.html @@ -1,7 +1,7 @@ - Code + WordPress Code @@ -10,7 +10,39 @@
- +
@@ -42,8 +74,9 @@

{{msg_other_utils}}

+ - + \ No newline at end of file diff --git a/html/wp-plugins.html b/html/wp-plugins.html index f8d5399..4323848 100644 --- a/html/wp-plugins.html +++ b/html/wp-plugins.html @@ -10,7 +10,39 @@
- +
@@ -41,9 +73,11 @@

{{msg_wp_plugins}}

{{msg_bloom_plugins}}

+
+ - + \ No newline at end of file diff --git a/html/wp-themes.html b/html/wp-themes.html index 1e71575..37cfe54 100644 --- a/html/wp-themes.html +++ b/html/wp-themes.html @@ -10,7 +10,39 @@
- +
@@ -34,9 +66,11 @@

{{msg_wp_themes}}

{{msg_divi_themes}}

+
+ - + \ No newline at end of file diff --git a/html/wp-tools.html b/html/wp-tools.html index f636457..6b48448 100644 --- a/html/wp-tools.html +++ b/html/wp-tools.html @@ -10,17 +10,47 @@
- +

{{msg_wp_tools_title}}

-

{{msg_wp_config_title}}

-
- {{msg_security_keys}} + {{msg_security_keys}}

{{msg_generate_salt}}

{{msg_generate}}

@@ -93,9 +123,11 @@

{{msg_wp_config_title}}

+
+
- + \ No newline at end of file diff --git a/html/wpo.html b/html/wpo.html index 4ac131b..567c5a5 100644 --- a/html/wpo.html +++ b/html/wpo.html @@ -10,7 +10,39 @@
- +
@@ -27,7 +59,6 @@

{{msg_medition_tools}}

MAIL
-

WPO

@@ -82,8 +113,9 @@

Mail

+ - + \ No newline at end of file diff --git a/js/general.min.js b/js/general.min.js index ca28dbc..ddf80c2 100644 --- a/js/general.min.js +++ b/js/general.min.js @@ -1,2 +1,2 @@ -var utils={translator:function(e){"use strict";var t,n;function i(t){return t.replace(/\{\{([\s\S]*?)\}\}/gm,function(t,e){return chrome.i18n.getMessage(e.trim())||t})}if(e.attributes&&["title","alt","placeholder","value","href"].forEach(function(t){e.attributes[t]&&(e.attributes[t].value=i(e.attributes[t].value))}),3===e.nodeType)e.data=i(e.data);else for(t=0,n=e.childNodes.length;t':'
';var o=this.create(i);document.getElementById("primary_menu").appendChild(o)},get_current_tab:function(e){"use strict";var n=this;chrome.tabs.query({active:!0,currentWindow:!0},function(t){0"+chrome.i18n.getMessage("msg_only_http")+"

"+chrome.i18n.getMessage("msg_2_only_http")+' https://tabernawp.com/best-wordpress-tools

');console.log(t),document.getElementById("notice").appendChild(t),this.hide_div("app_info"),this.show_div("notice")},show_div:function(t){"use strict";document.getElementById(t).style.display="block"},hide_div:function(t){"use strict";document.getElementById(t).style.display="none"},show_hide_div:function(t){"use strict";"none"===document.getElementById(t).style.display?this.show_div(t):this.hide_div(t)},show_data_div:function(){var t=document.getElementById("data").style;t.height="auto",t.overflow="auto",t.opacity="1"},copy_text:function(t){"use strict";var e=this;document.getElementById(t).select(),document.execCommand("copy"),document.getElementById("notice").textContent=chrome.i18n.getMessage("msg_text_copied"),this.show_div("notice"),setTimeout(function(){e.hide_div("notice")},4e3)},extract_hostname:function(t){"use strict";return(-1"+chrome.i18n.getMessage("msg_only_http")+"

"+chrome.i18n.getMessage("msg_2_only_http")+' https://tabernawp.com/best-wordpress-tools

');console.log(t),document.getElementById("notice").appendChild(t),this.hide_div("app_info"),this.show_div("notice")},show_div:function(t){"use strict";document.getElementById(t).style.display="block"},hide_div:function(t){"use strict";document.getElementById(t).style.display="none"},show_hide_div:function(t){"use strict";"none"===document.getElementById(t).style.display?this.show_div(t):this.hide_div(t)},show_data_div:function(){var t=document.getElementById("data").style;t.height="auto",t.overflow="auto",t.opacity="1"},copy_text:function(t){"use strict";var e=this;document.getElementById(t).select(),document.execCommand("copy"),document.getElementById("notice").textContent=chrome.i18n.getMessage("msg_text_copied"),this.show_div("notice"),setTimeout(function(){e.hide_div("notice")},4e3)},extract_hostname:function(t){"use strict";return(-1"+chrome.i18n.getMessage("msg_http_code")+": "+e.http_code+"

"),e.primary_ip&&(s+="

"+chrome.i18n.getMessage("msg_ip")+": "+e.primary_ip+"

"),e.namelookup_time&&(s+="

"+chrome.i18n.getMessage("msg_dns_lookup")+": "+(1e3*e.namelookup_time).toFixed(2)+" ms

"),e.connect_time&&(s+="

"+chrome.i18n.getMessage("msg_connect_time")+": "+(1e3*e.connect_time).toFixed(2)+" ms

"),e.pretransfer_time&&(s+="

"+chrome.i18n.getMessage("msg_pretransfer_time")+": "+(1e3*e.pretransfer_time).toFixed(2)+" ms

"),e.starttransfer_time&&(s+="

"+chrome.i18n.getMessage("msg_starttransfer_time")+": "+(1e3*e.starttransfer_time).toFixed(2)+" ms

"),e.total_time&&(s+="

"+chrome.i18n.getMessage("msg_total_time")+": "+(1e3*e.total_time).toFixed(2)+" ms

"),e.compress?s+="

"+chrome.i18n.getMessage("msg_compress")+': '+e.compress+"

":s+="

"+chrome.i18n.getMessage("msg_compress")+': '+chrome.i18n.getMessage("msg_no")+"

",e.http_headers_html&&(s+='
'+chrome.i18n.getMessage("msg_headers")+":"+e.http_headers_html+"
"));var t=utils.create(s);document.getElementById("api_url_info").appendChild(t)}utils.translator(document.body),utils.set_menu("home"),utils.get_current_tab(function(e){var s,t,g;s="",g="https"===e.url.substring(0,5)?(t='',''+chrome.i18n.getMessage("msg_https_on")+""):(t='',''+chrome.i18n.getMessage("msg_https_off")+""),e.favIconUrl?"data:image"===e.favIconUrl.substring(0,10)?s+='

'+chrome.i18n.getMessage("msg_favicon")+"

":s+='

'+chrome.i18n.getMessage("msg_favicon")+': '+e.favIconUrl+"

":s+='

'+chrome.i18n.getMessage("msg_no_favicon")+"

",s+="

"+chrome.i18n.getMessage("msg_url")+': '+e.url+"

",s+="

"+chrome.i18n.getMessage("msg_title")+": "+e.title+"

",s+="

"+chrome.i18n.getMessage("msg_width_height")+": "+e.width+"px * "+e.height+"px

",s+="

"+t+" "+g+"

",!1===e.incognito?s+="

"+chrome.i18n.getMessage("msg_incognito_no")+"

":s+="

"+chrome.i18n.getMessage("msg_incognito_yes")+"

","loading"===e.status?s+="

"+chrome.i18n.getMessage("msg_status")+': '+chrome.i18n.getMessage("msg_loading")+"

":"complete"===e.status&&(s+="

"+chrome.i18n.getMessage("msg_status")+': '+chrome.i18n.getMessage("msg_complete")+"

"),s+="

"+chrome.i18n.getMessage("msg_domain")+": "+utils.extract_hostname(e.url)+"

";var n=utils.create(s);document.getElementById("url_info").appendChild(n),utils.ajax("https://tabernawp.com/best-wp-tools/api/?url="+encodeURI(e.url),o)}),utils.show_data_div()}); +document.addEventListener("DOMContentLoaded",function(){"use strict";function o(e){var s;s="",e&&!0===e.status_ok&&(e.http_code&&(s+="

"+chrome.i18n.getMessage("msg_http_code")+": "+e.http_code+"

"),e.primary_ip&&(s+="

"+chrome.i18n.getMessage("msg_ip")+": "+e.primary_ip+"

"),e.namelookup_time&&(s+="

"+chrome.i18n.getMessage("msg_dns_lookup")+": "+(1e3*e.namelookup_time).toFixed(2)+" ms

"),e.connect_time&&(s+="

"+chrome.i18n.getMessage("msg_connect_time")+": "+(1e3*e.connect_time).toFixed(2)+" ms

"),e.pretransfer_time&&(s+="

"+chrome.i18n.getMessage("msg_pretransfer_time")+": "+(1e3*e.pretransfer_time).toFixed(2)+" ms

"),e.starttransfer_time&&(s+="

"+chrome.i18n.getMessage("msg_starttransfer_time")+": "+(1e3*e.starttransfer_time).toFixed(2)+" ms

"),e.total_time&&(s+="

"+chrome.i18n.getMessage("msg_total_time")+": "+(1e3*e.total_time).toFixed(2)+" ms

"),e.compress?s+="

"+chrome.i18n.getMessage("msg_compress")+': '+e.compress+"

":s+="

"+chrome.i18n.getMessage("msg_compress")+': '+chrome.i18n.getMessage("msg_no")+"

",e.http_headers_html&&(s+='
'+chrome.i18n.getMessage("msg_headers")+":"+e.http_headers_html+"
"));var t=utils.create(s);document.getElementById("api_url_info").appendChild(t)}utils.translator(document.body),utils.get_current_tab(function(e){var s,t,g;s="",g="https"===e.url.substring(0,5)?(t='',''+chrome.i18n.getMessage("msg_https_on")+""):(t='',''+chrome.i18n.getMessage("msg_https_off")+""),e.favIconUrl?"data:image"===e.favIconUrl.substring(0,10)?s+='

'+chrome.i18n.getMessage("msg_favicon")+"

":s+='

'+chrome.i18n.getMessage("msg_favicon")+': '+e.favIconUrl+"

":s+='

'+chrome.i18n.getMessage("msg_no_favicon")+"

",s+="

"+chrome.i18n.getMessage("msg_url")+': '+e.url+"

",s+="

"+chrome.i18n.getMessage("msg_title")+": "+e.title+"

",s+="

"+chrome.i18n.getMessage("msg_width_height")+": "+e.width+"px * "+e.height+"px

",s+="

"+t+" "+g+"

",!1===e.incognito?s+="

"+chrome.i18n.getMessage("msg_incognito_no")+"

":s+="

"+chrome.i18n.getMessage("msg_incognito_yes")+"

","loading"===e.status?s+="

"+chrome.i18n.getMessage("msg_status")+': '+chrome.i18n.getMessage("msg_loading")+"

":"complete"===e.status&&(s+="

"+chrome.i18n.getMessage("msg_status")+': '+chrome.i18n.getMessage("msg_complete")+"

"),s+="

"+chrome.i18n.getMessage("msg_domain")+": "+utils.extract_hostname(e.url)+"

";var n=utils.create(s);document.getElementById("url_info").appendChild(n),utils.ajax("https://tabernawp.com/best-wp-tools/api/?url="+encodeURI(e.url),o)}),utils.show_data_div()}); //# sourceMappingURL=maps/home.min.js.map diff --git a/js/hosting.min.js b/js/hosting.min.js index 6f59b95..6ec10f6 100644 --- a/js/hosting.min.js +++ b/js/hosting.min.js @@ -1,2 +1,2 @@ -document.addEventListener("DOMContentLoaded",function(){"use strict";utils.translator(document.body),utils.set_menu("hosting"),utils.show_data_div()}); +document.addEventListener("DOMContentLoaded",function(){"use strict";utils.translator(document.body),utils.show_data_div()}); //# sourceMappingURL=maps/hosting.min.js.map diff --git a/js/maps/general.min.js.map b/js/maps/general.min.js.map index 2c5ad80..355b920 100644 --- a/js/maps/general.min.js.map +++ b/js/maps/general.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["general.js"],"names":["utils","translator","html","i","length","replacer","text","replace","str","g1","chrome","i18n","getMessage","trim","attributes","forEach","el","value","nodeType","data","childNodes","this","ajax","url","fn","request","XMLHttpRequest","onreadystatechange","readyState","response","open","responseType","send","create","htmlStr","frag","document","createDocumentFragment","temp","createElement","innerHTML","firstChild","appendChild","set_menu","active_item","sections","sections_length","html_menu","getElementById","fragment","get_current_tab","self","tabs","query","active","currentWindow","substring","url_not_valid","console","log","hide_div","show_div","div_id","style","display","show_hide_div","show_data_div","data_style","height","overflow","opacity","copy_text","select","execCommand","textContent","setTimeout","extract_hostname","indexOf","split"],"mappings":"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","file":"../general.min.js","sourcesContent":["var utils = {\n translator: function (html) {\n 'use strict';\n var i, length, attrs_to_check = ['title', 'alt', 'placeholder', 'value', 'href'];\n function replacer(text) {\n return text.replace(/\\{\\{([\\s\\S]*?)\\}\\}/gm, function (str, g1) {\n return chrome.i18n.getMessage(g1.trim()) || str;\n });\n }\n if (html.attributes) {\n attrs_to_check.forEach(function (el) {\n if (html.attributes[el]) {\n html.attributes[el].value = replacer(html.attributes[el].value);\n }\n });\n }\n if (3 === html.nodeType) {\n html.data = replacer(html.data);\n }\n else {\n for (i = 0, length = html.childNodes.length; i < length; i++) {\n this.translator(html.childNodes[i]);\n }\n }\n },\n ajax: function (url, fn) {\n 'use strict';\n var request = new XMLHttpRequest();\n request.onreadystatechange = function () {\n if (4 === request.readyState) {\n fn(request.response);\n }\n };\n request.open('GET', url, true);\n request.responseType = 'json';\n request.send();\n },\n create: function (htmlStr) {\n var frag = document.createDocumentFragment(), temp = document.createElement('div');\n temp.innerHTML = htmlStr;\n while (temp.firstChild) {\n frag.appendChild(temp.firstChild);\n }\n return frag;\n },\n set_menu: function (active_item) {\n 'use strict';\n var html_menu = '';\n var sections, sections_length;\n sections = ['home', 'wpo', 'web-server', 'wp-tools', 'wp-code', 'wp-plugins', 'wp-themes', 'hosting'];\n sections_length = sections.length;\n if (document.getElementById('primary_menu')) {\n for (var i = 0; i < sections_length; i++) {\n if (active_item === sections[i]) {\n html_menu += '
';\n }\n else {\n html_menu += '
';\n }\n }\n var fragment = this.create(html_menu);\n document.getElementById('primary_menu').appendChild(fragment);\n }\n else {\n return null;\n }\n },\n get_current_tab: function (fn) {\n 'use strict';\n var self = this;\n chrome.tabs.query({ 'active': true, 'currentWindow': true }, function (tabs) {\n if (tabs.length > 0) {\n if ('http' !== tabs[0].url.substring(0, 4)) {\n self.url_not_valid();\n }\n else {\n fn(tabs[0]);\n }\n }\n else {\n self.url_not_valid();\n }\n });\n },\n url_not_valid: function () {\n 'use strict';\n var fragment = this.create('

' + chrome.i18n.getMessage('msg_only_http') + '

' + chrome.i18n.getMessage('msg_2_only_http') + ' https://tabernawp.com/best-wordpress-tools

');\n console.log(fragment);\n document.getElementById('notice').appendChild(fragment);\n this.hide_div('app_info');\n this.show_div('notice');\n },\n show_div: function (div_id) {\n 'use strict';\n document.getElementById(div_id).style.display = 'block';\n },\n hide_div: function (div_id) {\n 'use strict';\n document.getElementById(div_id).style.display = 'none';\n },\n show_hide_div: function (div_id) {\n 'use strict';\n if (document.getElementById(div_id).style.display === 'none') {\n this.show_div(div_id);\n }\n else {\n this.hide_div(div_id);\n }\n },\n show_data_div: function () {\n var data_style = document.getElementById('data').style;\n data_style.height = 'auto';\n data_style.overflow = 'auto';\n data_style.opacity = '1';\n },\n copy_text: function (div_id) {\n 'use strict';\n var self = this;\n var copyText = document.getElementById(div_id);\n copyText.select();\n document.execCommand('copy');\n document.getElementById('notice').textContent = chrome.i18n.getMessage('msg_text_copied');\n this.show_div('notice');\n setTimeout(function () {\n self.hide_div('notice');\n }, 4000);\n },\n extract_hostname: function (url) {\n 'use strict';\n var hostname;\n if (url.indexOf('://') > -1) {\n hostname = url.split('/')[2];\n }\n else {\n hostname = url.split('/')[0];\n }\n hostname = hostname.split(':')[0];\n hostname = hostname.split('?')[0];\n return hostname;\n },\n};\n"]} \ No newline at end of file +{"version":3,"sources":["general.js"],"names":["utils","translator","html","i","length","replacer","text","replace","str","g1","chrome","i18n","getMessage","trim","attributes","forEach","el","value","nodeType","data","childNodes","this","ajax","url","fn","request","XMLHttpRequest","onreadystatechange","readyState","response","open","responseType","send","create","htmlStr","frag","document","createDocumentFragment","temp","createElement","innerHTML","firstChild","appendChild","get_current_tab","self","tabs","query","active","currentWindow","substring","url_not_valid","fragment","console","log","getElementById","hide_div","show_div","div_id","style","display","show_hide_div","show_data_div","data_style","height","overflow","opacity","copy_text","select","execCommand","textContent","setTimeout","extract_hostname","indexOf","split"],"mappings":"AAAA,IAAIA,MAAQ,CACRC,WAAY,SAAUC,GAClB,aACA,IAAIC,EAAGC,EACP,SAASC,EAASC,GACd,OAAOA,EAAKC,QAAQ,uBAAwB,SAAUC,EAAKC,GACvD,OAAOC,OAAOC,KAAKC,WAAWH,EAAGI,SAAWL,IAUpD,GAPIN,EAAKY,YANuB,CAAC,QAAS,MAAO,cAAe,QAAS,QAOtDC,QAAQ,SAAUC,GACzBd,EAAKY,WAAWE,KAChBd,EAAKY,WAAWE,GAAIC,MAAQZ,EAASH,EAAKY,WAAWE,GAAIC,UAIjE,IAAMf,EAAKgB,SACXhB,EAAKiB,KAAOd,EAASH,EAAKiB,WAG1B,IAAKhB,EAAI,EAAGC,EAASF,EAAKkB,WAAWhB,OAAQD,EAAIC,EAAQD,IACrDkB,KAAKpB,WAAWC,EAAKkB,WAAWjB,KAI5CmB,KAAM,SAAUC,EAAKC,GACjB,aACA,IAAIC,EAAU,IAAIC,eAClBD,EAAQE,mBAAqB,WACrB,IAAMF,EAAQG,YACdJ,EAAGC,EAAQI,WAGnBJ,EAAQK,KAAK,MAAOP,GAAK,GACzBE,EAAQM,aAAe,OACvBN,EAAQO,QAEZC,OAAQ,SAAUC,GACd,IAAIC,EAAOC,SAASC,yBAA0BC,EAAOF,SAASG,cAAc,OAE5E,IADAD,EAAKE,UAAYN,EACVI,EAAKG,YACRN,EAAKO,YAAYJ,EAAKG,YAE1B,OAAON,GAEXQ,gBAAiB,SAAUnB,GACvB,aACA,IAAIoB,EAAOvB,KACXX,OAAOmC,KAAKC,MAAM,CAAEC,QAAU,EAAMC,eAAiB,GAAQ,SAAUH,GACjD,EAAdA,EAAKzC,OACD,SAAWyC,EAAK,GAAGtB,IAAI0B,UAAU,EAAG,GACpCL,EAAKM,gBAGL1B,EAAGqB,EAAK,IAIZD,EAAKM,mBAIjBA,cAAe,WACX,aACA,IAAIC,EAAW9B,KAAKY,OAAO,MAAQvB,OAAOC,KAAKC,WAAW,iBAAmB,UAAYF,OAAOC,KAAKC,WAAW,mBAAqB,2IACrIwC,QAAQC,IAAIF,GACZf,SAASkB,eAAe,UAAUZ,YAAYS,GAC9C9B,KAAKkC,SAAS,YACdlC,KAAKmC,SAAS,WAElBA,SAAU,SAAUC,GAChB,aACArB,SAASkB,eAAeG,GAAQC,MAAMC,QAAU,SAEpDJ,SAAU,SAAUE,GAChB,aACArB,SAASkB,eAAeG,GAAQC,MAAMC,QAAU,QAEpDC,cAAe,SAAUH,GACrB,aACsD,SAAlDrB,SAASkB,eAAeG,GAAQC,MAAMC,QACtCtC,KAAKmC,SAASC,GAGdpC,KAAKkC,SAASE,IAGtBI,cAAe,WACX,IAAIC,EAAa1B,SAASkB,eAAe,QAAQI,MACjDI,EAAWC,OAAS,OACpBD,EAAWE,SAAW,OACtBF,EAAWG,QAAU,KAEzBC,UAAW,SAAUT,GACjB,aACA,IAAIb,EAAOvB,KACIe,SAASkB,eAAeG,GAC9BU,SACT/B,SAASgC,YAAY,QACrBhC,SAASkB,eAAe,UAAUe,YAAc3D,OAAOC,KAAKC,WAAW,mBACvES,KAAKmC,SAAS,UACdc,WAAW,WACP1B,EAAKW,SAAS,WACf,MAEPgB,iBAAkB,SAAUhD,GACxB,aAUA,QAR0B,EAAtBA,EAAIiD,QAAQ,OACDjD,EAAIkD,MAAM,KAAK,GAGflD,EAAIkD,MAAM,KAAK,IAEVA,MAAM,KAAK,GACXA,MAAM,KAAK","file":"../general.min.js","sourcesContent":["var utils = {\n translator: function (html) {\n 'use strict';\n var i, length, attrs_to_check = ['title', 'alt', 'placeholder', 'value', 'href'];\n function replacer(text) {\n return text.replace(/\\{\\{([\\s\\S]*?)\\}\\}/gm, function (str, g1) {\n return chrome.i18n.getMessage(g1.trim()) || str;\n });\n }\n if (html.attributes) {\n attrs_to_check.forEach(function (el) {\n if (html.attributes[el]) {\n html.attributes[el].value = replacer(html.attributes[el].value);\n }\n });\n }\n if (3 === html.nodeType) {\n html.data = replacer(html.data);\n }\n else {\n for (i = 0, length = html.childNodes.length; i < length; i++) {\n this.translator(html.childNodes[i]);\n }\n }\n },\n ajax: function (url, fn) {\n 'use strict';\n var request = new XMLHttpRequest();\n request.onreadystatechange = function () {\n if (4 === request.readyState) {\n fn(request.response);\n }\n };\n request.open('GET', url, true);\n request.responseType = 'json';\n request.send();\n },\n create: function (htmlStr) {\n var frag = document.createDocumentFragment(), temp = document.createElement('div');\n temp.innerHTML = htmlStr;\n while (temp.firstChild) {\n frag.appendChild(temp.firstChild);\n }\n return frag;\n },\n get_current_tab: function (fn) {\n 'use strict';\n var self = this;\n chrome.tabs.query({ 'active': true, 'currentWindow': true }, function (tabs) {\n if (tabs.length > 0) {\n if ('http' !== tabs[0].url.substring(0, 4)) {\n self.url_not_valid();\n }\n else {\n fn(tabs[0]);\n }\n }\n else {\n self.url_not_valid();\n }\n });\n },\n url_not_valid: function () {\n 'use strict';\n var fragment = this.create('

' + chrome.i18n.getMessage('msg_only_http') + '

' + chrome.i18n.getMessage('msg_2_only_http') + ' https://tabernawp.com/best-wordpress-tools

');\n console.log(fragment);\n document.getElementById('notice').appendChild(fragment);\n this.hide_div('app_info');\n this.show_div('notice');\n },\n show_div: function (div_id) {\n 'use strict';\n document.getElementById(div_id).style.display = 'block';\n },\n hide_div: function (div_id) {\n 'use strict';\n document.getElementById(div_id).style.display = 'none';\n },\n show_hide_div: function (div_id) {\n 'use strict';\n if (document.getElementById(div_id).style.display === 'none') {\n this.show_div(div_id);\n }\n else {\n this.hide_div(div_id);\n }\n },\n show_data_div: function () {\n var data_style = document.getElementById('data').style;\n data_style.height = 'auto';\n data_style.overflow = 'auto';\n data_style.opacity = '1';\n },\n copy_text: function (div_id) {\n 'use strict';\n var self = this;\n var copyText = document.getElementById(div_id);\n copyText.select();\n document.execCommand('copy');\n document.getElementById('notice').textContent = chrome.i18n.getMessage('msg_text_copied');\n this.show_div('notice');\n setTimeout(function () {\n self.hide_div('notice');\n }, 4000);\n },\n extract_hostname: function (url) {\n 'use strict';\n var hostname;\n if (url.indexOf('://') > -1) {\n hostname = url.split('/')[2];\n }\n else {\n hostname = url.split('/')[0];\n }\n hostname = hostname.split(':')[0];\n hostname = hostname.split('?')[0];\n return hostname;\n },\n};\n"]} \ No newline at end of file diff --git a/js/maps/home.min.js.map b/js/maps/home.min.js.map index 2c15f09..0b73e51 100644 --- a/js/maps/home.min.js.map +++ b/js/maps/home.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["home.js"],"names":["document","addEventListener","info_api_url","response","html","status_ok","http_code","chrome","i18n","getMessage","primary_ip","namelookup_time","toFixed","connect_time","pretransfer_time","starttransfer_time","total_time","compress","http_headers_html","fragment","utils","create","getElementById","appendChild","translator","body","set_menu","get_current_tab","tab","https_img","https_txt","url","substring","favIconUrl","title","width","height","incognito","status","extract_hostname","ajax","encodeURI","show_data_div"],"mappings":"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","file":"../home.min.js","sourcesContent":["document.addEventListener('DOMContentLoaded', function () {\n 'use strict';\n function show_tab_data_home(tab) {\n var html, https_img, https_txt;\n html = '';\n if ('https' === tab.url.substring(0, 5)) {\n https_img = '';\n https_txt = '' + chrome.i18n.getMessage('msg_https_on') + '';\n }\n else {\n https_img = '';\n https_txt = '' + chrome.i18n.getMessage('msg_https_off') + '';\n }\n if (tab.favIconUrl) {\n if ('data:image' === tab.favIconUrl.substring(0, 10)) {\n html += '

' + chrome.i18n.getMessage('msg_favicon') + '

';\n }\n else {\n html += '

' + chrome.i18n.getMessage('msg_favicon') + ': ' + tab.favIconUrl + '

';\n }\n }\n else {\n html += '

' + chrome.i18n.getMessage('msg_no_favicon') + '

';\n }\n html += '

' + chrome.i18n.getMessage('msg_url') + ': ' + tab.url + '

';\n html += '

' + chrome.i18n.getMessage('msg_title') + ': ' + tab.title + '

';\n html += '

' + chrome.i18n.getMessage('msg_width_height') + ': ' + tab.width + 'px * ' + tab.height + 'px

';\n html += '

' + https_img + ' ' + https_txt + '

';\n if (tab.incognito === false) {\n html += '

' + chrome.i18n.getMessage('msg_incognito_no') + '

';\n }\n else {\n html += '

' + chrome.i18n.getMessage('msg_incognito_yes') + '

';\n }\n if ('loading' === tab.status) {\n html += '

' + chrome.i18n.getMessage('msg_status') + ': ' + chrome.i18n.getMessage('msg_loading') + '

';\n }\n else if ('complete' === tab.status) {\n html += '

' + chrome.i18n.getMessage('msg_status') + ': ' + chrome.i18n.getMessage('msg_complete') + '

';\n }\n html += '

' + chrome.i18n.getMessage('msg_domain') + ': ' + utils.extract_hostname(tab.url) + '

';\n var fragment = utils.create(html);\n document.getElementById('url_info').appendChild(fragment);\n utils.ajax('https://tabernawp.com/best-wp-tools/api/?url=' + encodeURI(tab.url), info_api_url);\n }\n function info_api_url(response) {\n var html;\n html = '';\n if (response) {\n if (true === response.status_ok) {\n if (response.http_code) {\n html += '

' + chrome.i18n.getMessage('msg_http_code') + ': ' + response.http_code + '

';\n }\n if (response.primary_ip) {\n html += '

' + chrome.i18n.getMessage('msg_ip') + ': ' + response.primary_ip + '

';\n }\n if (response.namelookup_time) {\n html += '

' + chrome.i18n.getMessage('msg_dns_lookup') + ': ' + (response.namelookup_time * 1000).toFixed(2) + ' ms

';\n }\n if (response.connect_time) {\n html += '

' + chrome.i18n.getMessage('msg_connect_time') + ': ' + (response.connect_time * 1000).toFixed(2) + ' ms

';\n }\n if (response.pretransfer_time) {\n html += '

' + chrome.i18n.getMessage('msg_pretransfer_time') + ': ' + (response.pretransfer_time * 1000).toFixed(2) + ' ms

';\n }\n if (response.starttransfer_time) {\n html += '

' + chrome.i18n.getMessage('msg_starttransfer_time') + ': ' + (response.starttransfer_time * 1000).toFixed(2) + ' ms

';\n }\n if (response.total_time) {\n html += '

' + chrome.i18n.getMessage('msg_total_time') + ': ' + (response.total_time * 1000).toFixed(2) + ' ms

';\n }\n if (response.compress) {\n html += '

' + chrome.i18n.getMessage('msg_compress') + ': ' + response.compress + '

';\n }\n else {\n html += '

' + chrome.i18n.getMessage('msg_compress') + ': ' + chrome.i18n.getMessage('msg_no') + '

';\n }\n if (response.http_headers_html) {\n html += '
' + chrome.i18n.getMessage('msg_headers') + ':' + response.http_headers_html + '
';\n }\n }\n }\n var fragment = utils.create(html);\n document.getElementById('api_url_info').appendChild(fragment);\n }\n utils.translator(document.body);\n utils.set_menu('home');\n utils.get_current_tab(show_tab_data_home);\n utils.show_data_div();\n});\n"]} \ No newline at end of file +{"version":3,"sources":["home.js"],"names":["document","addEventListener","info_api_url","response","html","status_ok","http_code","chrome","i18n","getMessage","primary_ip","namelookup_time","toFixed","connect_time","pretransfer_time","starttransfer_time","total_time","compress","http_headers_html","fragment","utils","create","getElementById","appendChild","translator","body","get_current_tab","tab","https_img","https_txt","url","substring","favIconUrl","title","width","height","incognito","status","extract_hostname","ajax","encodeURI","show_data_div"],"mappings":"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","file":"../home.min.js","sourcesContent":["document.addEventListener('DOMContentLoaded', function () {\n 'use strict';\n utils.translator(document.body);\n function show_tab_data_home(tab) {\n var html, https_img, https_txt;\n html = '';\n if ('https' === tab.url.substring(0, 5)) {\n https_img = '';\n https_txt = '' + chrome.i18n.getMessage('msg_https_on') + '';\n }\n else {\n https_img = '';\n https_txt = '' + chrome.i18n.getMessage('msg_https_off') + '';\n }\n if (tab.favIconUrl) {\n if ('data:image' === tab.favIconUrl.substring(0, 10)) {\n html += '

' + chrome.i18n.getMessage('msg_favicon') + '

';\n }\n else {\n html += '

' + chrome.i18n.getMessage('msg_favicon') + ': ' + tab.favIconUrl + '

';\n }\n }\n else {\n html += '

' + chrome.i18n.getMessage('msg_no_favicon') + '

';\n }\n html += '

' + chrome.i18n.getMessage('msg_url') + ': ' + tab.url + '

';\n html += '

' + chrome.i18n.getMessage('msg_title') + ': ' + tab.title + '

';\n html += '

' + chrome.i18n.getMessage('msg_width_height') + ': ' + tab.width + 'px * ' + tab.height + 'px

';\n html += '

' + https_img + ' ' + https_txt + '

';\n if (tab.incognito === false) {\n html += '

' + chrome.i18n.getMessage('msg_incognito_no') + '

';\n }\n else {\n html += '

' + chrome.i18n.getMessage('msg_incognito_yes') + '

';\n }\n if ('loading' === tab.status) {\n html += '

' + chrome.i18n.getMessage('msg_status') + ': ' + chrome.i18n.getMessage('msg_loading') + '

';\n }\n else if ('complete' === tab.status) {\n html += '

' + chrome.i18n.getMessage('msg_status') + ': ' + chrome.i18n.getMessage('msg_complete') + '

';\n }\n html += '

' + chrome.i18n.getMessage('msg_domain') + ': ' + utils.extract_hostname(tab.url) + '

';\n var fragment = utils.create(html);\n document.getElementById('url_info').appendChild(fragment);\n utils.ajax('https://tabernawp.com/best-wp-tools/api/?url=' + encodeURI(tab.url), info_api_url);\n }\n function info_api_url(response) {\n var html;\n html = '';\n if (response) {\n if (true === response.status_ok) {\n if (response.http_code) {\n html += '

' + chrome.i18n.getMessage('msg_http_code') + ': ' + response.http_code + '

';\n }\n if (response.primary_ip) {\n html += '

' + chrome.i18n.getMessage('msg_ip') + ': ' + response.primary_ip + '

';\n }\n if (response.namelookup_time) {\n html += '

' + chrome.i18n.getMessage('msg_dns_lookup') + ': ' + (response.namelookup_time * 1000).toFixed(2) + ' ms

';\n }\n if (response.connect_time) {\n html += '

' + chrome.i18n.getMessage('msg_connect_time') + ': ' + (response.connect_time * 1000).toFixed(2) + ' ms

';\n }\n if (response.pretransfer_time) {\n html += '

' + chrome.i18n.getMessage('msg_pretransfer_time') + ': ' + (response.pretransfer_time * 1000).toFixed(2) + ' ms

';\n }\n if (response.starttransfer_time) {\n html += '

' + chrome.i18n.getMessage('msg_starttransfer_time') + ': ' + (response.starttransfer_time * 1000).toFixed(2) + ' ms

';\n }\n if (response.total_time) {\n html += '

' + chrome.i18n.getMessage('msg_total_time') + ': ' + (response.total_time * 1000).toFixed(2) + ' ms

';\n }\n if (response.compress) {\n html += '

' + chrome.i18n.getMessage('msg_compress') + ': ' + response.compress + '

';\n }\n else {\n html += '

' + chrome.i18n.getMessage('msg_compress') + ': ' + chrome.i18n.getMessage('msg_no') + '

';\n }\n if (response.http_headers_html) {\n html += '
' + chrome.i18n.getMessage('msg_headers') + ':' + response.http_headers_html + '
';\n }\n }\n }\n var fragment = utils.create(html);\n document.getElementById('api_url_info').appendChild(fragment);\n }\n utils.get_current_tab(show_tab_data_home);\n utils.show_data_div();\n});\n"]} \ No newline at end of file diff --git a/js/maps/hosting.min.js.map b/js/maps/hosting.min.js.map index 962ca94..35a6549 100644 --- a/js/maps/hosting.min.js.map +++ b/js/maps/hosting.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["hosting.js"],"names":["document","addEventListener","utils","translator","body","set_menu","show_data_div"],"mappings":"AAAAA,SAASC,iBAAiB,mBAAoB,WAC1C,aACAC,MAAMC,WAAWH,SAASI,MAC1BF,MAAMG,SAAS,WACfH,MAAMI","file":"../hosting.min.js","sourcesContent":["document.addEventListener('DOMContentLoaded', function () {\n 'use strict';\n utils.translator(document.body);\n utils.set_menu('hosting');\n utils.show_data_div();\n});\n"]} \ No newline at end of file +{"version":3,"sources":["hosting.js"],"names":["document","addEventListener","utils","translator","body","show_data_div"],"mappings":"AAAAA,SAASC,iBAAiB,mBAAoB,WAC1C,aACAC,MAAMC,WAAWH,SAASI,MAC1BF,MAAMG","file":"../hosting.min.js","sourcesContent":["document.addEventListener('DOMContentLoaded', function () {\n 'use strict';\n utils.translator(document.body);\n utils.show_data_div();\n});\n"]} \ No newline at end of file diff --git a/js/maps/web-server.min.js.map b/js/maps/web-server.min.js.map index 84dc57a..cf58c5d 100644 --- a/js/maps/web-server.min.js.map +++ b/js/maps/web-server.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["web-server.js"],"names":["document","addEventListener","utils","translator","body","set_menu","getElementById","apache_div","nginx_div","style","display","copy_btn","getElementsByClassName","i","length","copy_text","this","dataset","id2copy","show_data_div"],"mappings":"AAAAA,SAASC,iBAAiB,mBAAoB,WAC1C,aACAC,MAAMC,WAAWH,SAASI,MAC1BF,MAAMG,SAAS,cACfL,SAASM,eAAe,sBAAsBL,iBAAiB,QAAS,WACpE,IAAIM,EAAaP,SAASM,eAAe,cACrCE,EAAYR,SAASM,eAAe,aACpC,SAAWE,EAAUC,MAAMC,SAC3BH,EAAWE,MAAMC,QAAU,OAC3BF,EAAUC,MAAMC,QAAU,UAG1BF,EAAUC,MAAMC,QAAU,OAC1BH,EAAWE,MAAMC,QAAU,WAInC,IADA,IAAIC,EAAWX,SAASY,uBAAuB,aACtCC,EAAI,EAAGA,EAAIF,EAASG,OAAQD,IACjCF,EAASE,GAAGZ,iBAAiB,QAAS,WAClCC,MAAMa,UAAUC,KAAKC,QAAQC,WAGrChB,MAAMiB","file":"../web-server.min.js","sourcesContent":["document.addEventListener('DOMContentLoaded', function () {\n 'use strict';\n utils.translator(document.body);\n utils.set_menu('web-server');\n document.getElementById('check_apache_nginx').addEventListener('click', function () {\n var apache_div = document.getElementById('apache_div');\n var nginx_div = document.getElementById('nginx_div');\n if ('none' === nginx_div.style.display) {\n apache_div.style.display = 'none';\n nginx_div.style.display = 'block';\n }\n else {\n nginx_div.style.display = 'none';\n apache_div.style.display = 'block';\n }\n });\n var copy_btn = document.getElementsByClassName('copy_text');\n for (var i = 0; i < copy_btn.length; i++) {\n copy_btn[i].addEventListener('click', function () {\n utils.copy_text(this.dataset.id2copy);\n });\n }\n utils.show_data_div();\n});\n"]} \ No newline at end of file +{"version":3,"sources":["web-server.js"],"names":["document","addEventListener","utils","translator","body","getElementById","apache_div","nginx_div","style","display","copy_btn","getElementsByClassName","i","length","copy_text","this","dataset","id2copy","show_data_div"],"mappings":"AAAAA,SAASC,iBAAiB,mBAAoB,WAC1C,aACAC,MAAMC,WAAWH,SAASI,MAC1BJ,SAASK,eAAe,sBAAsBJ,iBAAiB,QAAS,WACpE,IAAIK,EAAaN,SAASK,eAAe,cACrCE,EAAYP,SAASK,eAAe,aACpC,SAAWE,EAAUC,MAAMC,SAC3BH,EAAWE,MAAMC,QAAU,OAC3BF,EAAUC,MAAMC,QAAU,UAG1BF,EAAUC,MAAMC,QAAU,OAC1BH,EAAWE,MAAMC,QAAU,WAInC,IADA,IAAIC,EAAWV,SAASW,uBAAuB,aACtCC,EAAI,EAAGA,EAAIF,EAASG,OAAQD,IACjCF,EAASE,GAAGX,iBAAiB,QAAS,WAClCC,MAAMY,UAAUC,KAAKC,QAAQC,WAGrCf,MAAMgB","file":"../web-server.min.js","sourcesContent":["document.addEventListener('DOMContentLoaded', function () {\n 'use strict';\n utils.translator(document.body);\n document.getElementById('check_apache_nginx').addEventListener('click', function () {\n var apache_div = document.getElementById('apache_div');\n var nginx_div = document.getElementById('nginx_div');\n if ('none' === nginx_div.style.display) {\n apache_div.style.display = 'none';\n nginx_div.style.display = 'block';\n }\n else {\n nginx_div.style.display = 'none';\n apache_div.style.display = 'block';\n }\n });\n var copy_btn = document.getElementsByClassName('copy_text');\n for (var i = 0; i < copy_btn.length; i++) {\n copy_btn[i].addEventListener('click', function () {\n utils.copy_text(this.dataset.id2copy);\n });\n }\n utils.show_data_div();\n});\n"]} \ No newline at end of file diff --git a/js/maps/wp-code.min.js.map b/js/maps/wp-code.min.js.map index 9478d59..9e84e44 100644 --- a/js/maps/wp-code.min.js.map +++ b/js/maps/wp-code.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["wp-code.js"],"names":["document","addEventListener","utils","translator","body","set_menu","show_data_div"],"mappings":"AAAAA,SAASC,iBAAiB,mBAAoB,WAC1C,aACAC,MAAMC,WAAWH,SAASI,MAC1BF,MAAMG,SAAS,WACfH,MAAMI","file":"../wp-code.min.js","sourcesContent":["document.addEventListener('DOMContentLoaded', function () {\n 'use strict';\n utils.translator(document.body);\n utils.set_menu('wp-code');\n utils.show_data_div();\n});\n"]} \ No newline at end of file +{"version":3,"sources":["wp-code.js"],"names":["document","addEventListener","utils","translator","body","show_data_div"],"mappings":"AAAAA,SAASC,iBAAiB,mBAAoB,WAC1C,aACAC,MAAMC,WAAWH,SAASI,MAC1BF,MAAMG","file":"../wp-code.min.js","sourcesContent":["document.addEventListener('DOMContentLoaded', function () {\n 'use strict';\n utils.translator(document.body);\n utils.show_data_div();\n});\n"]} \ No newline at end of file diff --git a/js/maps/wp-plugins.min.js.map b/js/maps/wp-plugins.min.js.map index b99eb57..544479e 100644 --- a/js/maps/wp-plugins.min.js.map +++ b/js/maps/wp-plugins.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["wp-plugins.js"],"names":["document","addEventListener","utils","translator","body","set_menu","show_data_div"],"mappings":"AAAAA,SAASC,iBAAiB,mBAAoB,WAC1C,aACAC,MAAMC,WAAWH,SAASI,MAC1BF,MAAMG,SAAS,cACfH,MAAMI","file":"../wp-plugins.min.js","sourcesContent":["document.addEventListener('DOMContentLoaded', function () {\n 'use strict';\n utils.translator(document.body);\n utils.set_menu('wp-plugins');\n utils.show_data_div();\n});\n"]} \ No newline at end of file +{"version":3,"sources":["wp-plugins.js"],"names":["document","addEventListener","utils","translator","body","show_data_div"],"mappings":"AAAAA,SAASC,iBAAiB,mBAAoB,WAC1C,aACAC,MAAMC,WAAWH,SAASI,MAC1BF,MAAMG","file":"../wp-plugins.min.js","sourcesContent":["document.addEventListener('DOMContentLoaded', function () {\n 'use strict';\n utils.translator(document.body);\n utils.show_data_div();\n});\n"]} \ No newline at end of file diff --git a/js/maps/wp-themes.min.js.map b/js/maps/wp-themes.min.js.map index fad789e..84ec084 100644 --- a/js/maps/wp-themes.min.js.map +++ b/js/maps/wp-themes.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["wp-themes.js"],"names":["document","addEventListener","utils","translator","body","set_menu","show_data_div"],"mappings":"AAAAA,SAASC,iBAAiB,mBAAoB,WAC1C,aACAC,MAAMC,WAAWH,SAASI,MAC1BF,MAAMG,SAAS,aACfH,MAAMI","file":"../wp-themes.min.js","sourcesContent":["document.addEventListener('DOMContentLoaded', function () {\n 'use strict';\n utils.translator(document.body);\n utils.set_menu('wp-themes');\n utils.show_data_div();\n});\n"]} \ No newline at end of file +{"version":3,"sources":["wp-themes.js"],"names":["document","addEventListener","utils","translator","body","show_data_div"],"mappings":"AAAAA,SAASC,iBAAiB,mBAAoB,WAC1C,aACAC,MAAMC,WAAWH,SAASI,MAC1BF,MAAMG","file":"../wp-themes.min.js","sourcesContent":["document.addEventListener('DOMContentLoaded', function () {\n 'use strict';\n utils.translator(document.body);\n utils.show_data_div();\n});\n"]} \ No newline at end of file diff --git a/js/maps/wp-tools.min.js.map b/js/maps/wp-tools.min.js.map index d6f7076..83966e2 100644 --- a/js/maps/wp-tools.min.js.map +++ b/js/maps/wp-tools.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["wp-tools.js"],"names":["document","addEventListener","utils","translator","body","set_menu","get_current_tab","tab","current_domain_url","current_url","url","current_domain","extract_hostname","substring","getElementById","value","this","show_data_div"],"mappings":"AAAAA,SAASC,iBAAiB,mBAAoB,WAC1C,aAeAC,MAAMC,WAAWH,SAASI,MAC1BF,MAAMG,SAAS,YACfH,MAAMI,gBAhBN,SAAsBC,GAClB,IAEIC,EAFAC,EAAcF,EAAIG,IAClBC,EAAiBT,MAAMU,iBAAiBH,GAGxCD,EADA,UAAYD,EAAIG,IAAIG,UAAU,EAAG,GACZ,WAAaF,EAGb,UAAYA,EAErCX,SAASc,eAAe,eAAeC,MAAQ,0BAA4BP,EAAqB,OAChGR,SAASc,eAAe,WAAWC,MAAQ,uBAAyBP,EAAqB,OACzFR,SAASc,eAAe,oBAAoBC,MAAQ,6BAA+BJ,EAAiB,SAKxGX,SAASc,eAAe,iBAAiBb,iBAAiB,SAAU,WAChED,SAASc,eAAe,sBAAsBC,MAAQ,gCAAkCC,KAAKD,MAAQ,QAEzGf,SAASc,eAAe,kBAAkBb,iBAAiB,SAAU,WACjED,SAASc,eAAe,uBAAuBC,MAAQ,gCAAkCC,KAAKD,MAAQ,QAE1Gf,SAASc,eAAe,aAAab,iBAAiB,SAAU,WAC5DD,SAASc,eAAe,gBAAgBC,MAAQ,8BAAgCC,KAAKD,MAAQ,QAEjGf,SAASc,eAAe,aAAab,iBAAiB,SAAU,WAC5DD,SAASc,eAAe,gBAAgBC,MAAQ,8BAAgCC,KAAKD,MAAQ,QAEjGb,MAAMe","file":"../wp-tools.min.js","sourcesContent":["document.addEventListener('DOMContentLoaded', function () {\n 'use strict';\n function set_btns_url(tab) {\n var current_url = tab.url;\n var current_domain = utils.extract_hostname(current_url);\n var current_domain_url;\n if ('https' === tab.url.substring(0, 5)) {\n current_domain_url = 'https://' + current_domain;\n }\n else {\n current_domain_url = 'http://' + current_domain;\n }\n document.getElementById('wp_site_url').value = \"define( 'WP_SITEURL', '\" + current_domain_url + \"' );\";\n document.getElementById('wp_home').value = \"define( 'WP_HOME', '\" + current_domain_url + \"' );\";\n document.getElementById('wp_cookie_domain').value = \"define( 'COOKIE_DOMAIN', '\" + current_domain + \"' );\";\n }\n utils.translator(document.body);\n utils.set_menu('wp-tools');\n utils.get_current_tab(set_btns_url);\n document.getElementById('post_autosave').addEventListener('change', function () {\n document.getElementById('post_autosave_text').value = \"define( 'AUTOSAVE_INTERVAL', \" + this.value + \" );\";\n });\n document.getElementById('post_revisions').addEventListener('change', function () {\n document.getElementById('post_revisions_text').value = \"define( 'WP_POST_REVISIONS', \" + this.value + \" );\";\n });\n document.getElementById('ssl_login').addEventListener('change', function () {\n document.getElementById('wp_ssl_login').value = \"define( 'FORCE_SSL_LOGIN', \" + this.value + \" );\";\n });\n document.getElementById('ssl_admin').addEventListener('change', function () {\n document.getElementById('wp_ssl_admin').value = \"define( 'FORCE_SSL_ADMIN', \" + this.value + \" );\";\n });\n utils.show_data_div();\n});\n"]} \ No newline at end of file +{"version":3,"sources":["wp-tools.js"],"names":["document","addEventListener","utils","translator","body","get_current_tab","tab","current_domain_url","current_url","url","current_domain","extract_hostname","substring","getElementById","value","this","show_data_div"],"mappings":"AAAAA,SAASC,iBAAiB,mBAAoB,WAC1C,aACAC,MAAMC,WAAWH,SAASI,MAe1BF,MAAMG,gBAdN,SAAsBC,GAClB,IAEIC,EAFAC,EAAcF,EAAIG,IAClBC,EAAiBR,MAAMS,iBAAiBH,GAGxCD,EADA,UAAYD,EAAIG,IAAIG,UAAU,EAAG,GACZ,WAAaF,EAGb,UAAYA,EAErCV,SAASa,eAAe,eAAeC,MAAQ,0BAA4BP,EAAqB,OAChGP,SAASa,eAAe,WAAWC,MAAQ,uBAAyBP,EAAqB,OACzFP,SAASa,eAAe,oBAAoBC,MAAQ,6BAA+BJ,EAAiB,SAGxGV,SAASa,eAAe,iBAAiBZ,iBAAiB,SAAU,WAChED,SAASa,eAAe,sBAAsBC,MAAQ,gCAAkCC,KAAKD,MAAQ,QAEzGd,SAASa,eAAe,kBAAkBZ,iBAAiB,SAAU,WACjED,SAASa,eAAe,uBAAuBC,MAAQ,gCAAkCC,KAAKD,MAAQ,QAE1Gd,SAASa,eAAe,aAAaZ,iBAAiB,SAAU,WAC5DD,SAASa,eAAe,gBAAgBC,MAAQ,8BAAgCC,KAAKD,MAAQ,QAEjGd,SAASa,eAAe,aAAaZ,iBAAiB,SAAU,WAC5DD,SAASa,eAAe,gBAAgBC,MAAQ,8BAAgCC,KAAKD,MAAQ,QAEjGZ,MAAMc","file":"../wp-tools.min.js","sourcesContent":["document.addEventListener('DOMContentLoaded', function () {\n 'use strict';\n utils.translator(document.body);\n function set_btns_url(tab) {\n var current_url = tab.url;\n var current_domain = utils.extract_hostname(current_url);\n var current_domain_url;\n if ('https' === tab.url.substring(0, 5)) {\n current_domain_url = 'https://' + current_domain;\n }\n else {\n current_domain_url = 'http://' + current_domain;\n }\n document.getElementById('wp_site_url').value = \"define( 'WP_SITEURL', '\" + current_domain_url + \"' );\";\n document.getElementById('wp_home').value = \"define( 'WP_HOME', '\" + current_domain_url + \"' );\";\n document.getElementById('wp_cookie_domain').value = \"define( 'COOKIE_DOMAIN', '\" + current_domain + \"' );\";\n }\n utils.get_current_tab(set_btns_url);\n document.getElementById('post_autosave').addEventListener('change', function () {\n document.getElementById('post_autosave_text').value = \"define( 'AUTOSAVE_INTERVAL', \" + this.value + \" );\";\n });\n document.getElementById('post_revisions').addEventListener('change', function () {\n document.getElementById('post_revisions_text').value = \"define( 'WP_POST_REVISIONS', \" + this.value + \" );\";\n });\n document.getElementById('ssl_login').addEventListener('change', function () {\n document.getElementById('wp_ssl_login').value = \"define( 'FORCE_SSL_LOGIN', \" + this.value + \" );\";\n });\n document.getElementById('ssl_admin').addEventListener('change', function () {\n document.getElementById('wp_ssl_admin').value = \"define( 'FORCE_SSL_ADMIN', \" + this.value + \" );\";\n });\n utils.show_data_div();\n});\n"]} \ No newline at end of file diff --git a/js/maps/wpo.min.js.map b/js/maps/wpo.min.js.map index 4f656e0..1edbea5 100644 --- a/js/maps/wpo.min.js.map +++ b/js/maps/wpo.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["wpo.js"],"names":["document","addEventListener","items_wpo","getElementsByClassName","active_tabs","tab_wpo","show_section_wpo","active_tab","getElementById","this","id","classList","remove","i","length","style","display","add","utils","show_div","translator","body","set_menu","get_current_tab","tab","current_url","url","encoded_current_url","encodeURI","current_domain","extract_hostname","current_naked_domain","replace","current_url_without_protocol","window","open","j","show_data_div"],"mappings":"AAAAA,SAASC,iBAAiB,mBAAoB,WAC1C,aACA,IAAIC,EAAYF,SAASG,uBAAuB,YAC5CC,EAAcJ,SAASG,uBAAuB,uBAC9CE,EAAUL,SAASG,uBAAuB,WAC9C,SAASG,IAEL,IADA,IAAIC,EAAaP,SAASQ,eAAeC,KAAKC,IACvCN,EAAY,IACfA,EAAY,GAAGO,UAAUC,OAAO,cAEpC,IAAK,IAAIC,EAAI,EAAGA,EAAIR,EAAQS,OAAQD,IAChCR,EAAQQ,GAAGE,MAAMC,QAAU,OAE/BT,EAAWI,UAAUM,IAAI,cACzBC,MAAMC,SAAS,UAAYV,KAAKC,IA6DpCQ,MAAME,WAAWpB,SAASqB,MAC1BH,MAAMI,SAAS,OACfJ,MAAMK,gBA7DN,SAA2BC,GACvB,IAAIC,EAAcD,EAAIE,IAClBC,EAAsBC,UAAUH,GAChCI,EAAiBX,MAAMY,iBAAiBL,GACxCM,EAAuBF,EAAeG,QAAQ,OAAQ,IACtDC,EAA+BR,EAAYO,QAAQ,WAAY,IACnEC,EAA+BA,EAA6BD,QAAQ,UAAW,IAC/EhC,SAASQ,eAAe,sBAAsBP,iBAAiB,QAAS,WACpEiC,OAAOC,KAAK,+DAAiEV,KAEjFzB,SAASQ,eAAe,cAAcP,iBAAiB,QAAS,WAC5DiC,OAAOC,KAAK,iDAAmDV,KAEnEzB,SAASQ,eAAe,oBAAoBP,iBAAiB,QAAS,WAClEiC,OAAOC,KAAK,wCAA0CF,KAE1DjC,SAASQ,eAAe,oBAAoBP,iBAAiB,QAAS,WAClEiC,OAAOC,KAAK,4CAA8CV,KAE9DzB,SAASQ,eAAe,yBAAyBP,iBAAiB,QAAS,WACvEiC,OAAOC,KAAK,yCAA2CN,KAE3D7B,SAASQ,eAAe,cAAcP,iBAAiB,QAAS,WAC5DiC,OAAOC,KAAK,6CAA+CR,KAE/D3B,SAASQ,eAAe,aAAaP,iBAAiB,QAAS,WAC3DiC,OAAOC,KAAK,+BAAiCR,KAEjD3B,SAASQ,eAAe,oBAAoBP,iBAAiB,QAAS,WAClEiC,OAAOC,KAAK,iDAAmDV,KAEnEzB,SAASQ,eAAe,sBAAsBP,iBAAiB,QAAS,WACpEiC,OAAOC,KAAK,uCAAyCJ,KAEzD/B,SAASQ,eAAe,cAAcP,iBAAiB,QAAS,WAC5DiC,OAAOC,KAAK,qDAAuDJ,EAAuB,mBAE9F/B,SAASQ,eAAe,eAAeP,iBAAiB,QAAS,WAC7DiC,OAAOC,KAAK,6BAA+BN,KAE/C7B,SAASQ,eAAe,oBAAoBP,iBAAiB,QAAS,WAClEiC,OAAOC,KAAK,gCAAkCN,KAElD7B,SAASQ,eAAe,0BAA0BP,iBAAiB,QAAS,WACxEiC,OAAOC,KAAK,yCAA2CR,KAE3D3B,SAASQ,eAAe,iBAAiBP,iBAAiB,QAAS,WAC/DiC,OAAOC,KAAK,oDAAsDJ,EAAuB,mBAE7F/B,SAASQ,eAAe,mBAAmBP,iBAAiB,QAAS,WACjEiC,OAAOC,KAAK,sDAAwDJ,EAAuB,mBAE/F/B,SAASQ,eAAe,wBAAwBP,iBAAiB,QAAS,WACtEiC,OAAOC,KAAK,2DAA6DJ,EAAuB,mBAEpG/B,SAASQ,eAAe,aAAaP,iBAAiB,QAAS,WAC3DiC,OAAOC,KAAK,4DAA8DJ,EAAuB,uBAMzG,IAAK,IAAIK,EAAI,EAAGA,EAAIlC,EAAUY,OAAQsB,IAClClC,EAAUkC,GAAGnC,iBAAiB,QAASK,GAE3CY,MAAMmB","file":"../wpo.min.js","sourcesContent":["document.addEventListener('DOMContentLoaded', function () {\n 'use strict';\n var items_wpo = document.getElementsByClassName('item_wpo');\n var active_tabs = document.getElementsByClassName('item_wpo active_tab');\n var tab_wpo = document.getElementsByClassName('wpo_tab');\n function show_section_wpo() {\n var active_tab = document.getElementById(this.id);\n while (active_tabs[0]) {\n active_tabs[0].classList.remove('active_tab');\n }\n for (var i = 0; i < tab_wpo.length; i++) {\n tab_wpo[i].style.display = 'none';\n }\n active_tab.classList.add('active_tab');\n utils.show_div('target_' + this.id);\n }\n function show_tabs_buttons(tab) {\n var current_url = tab.url;\n var encoded_current_url = encodeURI(current_url);\n var current_domain = utils.extract_hostname(current_url);\n var current_naked_domain = current_domain.replace('www.', '');\n var current_url_without_protocol = current_url.replace('https://', '');\n current_url_without_protocol = current_url_without_protocol.replace('http://', '');\n document.getElementById('pagespeed_insights').addEventListener('click', function () {\n window.open('https://developers.google.com/speed/pagespeed/insights/?url=' + current_url);\n });\n document.getElementById('geek_flare').addEventListener('click', function () {\n window.open('https://tools.geekflare.com/report/speed-test/' + current_url);\n });\n document.getElementById('sucuri_sitecheck').addEventListener('click', function () {\n window.open('https://sitecheck.sucuri.net/results/' + current_url_without_protocol);\n });\n document.getElementById('keycdn_url_speed').addEventListener('click', function () {\n window.open('https://tools.keycdn.com/performance?url=' + current_url);\n });\n document.getElementById('sucuri_loadtimetester').addEventListener('click', function () {\n window.open('https://performance.sucuri.net/domain/' + current_domain);\n });\n document.getElementById('byte_check').addEventListener('click', function () {\n window.open('http://www.bytecheck.com/results?resource=' + encoded_current_url);\n });\n document.getElementById('http2_pro').addEventListener('click', function () {\n window.open('https://http2.pro/check?url=' + encoded_current_url);\n });\n document.getElementById('http2_geek_flare').addEventListener('click', function () {\n window.open('https://tools.geekflare.com/report/http2-test/' + current_url);\n });\n document.getElementById('pingdom_dns_health').addEventListener('click', function () {\n window.open('http://dnscheck.pingdom.com/?domain=' + current_naked_domain);\n });\n document.getElementById('mx_toolbox').addEventListener('click', function () {\n window.open('https://mxtoolbox.com/SuperTool.aspx?action=dns%3a' + current_naked_domain + '&run=toolpage');\n });\n document.getElementById('dns_checker').addEventListener('click', function () {\n window.open('https://dnschecker.org/#A/' + current_domain);\n });\n document.getElementById('dns_checker_ipv6').addEventListener('click', function () {\n window.open('https://dnschecker.org/#AAAA/' + current_domain);\n });\n document.getElementById('check_gzip_compression').addEventListener('click', function () {\n window.open('https://checkgzipcompression.com/?url=' + encoded_current_url);\n });\n document.getElementById('mx_mx_toolbox').addEventListener('click', function () {\n window.open('https://mxtoolbox.com/SuperTool.aspx?action=mx%3a' + current_naked_domain + '&run=toolpage');\n });\n document.getElementById('smtp_mx_toolbox').addEventListener('click', function () {\n window.open('https://mxtoolbox.com/SuperTool.aspx?action=smtp%3a' + current_naked_domain + '&run=toolpage');\n });\n document.getElementById('blacklist_mx_toolbox').addEventListener('click', function () {\n window.open('https://mxtoolbox.com/SuperTool.aspx?action=blacklist%3a' + current_naked_domain + '&run=toolpage');\n });\n document.getElementById('mx_gsuite').addEventListener('click', function () {\n window.open('https://toolbox.googleapps.com/apps/checkmx/check?domain=' + current_naked_domain + '&dkim_selector=');\n });\n }\n utils.translator(document.body);\n utils.set_menu('wpo');\n utils.get_current_tab(show_tabs_buttons);\n for (var j = 0; j < items_wpo.length; j++) {\n items_wpo[j].addEventListener('click', show_section_wpo);\n }\n utils.show_data_div();\n});\n"]} \ No newline at end of file +{"version":3,"sources":["wpo.js"],"names":["document","addEventListener","items_wpo","getElementsByClassName","active_tabs","tab_wpo","show_section_wpo","active_tab","getElementById","this","id","classList","remove","i","length","style","display","add","utils","show_div","translator","body","get_current_tab","tab","current_url","url","encoded_current_url","encodeURI","current_domain","extract_hostname","current_naked_domain","replace","current_url_without_protocol","window","open","j","show_data_div"],"mappings":"AAAAA,SAASC,iBAAiB,mBAAoB,WAC1C,aACA,IAAIC,EAAYF,SAASG,uBAAuB,YAC5CC,EAAcJ,SAASG,uBAAuB,uBAC9CE,EAAUL,SAASG,uBAAuB,WAE9C,SAASG,IAEL,IADA,IAAIC,EAAaP,SAASQ,eAAeC,KAAKC,IACvCN,EAAY,IACfA,EAAY,GAAGO,UAAUC,OAAO,cAEpC,IAAK,IAAIC,EAAI,EAAGA,EAAIR,EAAQS,OAAQD,IAChCR,EAAQQ,GAAGE,MAAMC,QAAU,OAE/BT,EAAWI,UAAUM,IAAI,cACzBC,MAAMC,SAAS,UAAYV,KAAKC,IAVpCQ,MAAME,WAAWpB,SAASqB,MAuE1BH,MAAMI,gBA3DN,SAA2BC,GACvB,IAAIC,EAAcD,EAAIE,IAClBC,EAAsBC,UAAUH,GAChCI,EAAiBV,MAAMW,iBAAiBL,GACxCM,EAAuBF,EAAeG,QAAQ,OAAQ,IACtDC,EAA+BR,EAAYO,QAAQ,WAAY,IACnEC,EAA+BA,EAA6BD,QAAQ,UAAW,IAC/E/B,SAASQ,eAAe,sBAAsBP,iBAAiB,QAAS,WACpEgC,OAAOC,KAAK,+DAAiEV,KAEjFxB,SAASQ,eAAe,cAAcP,iBAAiB,QAAS,WAC5DgC,OAAOC,KAAK,iDAAmDV,KAEnExB,SAASQ,eAAe,oBAAoBP,iBAAiB,QAAS,WAClEgC,OAAOC,KAAK,wCAA0CF,KAE1DhC,SAASQ,eAAe,oBAAoBP,iBAAiB,QAAS,WAClEgC,OAAOC,KAAK,4CAA8CV,KAE9DxB,SAASQ,eAAe,yBAAyBP,iBAAiB,QAAS,WACvEgC,OAAOC,KAAK,yCAA2CN,KAE3D5B,SAASQ,eAAe,cAAcP,iBAAiB,QAAS,WAC5DgC,OAAOC,KAAK,6CAA+CR,KAE/D1B,SAASQ,eAAe,aAAaP,iBAAiB,QAAS,WAC3DgC,OAAOC,KAAK,+BAAiCR,KAEjD1B,SAASQ,eAAe,oBAAoBP,iBAAiB,QAAS,WAClEgC,OAAOC,KAAK,iDAAmDV,KAEnExB,SAASQ,eAAe,sBAAsBP,iBAAiB,QAAS,WACpEgC,OAAOC,KAAK,uCAAyCJ,KAEzD9B,SAASQ,eAAe,cAAcP,iBAAiB,QAAS,WAC5DgC,OAAOC,KAAK,qDAAuDJ,EAAuB,mBAE9F9B,SAASQ,eAAe,eAAeP,iBAAiB,QAAS,WAC7DgC,OAAOC,KAAK,6BAA+BN,KAE/C5B,SAASQ,eAAe,oBAAoBP,iBAAiB,QAAS,WAClEgC,OAAOC,KAAK,gCAAkCN,KAElD5B,SAASQ,eAAe,0BAA0BP,iBAAiB,QAAS,WACxEgC,OAAOC,KAAK,yCAA2CR,KAE3D1B,SAASQ,eAAe,iBAAiBP,iBAAiB,QAAS,WAC/DgC,OAAOC,KAAK,oDAAsDJ,EAAuB,mBAE7F9B,SAASQ,eAAe,mBAAmBP,iBAAiB,QAAS,WACjEgC,OAAOC,KAAK,sDAAwDJ,EAAuB,mBAE/F9B,SAASQ,eAAe,wBAAwBP,iBAAiB,QAAS,WACtEgC,OAAOC,KAAK,2DAA6DJ,EAAuB,mBAEpG9B,SAASQ,eAAe,aAAaP,iBAAiB,QAAS,WAC3DgC,OAAOC,KAAK,4DAA8DJ,EAAuB,uBAIzG,IAAK,IAAIK,EAAI,EAAGA,EAAIjC,EAAUY,OAAQqB,IAClCjC,EAAUiC,GAAGlC,iBAAiB,QAASK,GAE3CY,MAAMkB","file":"../wpo.min.js","sourcesContent":["document.addEventListener('DOMContentLoaded', function () {\n 'use strict';\n var items_wpo = document.getElementsByClassName('item_wpo');\n var active_tabs = document.getElementsByClassName('item_wpo active_tab');\n var tab_wpo = document.getElementsByClassName('wpo_tab');\n utils.translator(document.body);\n function show_section_wpo() {\n var active_tab = document.getElementById(this.id);\n while (active_tabs[0]) {\n active_tabs[0].classList.remove('active_tab');\n }\n for (var i = 0; i < tab_wpo.length; i++) {\n tab_wpo[i].style.display = 'none';\n }\n active_tab.classList.add('active_tab');\n utils.show_div('target_' + this.id);\n }\n function show_tabs_buttons(tab) {\n var current_url = tab.url;\n var encoded_current_url = encodeURI(current_url);\n var current_domain = utils.extract_hostname(current_url);\n var current_naked_domain = current_domain.replace('www.', '');\n var current_url_without_protocol = current_url.replace('https://', '');\n current_url_without_protocol = current_url_without_protocol.replace('http://', '');\n document.getElementById('pagespeed_insights').addEventListener('click', function () {\n window.open('https://developers.google.com/speed/pagespeed/insights/?url=' + current_url);\n });\n document.getElementById('geek_flare').addEventListener('click', function () {\n window.open('https://tools.geekflare.com/report/speed-test/' + current_url);\n });\n document.getElementById('sucuri_sitecheck').addEventListener('click', function () {\n window.open('https://sitecheck.sucuri.net/results/' + current_url_without_protocol);\n });\n document.getElementById('keycdn_url_speed').addEventListener('click', function () {\n window.open('https://tools.keycdn.com/performance?url=' + current_url);\n });\n document.getElementById('sucuri_loadtimetester').addEventListener('click', function () {\n window.open('https://performance.sucuri.net/domain/' + current_domain);\n });\n document.getElementById('byte_check').addEventListener('click', function () {\n window.open('http://www.bytecheck.com/results?resource=' + encoded_current_url);\n });\n document.getElementById('http2_pro').addEventListener('click', function () {\n window.open('https://http2.pro/check?url=' + encoded_current_url);\n });\n document.getElementById('http2_geek_flare').addEventListener('click', function () {\n window.open('https://tools.geekflare.com/report/http2-test/' + current_url);\n });\n document.getElementById('pingdom_dns_health').addEventListener('click', function () {\n window.open('http://dnscheck.pingdom.com/?domain=' + current_naked_domain);\n });\n document.getElementById('mx_toolbox').addEventListener('click', function () {\n window.open('https://mxtoolbox.com/SuperTool.aspx?action=dns%3a' + current_naked_domain + '&run=toolpage');\n });\n document.getElementById('dns_checker').addEventListener('click', function () {\n window.open('https://dnschecker.org/#A/' + current_domain);\n });\n document.getElementById('dns_checker_ipv6').addEventListener('click', function () {\n window.open('https://dnschecker.org/#AAAA/' + current_domain);\n });\n document.getElementById('check_gzip_compression').addEventListener('click', function () {\n window.open('https://checkgzipcompression.com/?url=' + encoded_current_url);\n });\n document.getElementById('mx_mx_toolbox').addEventListener('click', function () {\n window.open('https://mxtoolbox.com/SuperTool.aspx?action=mx%3a' + current_naked_domain + '&run=toolpage');\n });\n document.getElementById('smtp_mx_toolbox').addEventListener('click', function () {\n window.open('https://mxtoolbox.com/SuperTool.aspx?action=smtp%3a' + current_naked_domain + '&run=toolpage');\n });\n document.getElementById('blacklist_mx_toolbox').addEventListener('click', function () {\n window.open('https://mxtoolbox.com/SuperTool.aspx?action=blacklist%3a' + current_naked_domain + '&run=toolpage');\n });\n document.getElementById('mx_gsuite').addEventListener('click', function () {\n window.open('https://toolbox.googleapps.com/apps/checkmx/check?domain=' + current_naked_domain + '&dkim_selector=');\n });\n }\n utils.get_current_tab(show_tabs_buttons);\n for (var j = 0; j < items_wpo.length; j++) {\n items_wpo[j].addEventListener('click', show_section_wpo);\n }\n utils.show_data_div();\n});\n"]} \ No newline at end of file diff --git a/js/web-server.min.js b/js/web-server.min.js index e62e938..206d080 100644 --- a/js/web-server.min.js +++ b/js/web-server.min.js @@ -1,2 +1,2 @@ -document.addEventListener("DOMContentLoaded",function(){"use strict";utils.translator(document.body),utils.set_menu("web-server"),document.getElementById("check_apache_nginx").addEventListener("click",function(){var e=document.getElementById("apache_div"),t=document.getElementById("nginx_div");"none"===t.style.display?(e.style.display="none",t.style.display="block"):(t.style.display="none",e.style.display="block")});for(var e=document.getElementsByClassName("copy_text"),t=0;t +

{% raw %}{{app_name}}{% endraw %}

+

{% raw %}{{plugin_info}}{% endraw %} carlos+best-wp-tools@longarela.eu

+ + +
+
+ +{% include "partials/footer.njk" -%} diff --git a/src/templates/hosting.njk b/src/templates/hosting.njk new file mode 100644 index 0000000..e9f2235 --- /dev/null +++ b/src/templates/hosting.njk @@ -0,0 +1,24 @@ +{% set page_title = "Hosting" -%} +{% set section = "hosting" -%} + +{% include "partials/header.njk" %} + +
+ Kinsta +

{% raw %}{{msg_kinsta_title}}{% endraw %}

+ + Kinsta + +

{% raw %}{{msg_kinsta_text}}{% endraw %}

+
+ +
+ SiteGround +

{% raw %}{{msg_siteground_title}}{% endraw %}

+ + SiteGround + +

{% raw %}{{msg_siteground_text}}{% endraw %}

+
+ +{% include "partials/footer.njk" -%} diff --git a/src/templates/includes/apache-rules-bad-bots.njk b/src/templates/includes/apache-rules-bad-bots.njk new file mode 100644 index 0000000..2643632 --- /dev/null +++ b/src/templates/includes/apache-rules-bad-bots.njk @@ -0,0 +1,582 @@ +# Bot Block # +RewriteEngine On +# Block Essential Bots # +#RewriteCond %{HTTP_USER_AGENT} ^(.*)msnbot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)MJ12bot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)BLEXBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)SolomonoBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Yandex [NC,OR] +#RewriteCond %{HTTP_USER_AGENT} ^(.*)bingbot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Baiduspider [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Yeti [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Mail.Ru [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Ezooms [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)AhrefsBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Sosospider [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)sogou [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)exabot [NC,OR] +# Block Non-Essential Bots # +RewriteCond %{HTTP_USER_AGENT} ^(.*)2icommerce [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)archive.org [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Abont [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)abot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Accoona [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)ActiveTouristBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)adressendeutschland [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)aipbot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Alligator [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)AllSubmitter [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)almaden [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)anarchie [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Acunetix [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)AESOP_com_SpiderMan [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Alexibot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Anonymous [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Anonymouse.org [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Apexoo [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Aqua_Products [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)asterias [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)ASSORT [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)ATHENS [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)AtHome [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Atomz [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)attach [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)autoemailspider [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)autohttp [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)BackDoorBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)BackWeb [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)binlar [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Bandit [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Badass [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)BecomeBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)berts [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Bitacle [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Biz360 [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)bladder\ fusion [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Blog\ Checker [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)BlogPeople [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Blogshares\ Spiders [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Bloodhound [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)BatchFTP [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Bigfoot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Black.Hole [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)BlackWidow [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)BlowFish [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Bolt [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Board\ Bot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Bookmark\ search\ tool [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)b2w [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)bew [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)BotALot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)BotRightHere [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Bot\ mailto:craftbot@yahoo.com [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Buddy [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Bropwers [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Browsezilla [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)BuiltBotTough [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Bullseye [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)BunnySlippers [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)casper [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Cegbfeieh [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)CheeseBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)cmsworld [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)checkpriv [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)choppy [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)clshttp [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)CherryPicker [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)ChinaClaw [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)charlotte [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Convera [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Copernic [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)CFNetwork [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Collector [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Copier [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)CopyRightCheck [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)cosmos [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Crescent [NC,OR] +#RewriteCond %{HTTP_USER_AGENT} ^(.*)curl [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Custo [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Cyberz [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)c-spider [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Default\ Browser [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^Da$ [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)DataCha0s [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Daum [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Deweb [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Digger [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)DISCo [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Digimarc [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)digout4uagent [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)diavol [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)discobot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)DnloadMage [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)DIIbot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)dotbot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)DittoSpyder [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Download [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Downloader [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Download\ Demon [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Download\ Devil [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Download\ Wonder [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)dragonfly [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)dirbuster [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)DreamPassport [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)DSurf [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)DTS\ Agent [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)dumbot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)DynaWeb [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Drip [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)eCatch [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)ecollector [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)edgeio [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)efp@gmx.net [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)ecxi [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)e-collector [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)EasyDL [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)EBrowse [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)ebingbong [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)EirGrabber [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)EmailCollector [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Email\ Extractor [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)EmailSiphon [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)EmeraldShield [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Enterprise_Search [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)EmailWolf [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)EroCrawler [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)ESurf [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Eval [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Everest-Vulcan [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)extract [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Extractor [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)ExtractorPro [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Express\ WebPictures [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)EyeNetIE [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)FairAd [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)fastlwspider [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)FileHound [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)findlinks [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)fimap [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)FlashGet [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Flaming\ AttackBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)FHscan [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)feedfinder [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)fetch [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)FEZhead [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)flicky [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)FlickBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Foobot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Forex [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)flunky [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Franklin\ Locator [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)FreshDownload [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)FrontPage [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)FSurf [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Gaisbot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Gamespy_Arcade [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)genieBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)GetBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Getleft [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)GetRight [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)GetSmart [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)GetWeb! [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Go!Zilla [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Google\ Wireless\ Transcoder [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)g00g1e [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Go-Ahead-Got-It [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)GOFORITBOT [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)gotit [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Grabber [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)GrabNet [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Grafula [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)grub [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)GT::WWW [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)heritrix [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Harvest [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Hatena\ Antenna [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)hloader [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)HMView [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)holmes [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)HooWWWer [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)HouxouCrawler [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)HTTPGet [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)HTTP::Lite [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)httplib [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)HTTPRetriever [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)HTTrack [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)humanlinks [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)IBM_Planetwide [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)iCCrawler [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Image\ Stripper [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Image\ Sucker [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)imagefetch [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)imds_monitor [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)IncyWincy [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)ichiro [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)iGetter [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)ia_archiver [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)IDBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)id-search [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)id-search.org [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)IlseBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Image\ Stripper [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Image\ Sucker [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Indy [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)InetURL [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)InfoNaviRobot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)InstallShield\ DigitalWizard [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Industry\ Program [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)InfoTekies [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Intelliseek [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)InterGET [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Internet\ Ninja [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Iria [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)IRLbot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Iron33 [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)ISSpider [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)IUPUI\ Research\ Bot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)ISC\ Systems\ iRc [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Java [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)JBH\ Agent [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Jakarta [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)JennyBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)JetCar [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)jeteye [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)jeteyebot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)JoBo [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)JOC\ Web\ Spider [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)JOC [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)JOC\ Web\ Spider [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)JustView [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Jyxobot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)jbrofuzz [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Kenjin.Spider [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Kapere [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Kenjin [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)KRetrieve [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Keyword\ Density [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)KRetrieve [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)ksoap [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)KWebGet [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)LapozzBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)larbin [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)leech [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)LeechFTP [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)LeechGet [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)libwww [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)libwww-perl [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)libwhisker [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Link [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)libghttp [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)LinksManager.com_bot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)LexiBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)lftp [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)loader [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)libWeb [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)likse [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)libwww-FM [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)LinkextractorPro [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)LinkScan [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)linktiger [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)LNSpiderguy [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)LocalcomBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)looksmart [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)LinkWalker [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)lmcrawler [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Linkie [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)lwp-trivial [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)LWP::Simple [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Mac\ Finder [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Mail\ Sweeper [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)mark.blonin [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)MaSagool [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Magnet [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Mag-Net [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)MarkWatch [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Mass [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Mata\ Hari [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)MCspider [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)MetaProducts\ Download\ Express [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Microsoft\ Data\ Access [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Microsoft\ URL\ Control [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Maxthon [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)MFC_Tear_Sample [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Memo [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Microsoft.URL [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Microsoft\ URL\ Control [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)MIDown [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)MIIxpc [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Mirror [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Missauga [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Missouri\ College\ Browse [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)miner [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Missigua\ Locator [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Mister [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Monster [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)mothra [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)mkdb [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)moget [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Moreoverbot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)netscan [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)MovableType [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)MSIECrawler [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)MSProxy [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)MVAClient [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)MyFamilyBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)MyGetRight [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)kmccrew [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)MSFrontPage [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)nameprotect [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)NASA\ Search [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Naver [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Navroad [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)NearSite [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)NetAnts [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)netattache [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)NetCarta [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)nessus [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Netcraft [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)NetMechanic [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)NetResearchServer [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)NetSpider [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)NetZIP [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Net\ Vampire [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)NEWT\ ActiveX [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Nextopia [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)NextGenSearchBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Net\ Vampire [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^NG$ [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)NICErsPRO [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)NimbleCrawler [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)noxtrumbot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Ninja [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)NPbot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Nutch [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)nikto [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Octopus [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Openvas [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Openbot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Offline [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Openfind [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)OpenTextSiteCrawler [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Oracle\ Ultra\ Search [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)OutfoxBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)P3P [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)PackRat [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)PageGrabber [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)PagmIEDownload [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)panscient [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Papa\ Foto [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)python [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)pavuk [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)PECL::HTTP [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)PeoplePal [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)pcBrowser [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)PHPCrawl [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)perl [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)PerMan [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)PersonaPilot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)PleaseCrawl [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)PHP\ version [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)PlantyNet_WebRobot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)playstarmusic [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Plucker [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Pockey [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Port\ Huron [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)ProPowerBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)prospector [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)ProWebWalker [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Prozilla [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)PushSite [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)PussyCat [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)PuxaRapido [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)puf [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Program\ Shareware [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Progressive\ Download [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)psbot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)psycheclone [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)planetwork [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)postrank [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)purebot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)pycurl [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Python-urllib [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Pump [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)QueryN [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Radiation [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)RealDownload [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)RedCarpet [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)RedKernel [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Reaper [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Recorder [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)ReGet [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)relevantnoise [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Rippers [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)SBIder [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)scooter [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)ScoutAbout [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)script [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)searchpreview [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)searchterms [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Seekbot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Serious [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Shai [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)shelob [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Shim-Crawler [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)SickleBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)RepoMonkey [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)RMA [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Rover [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Rsync [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Rufus [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)RTG30 [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)SAPO [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Siphon [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)InternetSeer.com [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)sitecheck [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)SiteSnagger [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Slurpy\ Verifier [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)SlySearch [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)SmartDownload [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)sna [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Snake [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)snagger [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Snapbot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Snoopy [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Steeler [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)SpaceBison [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)SpankBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)spanner [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)SpeedDownload [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Spegla [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Sphere [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Sphider [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Webscanner [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Sqworm [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Stamina [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)SpiderBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)sproose [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)sootle [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)seekerspider [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Stripper [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)studybot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Sucker [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)siclab [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)skygrid [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)SuperBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)SuperHTTP [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Surfbot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)SurfWalker [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)suzuran [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Szukacz [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)sqlmap [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)tAkeOut [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)TALWinHttpClient [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)tarspider [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Teleport [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Toata\ dragostea [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)toCrawl [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)urllib [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)User-Agent [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Telesoft [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Templeton [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)TestBED [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)turnit [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)TurnitinBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)The\ Intraformant [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)TheNomad [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)TightTwatBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Titan [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)True_Robot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)turingos [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Twisted\ PageGetter [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)URLy.Warning [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)URL\ Control [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)URLy\ Warning [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)URL_Spider_Pro [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)UtilMind [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)URLGetFile [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)URI::Fetch [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)UCmore [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)UdmSearch [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)UMBC [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)UniversalFeedParser [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)QuepasaCreep [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Vacuum [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)vayala [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)vobsub [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)vikspider [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)VCI [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)VoilaBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)voyager [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)VoidEYE [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)w3mir [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Web\ Image\ Collector [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Web\ Sucker [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Web2WAP [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebaltBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)webalta [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebCollage [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebAuto [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebBandit [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebCapture [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Webclipping.com [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebCopier [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebCopy [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebEMailExtrac [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebEnhancer [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebFetch [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebFilter [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebFountain [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebGo [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Web.Image.Collector [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebLeacher [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebMiner [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebMirror [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebmasterWorldForumBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebReaper [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebSauger [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebSnake [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)webshag [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Website [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Webster [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebStripper [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebVac [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebWhacker [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WebZIP [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)webwalk [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Wells\ Search [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WEP\ Search [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WeRelateBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)wget [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WhosTalking [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Whacker [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)whatweb [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Widow [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Wildsoft\ Surfer [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WUMPUS [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WinHTTrack [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)winhttp [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WinHttpRequest [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WISENutbot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WWW-Mechanize [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WWWOFFLE [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)wwwster [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)WWW-Collector [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Xaldon [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)xxxyy [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)zermelo [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Xenu [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)XGET [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)YahooYSMcm [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)YaDirectBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Zade [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)ZBot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)zerxbot [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Zeus [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)youda [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)Zyborg [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)zmeu [NC,OR] +RewriteCond %{HTTP_USER_AGENT} ^(.*)zune +RewriteRule .* - [F] +# Block Emtpy and Spoofed User-Agents # +RewriteCond %{HTTP_USER_AGENT} ^-?$ +RewriteRule .* - [F] \ No newline at end of file diff --git a/src/templates/partials/footer.njk b/src/templates/partials/footer.njk new file mode 100644 index 0000000..3750bb9 --- /dev/null +++ b/src/templates/partials/footer.njk @@ -0,0 +1,7 @@ + {# Data div end #} + + {# Main div end #} + + + + \ No newline at end of file diff --git a/src/templates/partials/header.njk b/src/templates/partials/header.njk new file mode 100644 index 0000000..8b57104 --- /dev/null +++ b/src/templates/partials/header.njk @@ -0,0 +1,16 @@ + + + + {{ page_title }} + + + + + + + +
{# Main div start #} + {% include "partials/primary_menu.njk" %} + +
{# Data div start #} +
\ No newline at end of file diff --git a/src/templates/partials/primary_menu.njk b/src/templates/partials/primary_menu.njk new file mode 100644 index 0000000..4422e62 --- /dev/null +++ b/src/templates/partials/primary_menu.njk @@ -0,0 +1,65 @@ + \ No newline at end of file diff --git a/src/templates/web-server.njk b/src/templates/web-server.njk new file mode 100644 index 0000000..5241a09 --- /dev/null +++ b/src/templates/web-server.njk @@ -0,0 +1,106 @@ +{% set page_title = "Web Servers" -%} +{% set section = "web-server" -%} + +{% include "partials/header.njk" %} + +

{% raw %}{{msg_webservers}}{% endraw %}

+ +
+ Apache + + Nginx +
+ + {# Apache Blocks #} +
+ +

{% raw %}{{msg_basic_htaccess}}{% endraw %}

+ + + +

{% raw %}{{msg_gzip}}{% endraw %}

+ + + +

{% raw %}{{msg_deflate}}{% endraw %}

+ + + +

{% raw %}{{msg_bad_bots}}{% endraw %}

+ + +
+ + {# Nginx Blocks #} + + +{% include "partials/footer.njk" -%} diff --git a/src/templates/wp-code.njk b/src/templates/wp-code.njk new file mode 100644 index 0000000..3bbc721 --- /dev/null +++ b/src/templates/wp-code.njk @@ -0,0 +1,32 @@ +{% set page_title = "WordPress Code" -%} +{% set section = "wp-code" -%} + +{% include "partials/header.njk" %} + +

{% raw %}{{msg_code_utils}}{% endraw %}

+ +

{% raw %}{{msg_wp_utils}}{% endraw %}

+ + +

{% raw %}{{msg_other_utils}}{% endraw %}

+ + +{% include "partials/footer.njk" -%} diff --git a/src/templates/wp-plugins.njk b/src/templates/wp-plugins.njk new file mode 100644 index 0000000..4095fff --- /dev/null +++ b/src/templates/wp-plugins.njk @@ -0,0 +1,33 @@ +{% set page_title = "Plugins" -%} +{% set section = "wp-plugins" -%} + +{% include "partials/header.njk" %} + +

{% raw %}{{msg_wp_plugins}}{% endraw %}

+ +
+

{% raw %}{{msg_next_plugins}}{% endraw %}

+
+ +
+ + Codeable + +

{% raw %}{{msg_codeable_plugins}}{% endraw %}

+
+ +
+ + Elementor + +

{% raw %}{{msg_elementor_plugins}}{% endraw %}

+
+ +
+ + Bloom + +

{% raw %}{{msg_bloom_plugins}}{% endraw %}

+
+ +{% include "partials/footer.njk" -%} diff --git a/src/templates/wp-themes.njk b/src/templates/wp-themes.njk new file mode 100644 index 0000000..375e3d9 --- /dev/null +++ b/src/templates/wp-themes.njk @@ -0,0 +1,26 @@ +{% set page_title = "Themes" -%} +{% set section = "wp-themes" -%} + +{% include "partials/header.njk" %} + +

{% raw %}{{msg_wp_themes}}{% endraw %}

+ +
+

{% raw %}{{msg_next_themes}}{% endraw %}

+
+ +
+ + Codeable + +

{% raw %}{{msg_codeable_themes}}{% endraw %}

+
+ +
+ + Divi + +

{% raw %}{{msg_divi_themes}}{% endraw %}

+
+ +{% include "partials/footer.njk" -%} diff --git a/src/templates/wp-tools.njk b/src/templates/wp-tools.njk new file mode 100644 index 0000000..11ad5d9 --- /dev/null +++ b/src/templates/wp-tools.njk @@ -0,0 +1,83 @@ +{% set page_title = "WP Tools" -%} +{% set section = "wp-tools" -%} + +{% include "partials/header.njk" %} + +

{% raw %}{{msg_wp_tools_title}}{% endraw %}

+ +
+ {% raw %}{{msg_security_keys}}{% endraw %} {# https://jsfiddle.net/ #} +

{% raw %}{{msg_generate_salt}}{% endraw %}

+

{{msg_generate}}{% endraw %}

+
+ +
+ WP_SITEURL + +
+ +
+ WP_HOME + +
+ +
+ {% raw %}{{msg_cookie_domain}}{% endraw %} + +
+ +
+ {% raw %}{{msg_post_autosave}}{% endraw %} + + + + +
+ +
+ {% raw %}{{msg_post_revisions}}{% endraw %} + + + + +
+ +
+ {% raw %}{{msg_ssl_login}}{% endraw %} + + + + +
+ +
+ {% raw %}{{msg_ssl_admin}}{% endraw %} + + + + +
+ +{% include "partials/footer.njk" -%} diff --git a/src/templates/wpo.njk b/src/templates/wpo.njk new file mode 100644 index 0000000..ab42827 --- /dev/null +++ b/src/templates/wpo.njk @@ -0,0 +1,71 @@ +{% set page_title = "WPO" -%} +{% set section = "wpo" -%} + +{% include "partials/header.njk" %} + +

{% raw %}{{msg_medition_tools}}{% endraw %}

+ + + +
+

WPO

+ + + + +

* {% raw %}{{msg_other_wpo_links}}{% endraw %}

+ + Pingdom Website Speed Test + GTMetrix + WebPageTest + keycdn Website Speed Test +
+ +
+

{% raw %}{{msg_security}}{% endraw %}

+ +
+ +
+

TTFB (Time To First Byte)

+ + + +
+ +
+

HTTP/2

+ + +
+ +
+

DNS

+ + + + +
+ +
+

Gzip

+ +
+ +
+

Mail

+ + + + +
+ +{% include "partials/footer.njk" -%} diff --git a/src/typescript/general.ts b/src/typescript/general.ts index 742d9ac..0690cdf 100644 --- a/src/typescript/general.ts +++ b/src/typescript/general.ts @@ -69,31 +69,6 @@ var utils = { return frag; }, // /create. - set_menu: function( active_item: string ): void { - 'use strict'; - - var html_menu = ''; - var sections, sections_length; - - sections = [ 'home', 'wpo', 'web-server', 'wp-tools', 'wp-code', 'wp-plugins', 'wp-themes', 'hosting' ]; - sections_length = sections.length; - - if ( document.getElementById( 'primary_menu' ) ) { - for ( var i = 0; i < sections_length; i++ ) { - if ( active_item === sections[i] ) { - html_menu += '
'; - } else { - html_menu += '
'; - } - } - - var fragment = this.create( html_menu ); - document.getElementById( 'primary_menu' ).appendChild( fragment ); - } else { - return null; - } - }, // /set_menu. - get_current_tab: function( fn: any ) { 'use strict'; diff --git a/src/typescript/home.ts b/src/typescript/home.ts index 26c4780..ba9d6d5 100644 --- a/src/typescript/home.ts +++ b/src/typescript/home.ts @@ -2,6 +2,9 @@ document.addEventListener( 'DOMContentLoaded', function() { 'use strict'; + utils.translator( document.body ); // Only if html page has body strings to translate. + //utils.translator( document.head ); // Only if html page has head strings to translate. + function show_tab_data_home( tab: any ) { var html, https_img, https_txt; @@ -106,11 +109,6 @@ document.addEventListener( 'DOMContentLoaded', function() { document.getElementById( 'api_url_info' ).appendChild( fragment ); } - utils.translator( document.body ); // Only if html page has body strings to translate. - //utils.translator( document.head ); // Only if html page has head strings to translate. - - utils.set_menu( 'home' ); - utils.get_current_tab( show_tab_data_home ); utils.show_data_div(); // Show principal content. diff --git a/src/typescript/hosting.ts b/src/typescript/hosting.ts index 3da5bb0..4281a87 100644 --- a/src/typescript/hosting.ts +++ b/src/typescript/hosting.ts @@ -4,7 +4,5 @@ document.addEventListener( 'DOMContentLoaded', function() { utils.translator( document.body ); // Only if html page has body strings to translate. //utils.translator( document.head ); // Only if html page has head strings to translate. - utils.set_menu( 'hosting' ); - utils.show_data_div(); // Show principal content. } ); diff --git a/src/typescript/web-server.ts b/src/typescript/web-server.ts index 45dd14c..6ebd21c 100644 --- a/src/typescript/web-server.ts +++ b/src/typescript/web-server.ts @@ -4,8 +4,6 @@ document.addEventListener( 'DOMContentLoaded', function() { utils.translator( document.body ); // Only if html page has body strings to translate. //utils.translator( document.head ); // Only if html page has head strings to translate. - utils.set_menu( 'web-server' ); - // Change from Apache to Nginx and viceversa. document.getElementById( 'check_apache_nginx' ).addEventListener( 'click', function() { var apache_div = document.getElementById( 'apache_div' ); diff --git a/src/typescript/wp-code.ts b/src/typescript/wp-code.ts index e1e6316..ca192bb 100644 --- a/src/typescript/wp-code.ts +++ b/src/typescript/wp-code.ts @@ -4,8 +4,6 @@ document.addEventListener( 'DOMContentLoaded', function() { utils.translator( document.body ); // Only if html page has body strings to translate. //utils.translator( document.head ); // Only if html page has head strings to translate. - utils.set_menu( 'wp-code' ); - utils.show_data_div(); // Show principal content. } ); diff --git a/src/typescript/wp-plugins.ts b/src/typescript/wp-plugins.ts index 34c35c7..ca192bb 100644 --- a/src/typescript/wp-plugins.ts +++ b/src/typescript/wp-plugins.ts @@ -4,8 +4,6 @@ document.addEventListener( 'DOMContentLoaded', function() { utils.translator( document.body ); // Only if html page has body strings to translate. //utils.translator( document.head ); // Only if html page has head strings to translate. - utils.set_menu( 'wp-plugins' ); - utils.show_data_div(); // Show principal content. } ); diff --git a/src/typescript/wp-themes.ts b/src/typescript/wp-themes.ts index f974234..ca192bb 100644 --- a/src/typescript/wp-themes.ts +++ b/src/typescript/wp-themes.ts @@ -4,23 +4,6 @@ document.addEventListener( 'DOMContentLoaded', function() { utils.translator( document.body ); // Only if html page has body strings to translate. //utils.translator( document.head ); // Only if html page has head strings to translate. - utils.set_menu( 'wp-themes' ); - utils.show_data_div(); // Show principal content. } ); -/* -chrome.webRequest.onHeadersReceived.addListener( - function(details) { - for (var i = 0; i < details.requestHeaders.length; ++i) { - console.log( details ); - if (details.requestHeaders[i].name === 'User-Agent') { - details.requestHeaders.splice(i, 1); - break; - } - } - return {requestHeaders: details.requestHeaders}; - }, - {urls: [""]}, - ["blocking", "requestHeaders"]); - */ diff --git a/src/typescript/wp-tools.ts b/src/typescript/wp-tools.ts index ae54ebf..2b028e5 100644 --- a/src/typescript/wp-tools.ts +++ b/src/typescript/wp-tools.ts @@ -1,6 +1,9 @@ document.addEventListener( 'DOMContentLoaded', function() { 'use strict'; + utils.translator( document.body ); // Only if html page has body strings to translate. + //utils.translator( document.head ); // Only if html page has head strings to translate. + function set_btns_url( tab: any ) { var current_url = tab.url; var current_domain = utils.extract_hostname( current_url ); @@ -17,10 +20,7 @@ document.addEventListener( 'DOMContentLoaded', function() { ( document.getElementById( 'wp_cookie_domain' ) ).value = "define( 'COOKIE_DOMAIN', '" + current_domain + "' );"; } - utils.translator( document.body ); // Only if html page has body strings to translate. - //utils.translator( document.head ); // Only if html page has head strings to translate. - - utils.set_menu( 'wp-tools' ); + //utils.set_menu( 'wp-tools' ); utils.get_current_tab( set_btns_url ); diff --git a/src/typescript/wpo.ts b/src/typescript/wpo.ts index e19b176..b0ea056 100644 --- a/src/typescript/wpo.ts +++ b/src/typescript/wpo.ts @@ -5,6 +5,9 @@ document.addEventListener( 'DOMContentLoaded', function() { var active_tabs: any = document.getElementsByClassName( 'item_wpo active_tab' ); var tab_wpo: any = document.getElementsByClassName( 'wpo_tab' ); + utils.translator( document.body ); // Only if html page has body strings to translate. + //utils.translator( document.head ); // Only if html page has head strings to translate. + function show_section_wpo() { var active_tab = document.getElementById( this.id ); @@ -105,10 +108,7 @@ document.addEventListener( 'DOMContentLoaded', function() { } ); } - utils.translator( document.body ); // Only if html page has body strings to translate. - //utils.translator( document.head ); // Only if html page has head strings to translate. - - utils.set_menu( 'wpo' ); + //utils.set_menu( 'wpo' ); utils.get_current_tab( show_tabs_buttons );