Theme’s javascript exposing too much
-
Good morning,
I recently instaled this theme. What I discovered is that by looking at the page source, the theme includes some javascript which is exposing some information about life links which could be run by an attacker.I’m wondering if there is a workaround to either hide this/improve the theme or remove ?
Here is an example from my testing site:
————————–
<script type=’text/javascript’>
/* <![CDATA[ */
var CZRParams = {“assetsPath”:”https:\/\/www.my.website.com\/wp-content\/themes\/customizr\/assets\/front\/”,”_disabled”:[],”centerSliderImg”:”1″,”isLightBoxEnabled”:”1″,”SmoothScroll”:{“Enabled”:true,”Options”:{“touchpadSupport”:false}},”isAnchorScrollEnabled”:””,”anchorSmoothScrollExclude”:{“simple”:[“[class*=edd]”,”.carousel-control”,”[data-toggle=\”modal\”]”,”[data-toggle=\”dropdown\”]”,”[data-toggle=\”czr-dropdown\”]”,”[data-toggle=\”tooltip\”]”,”[data-toggle=\”popover\”]”,”[data-toggle=\”collapse\”]”,”[data-toggle=\”czr-collapse\”]”,”[data-toggle=\”tab\”]”,”[data-toggle=\”pill\”]”,”[data-toggle=\”czr-pill\”]”,”[class*=upme]”,”[class*=um-]”],”deep”:{“classes”:[],”ids”:[]}},”timerOnScrollAllBrowsers”:”1″,”centerAllImg”:”1″,”HasComments”:””,”LoadModernizr”:”1″,”stickyHeader”:””,”extLinksStyle”:””,”extLinksTargetExt”:””,”extLinksSkipSelectors”:{“classes”:[“btn”,”button”],”ids”:[]},”dropcapEnabled”:””,”dropcapWhere”:{“post”:””,”page”:””},”dropcapMinWords”:””,”dropcapSkipSelectors”:{“tags”:[“IMG”,”IFRAME”,”H1″,”H2″,”H3″,”H4″,”H5″,”H6″,”BLOCKQUOTE”,”UL”,”OL”],”classes”:[“btn”],”id”:[]},”imgSmartLoadEnabled”:””,”imgSmartLoadOpts”:{“parentSelectors”:[“[class*=grid-container], .article-container”,”.__before_main_wrapper”,”.widget-front”,”.post-related-articles”,”.tc-singular-thumbnail-wrapper”],”opts”:{“excludeImg”:[“.tc-holder-img”]}},”imgSmartLoadsForSliders”:”1″,”pluginCompats”:[],”isWPMobile”:””,”menuStickyUserSettings”:{“desktop”:”stick_always”,”mobile”:”stick_always”},”adminAjaxUrl”:”https:\/\/www.my.website.com\/wp-admin\/admin-ajax.php”,”ajaxUrl”:”https:\/\/www.my.website.com\/?czrajax=1″,”frontNonce”:{“id”:”CZRFrontNonce”,”handle”:”72910f34e7″},”isDevMode”:””,”isModernStyle”:”1″,”i18n”:{“Permanently dismiss”:”Permanently dismiss”},”frontNotifications”:{“welcome”:{“enabled”:false,”content”:””,”dismissAction”:”dismiss_welcome_note_front”}}};
/* ]]> */
</script>
————————–Marcing
- The topic ‘Theme’s javascript exposing too much’ is closed to new replies.