Austin from Wise Waste Services using a pooper-scooper to clean a dense green lawn in Wise County, Texas.

We Scoop Poop,
You Relax

Professional Pet Waste Removal & Outdoor Odor Treatments in Wise County, TX.



⭐
Highly Rated
📍
Locally Owned
🛡️
No Contracts
📱
Text Before We Arrive
🌿
Eco-Friendly
Why WiseScoopers

Why Wise County Dog Owners Choose
Our Pooper Scooper Service

Proudly local, fiercely reliable. Here is why Wise County trusts us with their yards.

🤝

Reliable & Professional

We show up when we say we will. Consistent, dependable service every single visit.

📍

Locally Owned & Operated

We're your neighbors, not a franchise. We genuinely care about this community.

💳

Easy, Transparent Billing

Simple pricing, no hidden fees. You always know exactly what you're paying.

⭐

Highly Rated

Our clients love us. See why so many Wise County families trust WiseScoopers.

💰

Affordable Pricing

Great value without cutting corners. Quality dog poop removal that fits your budget.

🌿

Environmentally Aware

We dispose of waste responsibly and use eco-friendly products to protect your lawn.

Wise Waste Mascot
100% Peace of Mind

No Poop Left Behind Guarantee

We take pride in our spotless cleanups. If you ever find a pile we missed within 24 hours of your service, let us know and we’ll come back out to re-scoop your yard for free. Your complete satisfaction is guaranteed!

Reliable Pet Waste Services

Choose Your Core Service

We take the chore out of pet ownership across Wise County, TX. Enjoy a consistently spotless yard and fresh indoor boxes with flat monthly rates and zero hidden fees per pet.

🐕 Dog Waste Only

$78
($18 / visit)
Billed Monthly • Weekly Visits
What it is: Regular outdoor yard scooping to keep lawns clean, sanitary, and safe for family and pets.
  • ✓ Flat rate for all dogs (no extra pet charges)
  • ✓ Thorough grid-walk & double bagging
  • ✓ Free outdoor bin disposal
  • ✓ Secure gate check on every visit
Waste Haul-Away: +$5 / visit
Learn More & Pricing ➔

🐈 Cat Litter Only

$55
($12.70 / visit)
Billed Monthly • Weekly Visits
What it is: Routine indoor litter box scooping, deodorizing, and area sweeping to maintain a fresh home.
  • ✓ Flat rate for all litter boxes
  • ✓ Thorough scoop, level, and deodorize
  • ✓ Sweep up tracked litter around the boxes
  • ✓ Need litter? We can provide it (+$10 / visit per box)
✨ As-Needed Deep Clean: $25 (1st box)
+$15 ea. additional box
Learn More & Pricing ➔
🌿

Yard Fresh Odor Treatment

What it is: Professional enzymatic lawn spray that breaks down waste residue and eliminates stubborn urine odors. 100% pet-safe.

$10 /visit add-on | $25 standalone
+$7 extra sections
Learn More & Pricing ➔
*Yard Fresh Treatment requires a working outdoor water spigot during service. One-time cleanups start at $50/hour.
On-Service Process

What Happens During Every Cleaning Visit

A seamless, reliable process from arrival to a secure, fresh yard.

1
📱

Heads-Up Text

We text you 30–60 minutes before arriving so you're never caught off guard.

2
🐾

Thorough Scoop

We systematically grid and clear your yard with care and precision.

3
🔒

Gate Check

We double-check and securely latch your gate behind us every single time.

4
📸

Gate Photo Sent

We send photo confirmation so you know your pets are safe to go back out.

Real Results

See the Difference We Make

Every visit, we leave your yard completely clean. No shortcuts, no missed spots. Backed by our No Poop Left Behind Guarantee.

✓
We pick up every single pile — even in hard-to-reach corners
✓
Waste is bagged and removed from your backyard
✓
Gate photo sent when complete so your dogs are always safe
Before
After
Group Savings

