• Resolved eaglejohn

    (@danielbenjamins)


    I noticed that the plugin is outputting unneccesary JS on the front end (this is only meant for logged in users):

    ../wp-content/plugins/broken-link-notifier/includes/js/results-front.js

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author PluginRx

    (@apos37)

    Are you referring to the scan results? You can turn that off in Broken Link Notifier > Settings > Show Results in Dev Console. It’s only really useful during set up and troubleshooting. It helps you identify which links are being scanned and which ones are being flagged.

    Thread Starter eaglejohn

    (@danielbenjamins)

    I got a notification from Semrush that there is (uncompressed) JS and CSS on the front end:

    <script type=”df403666d3d0e01f1916660d-text/javascript” src=”domain.com/wp-content/plugins/broken-link-notifier/includes/js/results-front.js” id=”front_end_js-js”></script>

    <link rel=’stylesheet’ id=’front_end_css-css’ href=’https://domain.com/wp-content/plugins/broken-link-notifier/includes/css/results-front.css&#8217; type=’text/css’ media=’all’ />

    Plugin Author PluginRx

    (@apos37)

    Sorry, just saw that you responded. The scripts are not for logged-in users only. The results-front.js script is how the plugin scans the pages when a visitor visits a page, and for highlighting broken links from a query string (when you click to find a link). The results-front.css stylesheet is for styling the highlighted links. While highlighting broken links is usually only seen by admins when trying to find a broken link, the tool is there in case you’re working with a support ticket and want to highlight something to reference for them.

    Semrush is referring to uncompressed (non-minified) versions of the scripts. I can use minified versions in a future update.

    • This reply was modified 1 year ago by PluginRx.
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘JS on front end’ is closed to new replies.