Do You Want Up to 50% Off Of Our Favourite Brands & Products? π€
As Well As Amazing Health Articles, Resources & Subscriber Giveaways?
You Know What To Do! π
Oweee!
Welcome to The Bircher Bar! π
Check your inbox for our welcome email, if you can't spot it - check your 'Promotions' tab and drag it over to your 'Primary' section so you find us next time β
// This script prevents Google from indexing Table of Contents fragment URLs while keeping TOC navigation functional
document.addEventListener("DOMContentLoaded", function() {
// Check if Googlebot is crawling
let isGooglebot = /Googlebot/i.test(navigator.userAgent);
if (isGooglebot) {
// If Googlebot, remove the fragment from TOC links
document.querySelectorAll("a[href*='#ruffruff-table-of-contents-item']").forEach(function(link) {
let cleanUrl = window.location.href.split("#")[0]; // Get main URL without fragment
link.href = cleanUrl; // Set TOC links to main page URL for Googlebot
});
}
});