The More Neighbors Who Join, The More You Save!

Refer friends or neighbors in your area. When multiple households sign up, everyone's rate drops.

2 Nearby Homes

5% Off Your Recurring Service

3 Nearby Homes

10% Off Your Recurring Service

4+ Nearby Homes

15% Off Your Recurring Service

Ready to start saving? Just mention your neighbor's name when building your instant quote!

*Discounts apply universally to any recurring plan (dog waste, cat litter, or bundle) as long as active service is maintained together in the same neighborhood or subdivision.

Where We Serve

Service Areas

Proudly Serving Wise County & Surrounding Communities

We provide reliable dog poop scooping, pet waste removal, and cat litter box cleaning across Wise County and North Texas. Check out our local service areas below, and use our interactive calculator to get your instant quote today!

📍Decatur
📍Bridgeport
📍Rhome
📍Runaway Bay
📍Boyd
📍New Fairview
📍Aurora
📍Alvord
📍Newark
📍Chico
📍Paradise
📍Lake Bridgeport
Customer Feedback

What Our Customers Say

Your trust means everything to us. We're grateful for every customer who chooses WiseScoopers and takes a moment to share their experience. Your support helps our local small business grow!

Real reviews from our Google Business Profile. Thank you for supporting local!

Two dogs enjoying a clean yard after professional dog waste removal by Wise Waste Services in Wise County, TX.
Professional Dog Waste Removal

Dog Waste Removal Service

Enjoy crystal-clear, straightforward pricing with a single flat monthly rate covering unlimited dogs—no extra pet fees! We thoroughly sweep your yard, securely bag all waste, and leave your lawn clean and ready to enjoy.

How Our Yard Cleanup Works

We make keeping your lawn clean completely effortless. Here is what you can expect on every scheduled visit to your Wise County home:

1

Systematic Grid Walk

We perform a thorough, perimeter-to-center grid walk across your entire lawn to ensure no waste is missed, even in tall grass or garden borders.

2

Sanitized Scooping & Bagging

All waste is carefully collected and sealed in heavy-duty garbage bags. We sanitize our rakes and footwear between every single yard for safety.

3

Secure Gate Check

We double-check and securely latch your gates upon arrival and departure, ensuring your dogs stay safe and secure inside your yard.

Bi-Weekly

Flat Rate (Unlimited Dogs)
Serviced every 2 weeks to maintain a tidy lawn.
$65/mo
($30 / visit)
  • Service FrequencyEvery 2 Weeks
  • Dog LimitUnlimited Dogs
  • DisposalIn outdoor bin (Free)

Twice-Weekly

Flat Rate (Unlimited Dogs)
Double the visits for heavy-traffic or multi-dog yards.
$139/mo
($16 / visit)
  • Service Frequency2x Per Week
  • Dog LimitUnlimited Dogs
  • DisposalIn outdoor bin (Free)

One-Time Cleanups & Yard Add-Ons

Need a single yard refresh before hosting an event, or spring cleaning after winter? Choose from our flexible one-time rates and professional yard enhancement options below.

One-Time Yard Cleanup$50 min
Covers 1st hr, then $50/hr
🌿 Yard Fresh Treatment$10 /visit
Base section (+$7/ea extra)
Waste Haul-Away: Leave waste bagged in your outdoor bin for free, or let us haul it away completely for + $5/visit.
🎁
GET YOUR FIRST SCOOP FREE!Sign up for any recurring weekly, twice-weekly, or biweekly dog waste service, and your first scheduled scoop is on us!
🧽
Sanitized Tools & Secure GatesYour pet's safety is our top priority. We sanitize our equipment and footwear between every yard to prevent the spread of illness, and we always double-check that your gates are securely closed when we leave.
Two cats sitting near a fresh, deep-cleaned litter box maintained by Wise Waste Services in Wise County, TX
Professional Cat Litter Care

