=== BestHelpTool SEO Audit & PageSpeed Scanner ===
Contributors: besthelptool
Tags: seo, audit, pagespeed, scanner, performance
Requires at least: 5.8
Tested up to: 7.0
Stable tag: 1.0.7
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A beautifully designed SEO audit and PageSpeed scanner tool that scans any website using Google PageSpeed Insights.

== Description ==

BestHelpTool SEO Audit & PageSpeed Scanner provides an animated frontend UI to let your visitors scan any website and instantly see their performance, SEO, accessibility, and best practice metrics.

== External services ==

This plugin connects to the Google PageSpeed Insights API to analyze website performance, SEO, accessibility, and best practices scores.

It sends the website URL entered by the visitor whenever a scan is requested.
This service is provided by Google LLC: Terms of Service (https://policies.google.com/terms), Privacy Policy (https://policies.google.com/privacy).

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Add the shortcode `[besthelptool_scanner]` or `[besthelptool_pagespeed_scanner]` to any page.
4. Optional: Go to Settings -> SEO Scanner to input your own free Google PageSpeed API key or opt in to display attribution.

== Changelog ==

= 1.0.7 =
* Added Full Technical Report unlock button in scan results, allowing visitors to obtain comprehensive itemized reports and step-by-step fix guides.

= 1.0.6 =
* Added data-no-optimize and data-litespeed-no-delay script attributes to prevent caching plugins (LiteSpeed Cache, WP Rocket) from delaying scanner execution.
* Implemented smart polling loader (besthelptoolTryScan) to gracefully wait for script hydration without displaying alert boxes when clicked immediately after page load.

= 1.0.5 =
* Completely eliminated page redirects by replacing the HTML form tag with a container div and type="button" element.
* Refactored JavaScript execution to use a global window.besthelptoolTriggerScan handler with automatic retry hydration for Elementor and LiteSpeed Cache compatibility.

= 1.0.4 =
* Fixed JavaScript initialization when scripts are delayed or deferred by caching plugins (LiteSpeed Cache, WP Rocket, etc.).
* Added action="javascript:void(0);" and onsubmit="return false;" to scanner form to prevent page redirects on submission before script hydration.

= 1.0.3 =
* Added lightning-fast built-in local fallback scan engine when Google PageSpeed API is rate-limited on shared hosting.
* Reduced default timeout to 12 seconds for faster failover and smoother user experience.

= 1.0.2 =
* Removed all promotional links and credit branding from frontend shortcode output by default.
* Added optional admin opt-in checkbox in settings to display subtle attribution.
* Replaced inline scripts and styles with proper WordPress enqueue hooks (wp_register_style, wp_register_script, wp_enqueue_style, wp_enqueue_script, and wp_localize_script).
* Expanded all prefixes to unique 21-character namespace (besthelptool_scanner_) to eliminate any naming conflicts.

= 1.0.1 =
* Clean compliance release for WordPress.org repository.
* Documented external Google PageSpeed service.
* Namespaced all hooks and functions cleanly.