var breeze_prefetch = {"local_url":"https://topnotch-seo.com","ignore_remote_prefetch":"1","ignore_list":["wp-admin","wp-login.php"]};
//# sourceURL=breeze-prefetch-js-extra
https://topnotch-seo.com/wp-content/plugins/breeze/assets/js/js-front-end/breeze-prefetch-links.min.js
https://topnotch-seo.com/wp-includes/js/jquery/jquery.min.js
https://topnotch-seo.com/wp-includes/js/jquery/jquery-migrate.min.js
var __CONFIG__ = {"serverTimestamp":1786327479,"currentUser":{"user_login":false,"user_email":false,"user_level":false,"user_firstname":false,"user_lastname":false,"display_name":false,"ID":0,"roles":[]}};
//# sourceURL=brizy-preview-js-before
Your Google search result is your digital storefront. Before a customer ever lands on your website, they judge your business by its title and description.
Don't leave it to chance. Use our SERP Snippet Simulator to visualise exactly how your pages will appear in Google search results.
Craft compelling titles and descriptions that stand out from competitors and drive more clicks.
function updatePreview() {
// Limits (in pixels approximately)
const MAX_TITLE_PX = 580;
const MAX_DESC_PX = 920; // roughly 155-160 chars but pixels matter more// Inputs
let title = document.getElementById('input-title').value;
let desc = document.getElementById('input-desc').value;
let url = document.getElementById('input-url').value;// Default States
if (!title) title = "Your Page Title Will Appear Here";
if (!desc) desc = "This is how your meta description will look in Google search results. Make sure it is catchy and includes your main keywords.";
// --- Helper to measure text width visually ---
// We create a temporary span to measure actual pixel width
function getTextWidth(text, font) {
const canvas = getTextWidth.canvas || (getTextWidth.canvas = document.createElement("canvas"));
const context = canvas.getContext("2d");
context.font = font;
const metrics = context.measureText(text);
return metrics.width;
}// Measure Title (Google Title Font is usually Arial 20px)
const titleWidth = getTextWidth(title, "20px Arial");
// Measure Desc (Google Desc Font is usually Arial 14px)
const descWidth = getTextWidth(desc, "14px Arial");// --- Update Progress Bars ---
updateBar('bar-title', 'count-title', titleWidth, MAX_TITLE_PX);
updateBar('bar-desc', 'count-desc', descWidth, MAX_DESC_PX);// --- Truncate Text for Preview ---
// Simple truncation logic for visual preview
// Note: Google truncates by pixels, this is a simulation
const prevTitle = document.getElementById('prev-title');
const prevDesc = document.getElementById('prev-desc');
const prevUrl = document.getElementById('prev-url');// Update Text
prevTitle.innerText = title;
prevDesc.innerText = desc;
// URL Logic
if(url) {
// Remove https:// if user added it
url = url.replace(/(^\w+:|^)\/\//, '');
prevUrl.innerText = 'https://' + url;
} else {
prevUrl.innerText = 'https://topnotch-seo.com › ...';
}// Apply ellipsis CSS class if too long?
// Actually, CSS text-overflow is handled by the container styles above,
// but let's visually warn the user via the bars.
}function updateBar(barId, countId, currentPx, maxPx) {
const bar = document.getElementById(barId);
const count = document.getElementById(countId);
const percentage = Math.min((currentPx / maxPx) * 100, 100);
bar.style.width = percentage + "%";
count.innerText = Math.round(currentPx) + "px / " + maxPx + "px";// Color Logic
if (currentPx > maxPx) {
bar.className = "bar-fill danger"; // Red
} else if (currentPx > (maxPx * 0.9)) {
bar.className = "bar-fill warning"; // Yellow/Orange
} else {
bar.className = "bar-fill"; // Blue/Green
}
}
var wpilFrontend = {"ajaxUrl":"/wp-admin/admin-ajax.php","postId":"695","postType":"post","openInternalInNewTab":"0","openExternalInNewTab":"0","disableClicks":"0","openLinksWithJS":"0","trackAllElementClicks":"0","clicksI18n":{"imageNoText":"Image in link: No Text","imageText":"Image Title: ","noText":"No Anchor Text Found"}};
//# sourceURL=wpil-frontend-script-js-extra
https://topnotch-seo.com/wp-content/plugins/link-whisper-premium/js/frontend.min.js
https://topnotch-seo.com/wp-includes/js/imagesloaded.min.js
var oceanwpLocalize = {"nonce":"ccb91eaa96","isRTL":"","menuSearchStyle":"drop_down","mobileMenuSearchStyle":"disabled","sidrSource":null,"sidrDisplace":"1","sidrSide":"left","sidrDropdownTarget":"link","verticalHeaderTarget":"link","mobileDropdownTarget":"link","semanticMobileHeader":"","semanticDesktopHeader":"","customScrollOffset":"0","customSelects":".woocommerce-ordering .orderby, #dropdown_product_cat, .widget_categories select, .widget_archive select, .single-product .variations_form .variations select","loadMoreLoadingText":"Loading..."};
//# sourceURL=oceanwp-main-js-extra
https://topnotch-seo.com/wp-content/themes/oceanwp/assets/js/theme.min.js
https://topnotch-seo.com/wp-content/themes/oceanwp/assets/js/drop-down-mobile-menu.min.js
https://topnotch-seo.com/wp-content/themes/oceanwp/assets/js/drop-down-search.min.js
https://topnotch-seo.com/wp-content/themes/oceanwp/assets/js/vendors/magnific-popup.min.js
https://topnotch-seo.com/wp-content/themes/oceanwp/assets/js/ow-lightbox.min.js
https://topnotch-seo.com/wp-content/themes/oceanwp/assets/js/vendors/flickity.pkgd.min.js
https://topnotch-seo.com/wp-content/themes/oceanwp/assets/js/ow-slider.min.js
https://topnotch-seo.com/wp-content/themes/oceanwp/assets/js/scroll-effect.min.js
https://topnotch-seo.com/wp-content/themes/oceanwp/assets/js/scroll-top.min.js
https://topnotch-seo.com/wp-content/themes/oceanwp/assets/js/select.min.js
https://topnotch-seo.com/wp-content/plugins/breeze/assets/js/js-front-end/breeze-lazy-load.min.js
document.addEventListener("DOMContentLoaded", function () {
if ( "function" !== typeof window.LazyLoad && "function" !== typeof LazyLoad ) {
return;
}var breezeLazyLoad = window.LazyLoad || LazyLoad;window.lazyLoadInstance = new breezeLazyLoad({
elements_selector: ".br-lazy",
data_src: "breeze",
data_srcset: "brsrcset",
data_sizes: "brsizes",
class_loaded: "br-loaded",
threshold: 300,
});
});
//# sourceURL=breeze-lazy-js-after
https://topnotch-seo.com/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-events-provider-wpforms-063cb453c64ecfd3dafe.js
https://topnotch-seo.com/wp-content/plugins/brizy/public/editor-build/prod/editor/js/group-jq.min.js
https://topnotch-seo.com/wp-content/plugins/brizy-pro/public/editor-build/prod/js/group-1_2.pro.min.js
https://topnotch-seo.com/wp-content/plugins/brizy/public/editor-build/prod/editor/js/preview.min.js
https://topnotch-seo.com/wp-content/plugins/brizy-pro/public/editor-build/prod/js/preview.pro.min.js