Litter Box Cleaning Service

Keep your indoor air fresh and your home pristine without lifting a scoop. Enjoy straightforward, flat monthly rates covering any number of litter boxes with professional deodorizing included!

How Our Litter Box Cleaning Works

Indoor cat care should be completely stress-free and odor-free. Here is how we maintain your cat boxes with expert care on every visit:

1

Complete Scooping & Sifting

We thoroughly sift and scoop all waste clumps and solid debris from every box in your home, ensuring clean litter is left behind.

2

Deodorizing & Area Sweep

We level the remaining litter, apply fresh pet-safe deodorizer, and sweep up any stray litter tracked around the box enclosure.

3

Shoe Covers & Clean Tools

We wear protective shoe covers upon entering your home and thoroughly sanitize all our scooping tools between every single customer visit.

Bi-Weekly

Flat Rate (No Box Limit)
Maintains box freshness on a relaxed 2-week schedule.
$40/mo
($18 / visit)
  • Service FrequencyEvery 2 Weeks
  • Box LimitNo Box Limit
  • DeodorizingIncluded

Weekly

Flat Rate (No Box Limit)
Routine weekly care to keep litter areas completely odor-free.
$55/mo
($13 / visit)
  • Service FrequencyOnce Weekly
  • Box LimitNo Box Limit
  • DeodorizingIncluded

One-Time Cleanups & Deep Cleans

Need a single box refresh or a complete wash & sanitize treatment? Choose from our individual cat care options below.

One-Time Box Cleanup$35
Flat rate for all boxes
🧼 Box Deep Clean$25 1st box
+$15 per additional box

Thorough Wash, Sanitizing & Fresh Litter Refill: Recommended every 2–3 weeks to eliminate lingering odors and buildup. Completely optional — just let us know when you'd like it done! (Charged at time of service)

📦 Litter Supply: We can supply standard clumping litter for your boxes for + $10/visit, or you can provide your own. Waste haul-away is also available for + $5/visit.
🐈
FRESH & ODOR-FREE HOMESOur professional scoopers wear protective shoe covers upon entering your home and thoroughly sanitize all tools between visits to keep your living space pristine.
🎁
FIRST SCOOP FREE!Sign up for any recurring cat litter box cleaning plan and your first scheduled box service is completely free!

A lush, green lawn in Wise County, TX, after an odor-eliminating Yard Fresh Treatment by Wise Waste Services.
Commercial & Property Services

Smart Pet Waste Management For Your Community

Keep your shared spaces clean, safe, and inviting for residents and guests. We provide dependable, tailored pet waste management solutions for properties throughout Wise County.

What We Handle

🐕

Common Area Scooping

Routine, scheduled hand-cleaning of dog runs, courtyards, greenbelts, and pet relief zones. We make wide passes through high-traffic play areas so they stay safe and usable.

🗑️

Waste Station Maintenance

We empty the receptacles, restock the dog poop bags, and completely sanitize the surrounding radius. All waste is double-bagged into your property's designated bins.

🌿

Yard Fresh Odor Treatment

We apply our commercial-grade, pet-safe enzymatic treatment to artificial turf and high-traffic areas to instantly break down and eliminate stubborn urine odors.

*Requires working outdoor water spigot

Properties We Serve

🏘️

HOAs & Neighborhoods

Clean common areas and greenbelts that keep your residents and the board happy.

🏢

Apartment Communities

Courtyards, dog runs, and pet relief zones kept resident-ready between turns.

📋

Property Managers

One reliable point of contact across the properties you oversee. No chasing required.

🌳

Parks & Common Areas

High-traffic play areas swept on a schedule so they stay safe and usable.

⛺

RV Parks & Camps

Ongoing ground upkeep for pet-friendly hospitality spaces looking to maintain a pristine environment.

🏥

Veterinary & Daycares

Sanitary, reliable cleanups for businesses that see high volumes of pets every day.

Four Steps to a Clean Property

1

Request an Assessment

Send your property details via our contact form and we'll reach out within one business day to set a time.

2

On-Site Walkthrough

We meet with you on-site for a free assessment to walk the grounds, evaluate traffic, and map out the scope.

3

Custom Service Plan

You receive a clear, customized proposal tailored specifically to your property's size and needs, with exact pricing.

4

Dependable Service

Once approved, service begins. We keep you updated with reliable scheduling and ensure everything is clean from day one.

The Wise Waste Difference

✓

Customized Service Plans

Every property is unique. We build a maintenance plan tailored perfectly to your specific grounds and budget.

✓

Sanitized & Professional

We are a uniformed team held to a high standard. Tools and boots are disinfected between sites.

✓

Fully Licensed & Insured

Work with confidence. We are fully covered so your board, owners, and residents are completely protected.

✓

Reliable Communication

Prompt responses, proactive updates, and dependable scheduling. You'll never guess when we're showing up.

Need something not listed?

Because every property is unique, commercial pricing is customized based on property size, station count, and frequency. We will build a plan around your exact needs.

Request Your Free Assessment 🪄
A pet waste station for wise county, TX.
Lawn Odor Treatment

Yard Fresh Treatment

A professional-strength enzymatic spray treatment that breaks down urine and organic waste, eliminates lingering pet odors, and leaves your lawn smelling fresh and clean.

One-Time Treatment

Stand-Alone Service
Perfect for hosting events, spring cleaning, or instant relief.
$25 flat
Additional sections: +$7 per visit
How Yard Sections Are Counted
Front Yard1 Section
Backyard1 Section
Side YardsBoth Combined = 1 Section
  • ✓ 100% pet-safe & lawn-friendly formula
  • ✓ Breaks down bacteria instead of masking odors
  • ✓ Ideal for dog runs, patios, and heavy-use spots
🌿
Commercial-Grade Enzymatic Power We apply the treatment directly to high-traffic areas where pets go the most, neutralizing odor-causing organic waste on contact.
*Requires a working outdoor water spigot during service.
Wise Waste Services Pricing - Top Section
Our Service Packages

Detailed Pricing Options

Enjoy crystal-clear, straightforward pricing with a single flat monthly rate covering unlimited pets—no extra pet fees! Optional add-ons are completely up to you. Explore our flexible frequencies and one-time cleanups below.

Bi-Weekly

Flat Rate (Unlimited Dogs)
Serviced every 2 weeks to maintain a tidy lawn.
$65/mo
($30 / visit)
Service FrequencyEvery 2 Weeks
Dog LimitUnlimited Dogs
DisposalIn outdoor bin (Free)

Twice-Weekly

Flat Rate (Unlimited Dogs)
Double the visits for heavy-traffic or multi-dog yards.
$139/mo
($16 / visit)
Service Frequency2x Per Week
Dog LimitUnlimited Dogs
DisposalIn outdoor bin (Free)
View Full Dog Waste Removal Details ➔

Bi-Weekly

Flat Rate (Any Number of Boxes)
Maintains box freshness on a relaxed 2-week schedule.
$40/mo
($18 / visit)
Service FrequencyEvery 2 Weeks
Box LimitNo Box Limit
DeodorizingIncluded

Weekly

Flat Rate (Any Number of Boxes)
Routine weekly care to keep litter areas completely odor-free.
$55/mo
($13 / visit)
Service FrequencyOnce Weekly
Box LimitNo Box Limit
DeodorizingIncluded
View Full Litter Box Cleaning Details ➔

Bi-Weekly Bundle

Dog Waste + Litter Boxes
Combined every-2-weeks care for indoor and outdoor pets.
$90/mo
($42 / visit)
Saves $15
FrequencyEvery 2 Weeks
Pet LimitsUnlimited Dogs + Boxes

Twice-Weekly Bundle

Dog Waste + Litter Boxes
Maximum frequency service covering all pets twice a week.
$206/mo
($24 / visit)
Saves $28
Frequency2x Per Week
Pet LimitsUnlimited Dogs + Boxes
Serving Wise County, TX Local Pet Waste Removal
Happy Pets Served 🐕 ✨
Wise Waste Services Pricing - Bottom Section

One-Time Cleanups & Add-Ons

🐶 One-Time Yard Cleanup

$50 min (covers 1st hr, then $50/hr)

$50 min
🐱 One-Time Box Cleanup

Flat rate for all boxes

$35
⭐ One-Time Bundle

Yard 1st hr + all boxes

$69
🌿 Yard Fresh Treatment

Base section (+$7/ea extra section)

$10 /visit
🧼 Box Deep Clean

1st Box ($15 each additional)

$25
📦 Litter Supply

Standard clumping litter per box

$10 /visit
Waste Haul-Away: Leave in your outdoor bin for free, or we haul it away for +$5/visit across all services.
window.addEventListener('DOMContentLoaded', function() { function sendHeight() { var height = document.body.scrollHeight; window.parent.postMessage({ type: 'ww-quote-height', height: height }, '*'); } window.addEventListener('message', function(event) { if (event.data && event.data.type === 'ww-quote-request-height') { sendHeight(); } }); sendHeight(); setTimeout(sendHeight, 200); setTimeout(sendHeight, 600); });
Serving Wise County, TX Local Pet Waste Removal
Happy Pets Served 🐕 ✨
Included With Every Visit

What You Get for the Price

No hidden fees, no gimmicks, and no surprises at the gate. Every single plan includes all of this standard:

💬

Text Before We Arrive

A quick heads-up text 30–60 minutes before we show up so you're never caught off guard.

✨

Every Pile, Every Time

We grid your entire yard and scoop every single pile, even in those tricky, hard-to-reach corners.

🗑️

Waste Properly Managed

Everything is securely double-bagged and placed right in your outdoor bin for free (or hauled away if added).

📸

Closed-Gate Guarantee

A confirmation photo of your latched gate after every single visit, keeping your pets safe and secure.

🛡️

No Contracts Ever

Stay because you love our spotless yard, not because you signed a paper. Pause or cancel anytime.

📍

Locally Owned & Insured

We're your neighbors right here in Wise County—not a faceless franchise—and fully insured for peace of mind.

Wise Waste Mascot
100% Peace of Mind

No Poop Left Behind Guarantee

We take pride in our spotless cleanups. If you ever find a pile we missed within 24 hours of your service, let us know and we’ll come back out to re-scoop your yard for free. Your complete satisfaction is guaranteed!

Group Savings

The More Neighbors Who Join, The More You Save!

Refer friends or neighbors in your area. When multiple households sign up, everyone's rate drops.

2 Nearby Homes

5% Off Your Recurring Service

3 Nearby Homes

10% Off Your Recurring Service

4+ Nearby Homes

15% Off Your Recurring Service

Ready to start saving? Just mention your neighbor's name when building your instant quote!

*Discounts apply universally to any recurring plan (dog waste, cat litter, or bundle) as long as active service is maintained together in the same neighborhood or subdivision.

Where We Serve

Service Areas

Proudly Serving Wise County & Surrounding Communities

We provide reliable dog poop scooping, pet waste removal, and cat litter box cleaning across Wise County and North Texas. Check out our local service areas below, and use our interactive calculator to get your instant quote today!

📍Decatur
📍Bridgeport
📍Rhome
📍Runaway Bay
📍Boyd
📍New Fairview
📍Aurora
📍Alvord
📍Newark
📍Chico
📍Paradise
📍Lake Bridgeport
Important Details

The Fine Print

📋 Service & Access Expectations

  • Yard Access: Gates must be unlocked on your service day (or provide us with a gate code).
  • Waste Disposal: Retrieved waste is securely bagged and placed in your outdoor bin for free (haul-away available as an add-on).
  • Dogs in Yard: Friendly dogs are welcome to hang out! Please keep aggressive dogs indoors during visits.
  • Holiday Schedule: If your regular service day falls on a major holiday, we will coordinate rescheduling with you ahead of time.

💲 Billing & Guarantees

  • Flat Monthly Billing: Subscriptions are billed automatically each month. No hidden fees or contracts.
  • Per-Visit Add-Ons: Add-ons are normally billed per visit, but can be rolled into your monthly subscription if you want them every time.
  • Discount Application: Recurring service discounts apply only to your scooping package; add-ons are calculated after discounts.
  • Custom Households: Have an unusually large property or unique multi-pet setup requiring extra time? We will provide a custom quote for you.
  • No Poop Left Behind Guarantee: Not completely satisfied with your cleanup? Let us know within 24 hours and we'll come back out to re-scoop for free.
About Wise Waste Services

Local. Reliable.
Built for Pet Owners.

Professional pet waste removal and cat litter box cleaning for Wise County and the surrounding communities.

Owner of Wise Waste Services
Meet the Owner

Hi, I'm Austin.

I started Wise Waste Services to make everyday life a little easier for pet owners. After previously running a pet waste removal service, I decided to bring it back and build it the right way—focusing entirely on dependable, straightforward service throughout Wise County.

My goal is simple: take one more messy chore off your plate and leave your yard or litter box cleaner than I found it.

✓

A local business you can count on.

When you choose Wise Waste Services, you're supporting a local small business — and I'm the person who will actually be showing up at your door.

Fully Insured

Carries business insurance to provide added peace of mind.

Locally Registered

Registered under an assumed business name with Wise County, TX.

✓

Reliable Service

We'll show up when we're scheduled, every single time.

♥

Proudly Local

Serving our neighbors right here in Wise County.

Less mess. More time.

That's what Wise Waste Services is here for.
Why Wise Waste Services

Why Wise County Dog Owners Choose
Our Pooper Scooper Service

Proudly local, fiercely reliable. Here is why Wise County trusts us with their yards.

🤝

Reliable & Professional

We show up when we say we will. Consistent, dependable service every single visit.

📍

Locally Owned & Operated

We're your neighbors, not a franchise. We genuinely care about this community.

💳

Easy, Transparent Billing

Simple pricing, no hidden fees. You always know exactly what you're paying.

⭐

Highly Rated

Our clients love us. See why so many Wise County families trust Wise Waste Services.

💰

Affordable Pricing

Great value without cutting corners. Quality dog poop removal that fits your budget.

🌿

Environmentally Aware

We dispose of waste responsibly and use eco-friendly products to protect your lawn.

Wise Waste Mascot
100% Peace of Mind

No Poop Left Behind Guarantee

We take pride in our spotless cleanups. If you ever find a pile we missed within 24 hours of your service, let us know and we’ll come back out to re-scoop your yard for free. Your complete satisfaction is guaranteed!

Frequently Asked Questions

Everything You Need to Know

Wondering how our service works or what happens on rainy days? We've put together answers to our most common questions so you know exactly what to expect.

Don't see your question here? Call or text us at (940) 247-0522 — we're always happy to help!
Do I need to be home for service? ▼
No. You do not need to be home as long as we have the access needed to complete the service. Many customers have their service completed while they are at work, running errands, or away from home.
How do you access my yard if I'm not home? ▼
You'll need to provide a way for us to safely access the service area. This may include a gate code, gate key, or another agreed-upon access method. Please let us know about any access instructions when you sign up.
How do you access my home for cat litter box service? ▼
If your litter boxes are inside your home, you'll need to provide the access necessary for us to complete the service. This can include a door code, key, or another agreed-upon access method. You do not have to be home as long as we have the access needed.
Can my dog be outside while you clean? ▼
If your dog is friendly and loves meeting new people, they are more than welcome to stay outside and hang out with us while we clean! 🐾 However, if your dog is anxious, protective, or high-energy, we recommend securing them indoors for everyone's safety so we can work efficiently.
What is the Yard Fresh Treatment? ▼
Yard Fresh is a professional-strength enzymatic spray treatment that breaks down urine and organic waste, helps eliminate lingering pet odors, and leaves your yard smelling fresh and clean. It's available as an add-on to regular waste removal or as a one-time treatment.
What happens during a Litter Box Deep Clean? ▼
We remove all existing litter, thoroughly clean and sanitize the litter box basin, replace the litter with fresh litter, and deodorize the box and surrounding area.
Do I provide the cat litter? ▼
Yes. Customers normally provide the cat litter used for their service. If you'd prefer, we can provide standard clumping cat litter for an additional fee per box.
Do you provide service year-round? ▼
Yes. We provide service year-round. Light rain generally won't stop us from completing a scheduled visit, but severe storms or unsafe conditions may require us to reschedule.
What happens if severe weather prevents service? ▼
If weather makes it unsafe to travel or work, we'll reschedule your service for the next available time when conditions are safe. We'll let you know if your scheduled visit needs to be changed.
How am I billed for service? ▼
We use a simple, flat-rate monthly subscription billed automatically each month. Any per-visit add-ons you request (like Yard Fresh treatments or litter supply) will be charged at the time of service.
Can there be additional charges? ▼
Our standard recurring rates cover yards up to 1/4 acre. Additional monthly charges apply for larger-than-standard yards or extra pets. We will always confirm your exact flat rate with you before starting service.
How does the Neighbor Discount work? ▼
The more nearby customers who use WiseScoopers, the more everyone can save!
  • 2 nearby homes: 5% off recurring service.
  • 3 nearby homes: 10% off recurring service.
  • 4+ nearby homes: 15% off recurring service.
Just mention your neighbor's name when you request your quote.
Do you offer Same-Day Cleanup? ▼
Yes. Same-Day Cleanup may be available when scheduling allows. We will confirm the final price with you before service begins.
How do I get started? ▼
Use our Instant Quote Calculator to build your custom service plan and see your estimated price immediately! You can also give us a call or text at (940) 247-0522. We'll review what you need, get your service set up, and take care of the rest.
Need Assistance?

Still Have Questions?

We're here to help! Contact us directly and we'll be happy to answer any questions you may have about our services.

(function() { var frame = document.getElementById('ww-quote-frame'); if (!frame) return; window.addEventListener('message', function(event) { if (!event.data || typeof event.data !== 'object') return; // 1. Auto-resize iframe height (with an extra 30px buffer to prevent cutoffs) if (event.data.type === 'ww-quote-height' && typeof event.data.height === 'number') { frame.style.height = (Math.max(400, event.data.height) + 30) + 'px'; } // 2. iOS Safari Bulletproof Scroll (Mathematical Pixel Coordinate) if (event.data.type === 'ww-quote-scroll-top') { var scrollPos = window.pageYOffset || document.documentElement.scrollTop; var rect = frame.getBoundingClientRect(); // Calculate exact pixel position (flush with the top) var targetY = Math.max(0, rect.top + scrollPos); // Force mobile browsers to scroll to that exact pixel coordinate try { window.scrollTo({ top: targetY, behavior: 'smooth' }); } catch(e) { window.scrollTo(0, targetY); } } }); // 3. Bulletproof Polling: Ask the iframe for its height every 500ms. setInterval(function() { if (frame.contentWindow) { frame.contentWindow.postMessage({ type: 'ww-quote-request-height' }, '*'); } }, 500); frame.addEventListener('load', function() { if (frame.contentWindow) { frame.contentWindow.postMessage({ type: 'ww-quote-request-height' }, '*'); } }); })();