# Leesburg, VA Local Business Directory | DMVBizConnect

Source: https://dmvbizconnect.com/location/leesburg/

> Planning an event or shopping local? Find 32 Leesburg, VA businesses, from venues and event planners to boutiques, lawyers and marketing help.

## Filters

Reset

Sorry! No more filter found for current selections

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/w1600q80fmjpgfitcropnvalin-s-heating-and-air-conditioning-llc-372x240.jpg)](https://dmvbizconnect.com/listing/valins-heating-air-conditioning-llc/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/w1600q80fmjpgfitcropnvalin-s-heating-and-air-conditioning-llc-372x240.jpg)](https://dmvbizconnect.com/listing/valins-heating-air-conditioning-llc/)

-
-

#### [Valin’s Heating & Air C](https://dmvbizconnect.com/listing/valins-heating-air-conditioning-llc/)

-
- [HVAC](https://dmvbizconnect.com/listing-category/home-services/hvac/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

Leesburg, VA...

- call Now[(703) 239-3633](tel:(703)%20239-3633)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/w1600q80fmjpgfitcropnlightfoot-restaurant-372x240.jpg)](https://dmvbizconnect.com/listing/lightfoot-restaurant/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/w1600q80fmjpgfitcropnlightfoot-restaurant-372x240.jpg)](https://dmvbizconnect.com/listing/lightfoot-restaurant/)

-
-

#### [Lightfoot Restaurant](https://dmvbizconnect.com/listing/lightfoot-restaurant/)

-
- [Restaurants & Cafes](https://dmvbizconnect.com/listing-category/food-drink/restaurants-cafes/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

11 North King St., Leesburg, V...

- call Now[(703) 771-2233](tel:(703)%20771-2233)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/w1600q80fmjpgfitcropnsunburst-construction-inc-372x240.jpg)](https://dmvbizconnect.com/listing/sunburst-construction-inc/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/w1600q80fmjpgfitcropnsunburst-construction-inc-372x240.jpg)](https://dmvbizconnect.com/listing/sunburst-construction-inc/)

-
-

#### [Sunburst Construction, Inc.](https://dmvbizconnect.com/listing/sunburst-construction-inc/)

-
- [Carpenters](https://dmvbizconnect.com/listing-category/home-services/carpenters/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

314 South Street SE, Leesburg,...

- call Now[(703) 827-1207](tel:(703)%20827-1207)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/w1600q80fmjpgfitcropnmuz-and-rose-372x240.jpg)](https://dmvbizconnect.com/listing/muz-rose/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/w1600q80fmjpgfitcropnmuz-and-rose-372x240.jpg)](https://dmvbizconnect.com/listing/muz-rose/)

-
-

#### [Muz & Rose](https://dmvbizconnect.com/listing/muz-rose/)

-
- [Retail & Boutiques](https://dmvbizconnect.com/listing-category/retail-shopping/retail-boutiques/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

3 Loudoun St SW, Leesburg, VA ...

- call Now[(703) 687-4126](tel:(703)%20687-4126)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/w1600q80fmjpgfitcropnvery-virginia-shop-372x240.jpg)](https://dmvbizconnect.com/listing/very-virginia-shop/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/w1600q80fmjpgfitcropnvery-virginia-shop-372x240.jpg)](https://dmvbizconnect.com/listing/very-virginia-shop/)

-
-

#### [Very Virginia Shop](https://dmvbizconnect.com/listing/very-virginia-shop/)

-
- [Retail & Boutiques](https://dmvbizconnect.com/listing-category/retail-shopping/retail-boutiques/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

16 S King St, Leesburg, VA 201...

- call Now[(703) 973-6400](tel:(703)%20973-6400)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/w1600q80fmjpgfitcropncarter-fence-372x240.jpg)](https://dmvbizconnect.com/listing/carter-fence/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/w1600q80fmjpgfitcropncarter-fence-372x240.jpg)](https://dmvbizconnect.com/listing/carter-fence/)

-
-

#### [Carter Fence](https://dmvbizconnect.com/listing/carter-fence/)

-
- [Fencing](https://dmvbizconnect.com/listing-category/home-services/fencing/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

Leesburg, VA...

- call Now[(703) 255-0824](tel:(703)%20255-0824)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/w1600q80fmjpgfitcropnrust-manor-house-372x240.jpg)](https://dmvbizconnect.com/listing/rust-manor-house/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/w1600q80fmjpgfitcropnrust-manor-house-372x240.jpg)](https://dmvbizconnect.com/listing/rust-manor-house/)

-
-

#### [Rust Manor House](https://dmvbizconnect.com/listing/rust-manor-house/)

-
- [Event Planners & Venues](https://dmvbizconnect.com/listing-category/events-entertainment/event-planners-venues/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

802 Children's Center Road, Le...

- call Now[(202) 306-9127](tel:(202)%20306-9127)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/w1600q80fmjpgfitcropnsilverback-strategies-372x240.jpg)](https://dmvbizconnect.com/listing/silverback-strategies/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/w1600q80fmjpgfitcropnsilverback-strategies-372x240.jpg)](https://dmvbizconnect.com/listing/silverback-strategies/)

-
-

#### [Silverback Strategies](https://dmvbizconnect.com/listing/silverback-strategies/)

-
- [Marketing & Advertising](https://dmvbizconnect.com/listing-category/creative-marketing/marketing-advertising/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

25 Catoctin Cir SE #1197, Lees...

- call Now[(571) 506-6698](tel:(571)%20506-6698)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/w1600q80fmjpgfitcropntuscarora-mill-372x240.jpg)](https://dmvbizconnect.com/listing/tuscarora-mill/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/w1600q80fmjpgfitcropntuscarora-mill-372x240.jpg)](https://dmvbizconnect.com/listing/tuscarora-mill/)

-
-

#### [Tuscarora Mill](https://dmvbizconnect.com/listing/tuscarora-mill/)

-
- [Restaurants & Cafes](https://dmvbizconnect.com/listing-category/food-drink/restaurants-cafes/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

203 Harrison St, Leesburg, VA ...

- call Now[(703) 771-9300](tel:(703)%20771-9300)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/lps-residential-372x240.jpg)](https://dmvbizconnect.com/listing/lps-residential/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/lps-residential-372x240.jpg)](https://dmvbizconnect.com/listing/lps-residential/)

-
-

#### [LPS Residential](https://dmvbizconnect.com/listing/lps-residential/)

-
- [Remodelers](https://dmvbizconnect.com/listing-category/home-services/remodelers/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

39 Fort Evans Rd NE, Leesburg,...

Open Now

- call Now[(703) 777-2070](tel:(703)%20777-2070)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/loudoun-garage-door-372x240.jpg)](https://dmvbizconnect.com/listing/loudoun-garage-door/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/loudoun-garage-door-372x240.jpg)](https://dmvbizconnect.com/listing/loudoun-garage-door/)

-
-

#### [Loudoun Garage Door](https://dmvbizconnect.com/listing/loudoun-garage-door/)

-
- [Garage Doors](https://dmvbizconnect.com/listing-category/home-services/garage-doors/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

309 Parker Ct SE, Leesburg, VA...

Closed Now

- call Now[(703) 771-1595](tel:(703)%20771-1595)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/mom-s-apple-pie-company-372x240.jpg)](https://dmvbizconnect.com/listing/moms-apple-pie-company/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/mom-s-apple-pie-company-372x240.jpg)](https://dmvbizconnect.com/listing/moms-apple-pie-company/)

-
-

#### [Mom’s Apple Pie Company](https://dmvbizconnect.com/listing/moms-apple-pie-company/)

-
- [Bakeries & Desserts](https://dmvbizconnect.com/listing-category/food-drink/bakeries-desserts/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

220 Loudoun St SE, Leesburg, V...

Open Now

- call Now[703.771.8590](tel:703.771.8590)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/dandd-automotive-repair-372x240.jpg)](https://dmvbizconnect.com/listing/dd-automotive-repair/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/dandd-automotive-repair-372x240.jpg)](https://dmvbizconnect.com/listing/dd-automotive-repair/)

-
-

#### [D&D Automotive Repair](https://dmvbizconnect.com/listing/dd-automotive-repair/)

-
- [Auto Sales & Repair](https://dmvbizconnect.com/listing-category/auto-transportation/auto-sales-repair/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

203 Wirt St SW, Leesburg, VA 2...

Open Now

- call Now[(703) 936-2808](tel:(703)%20936-2808)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/simms-showers-law-372x240.jpg)](https://dmvbizconnect.com/listing/simms-showers-law/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/simms-showers-law-372x240.jpg)](https://dmvbizconnect.com/listing/simms-showers-law/)

-
-

#### [Simms Showers Law](https://dmvbizconnect.com/listing/simms-showers-law/)

-
- [Attorneys & Legal Services](https://dmvbizconnect.com/listing-category/professional-services/attorneys-legal-services/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

305 Harrison Street SE, Third ...

- call Now[(703) 771-4671](tel:(703)%20771-4671)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/torch-pictures-372x240.jpg)](https://dmvbizconnect.com/listing/torch-pictures/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/torch-pictures-372x240.jpg)](https://dmvbizconnect.com/listing/torch-pictures/)

-
-

#### [Torch Pictures](https://dmvbizconnect.com/listing/torch-pictures/)

-
- [Photographers & Videographers](https://dmvbizconnect.com/listing-category/events-entertainment/photographers-videographers/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

Leesburg, VA...

- call Now[(202) 480-9045](tel:(202)%20480-9045)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/financial-journey-372x240.jpg)](https://dmvbizconnect.com/listing/financial-journey/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/financial-journey-372x240.jpg)](https://dmvbizconnect.com/listing/financial-journey/)

-
-

#### [Financial Journey](https://dmvbizconnect.com/listing/financial-journey/)

-
- [Financial Advisors](https://dmvbizconnect.com/listing-category/professional-services/financial-advisors/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

Leesburg, VA...

- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/deleon-and-stang-372x240.jpg)](https://dmvbizconnect.com/listing/deleon-stang/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/deleon-and-stang-372x240.jpg)](https://dmvbizconnect.com/listing/deleon-stang/)

-
-

#### [DeLeon & Stang](https://dmvbizconnect.com/listing/deleon-stang/)

-
- [Accountants & Bookkeepers](https://dmvbizconnect.com/listing-category/professional-services/accountants-bookkeepers/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

210 Wirt St SW, Suite 201, Lee...

- call Now[(571) 442-5220](tel:(571)%20442-5220)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/stone-tower-winery-372x240.jpg)](https://dmvbizconnect.com/listing/stone-tower-winery/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/stone-tower-winery-372x240.jpg)](https://dmvbizconnect.com/listing/stone-tower-winery/)

-
-

#### [Stone Tower Winery](https://dmvbizconnect.com/listing/stone-tower-winery/)

-
- [Event Planners & Venues](https://dmvbizconnect.com/listing-category/events-entertainment/event-planners-venues/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

19925 Hogback Mountain Road, L...

Day Off

- call Now[(703) 777-2797](tel:(703)%20777-2797)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/birch-tree-books-and-plants-372x240.jpg)](https://dmvbizconnect.com/listing/birch-tree-books-and-plants/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/birch-tree-books-and-plants-372x240.jpg)](https://dmvbizconnect.com/listing/birch-tree-books-and-plants/)

-
-

#### [Birch Tree Books and Plants](https://dmvbizconnect.com/listing/birch-tree-books-and-plants/)

-
- [Retail & Boutiques](https://dmvbizconnect.com/listing-category/retail-shopping/retail-boutiques/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

9 W Market St, Leesburg, VA 20...

Open Now

- call Now[(571) 918-0726](tel:(571)%20918-0726)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/48-fields-farm-372x240.jpg)](https://dmvbizconnect.com/listing/48-fields-farm/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/48-fields-farm-372x240.jpg)](https://dmvbizconnect.com/listing/48-fields-farm/)

-
-

#### [48 Fields Farm](https://dmvbizconnect.com/listing/48-fields-farm/)

-
- [Event Planners & Venues](https://dmvbizconnect.com/listing-category/events-entertainment/event-planners-venues/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

43372 Spinks Ferry Road, Leesb...

- call Now[(571) 207-6658](tel:(571)%20207-6658)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/brandon-davis-attorney-at-law-372x240.jpg)](https://dmvbizconnect.com/listing/brandon-davis-attorney-at-law/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/brandon-davis-attorney-at-law-372x240.jpg)](https://dmvbizconnect.com/listing/brandon-davis-attorney-at-law/)

-
-

#### [Brandon Davis, Attorney at Law](https://dmvbizconnect.com/listing/brandon-davis-attorney-at-law/)

-
- [Attorneys & Legal Services](https://dmvbizconnect.com/listing-category/professional-services/attorneys-legal-services/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

15 North King Street, 3rd Floo...

- call Now[(540) 425-8278](tel:(540)%20425-8278)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/toire-avenue-372x240.jpg)](https://dmvbizconnect.com/listing/toire-avenue/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/toire-avenue-372x240.jpg)](https://dmvbizconnect.com/listing/toire-avenue/)

-
-

#### [Toire aVenue](https://dmvbizconnect.com/listing/toire-avenue/)

-
- [Event Planners & Venues](https://dmvbizconnect.com/listing-category/events-entertainment/event-planners-venues/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

19317 Winmeade Drive, Leesburg...

- call Now[(571) 601-2028](tel:(571)%20601-2028)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/the-finer-points-llc-372x240.jpg)](https://dmvbizconnect.com/listing/the-finer-points-llc/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/the-finer-points-llc-372x240.jpg)](https://dmvbizconnect.com/listing/the-finer-points-llc/)

-
-

#### [The Finer Points LLC](https://dmvbizconnect.com/listing/the-finer-points-llc/)

-
- [Event Planners & Venues](https://dmvbizconnect.com/listing-category/events-entertainment/event-planners-venues/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

10 South King Street, Leesburg...

- call Now[(703) 431-9494](tel:(703)%20431-9494)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/marketspark-digital-marketing-372x240.jpg)](https://dmvbizconnect.com/listing/marketspark-digital-marketing/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/marketspark-digital-marketing-372x240.jpg)](https://dmvbizconnect.com/listing/marketspark-digital-marketing/)

-
-

#### [MarketSpark Digital Marketing](https://dmvbizconnect.com/listing/marketspark-digital-marketing/)

-
- [Marketing & Advertising](https://dmvbizconnect.com/listing-category/creative-marketing/marketing-advertising/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

880 Harrison St SE, Suite 158,...

- call Now[(703) 570-4185](tel:(703)%20570-4185)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/la-sheida-spa-372x240.jpg)](https://dmvbizconnect.com/listing/la-sheida-spa/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/la-sheida-spa-372x240.jpg)](https://dmvbizconnect.com/listing/la-sheida-spa/)

-
-

#### [La Sheida Spa](https://dmvbizconnect.com/listing/la-sheida-spa/)

-
- [Spas & Skincare](https://dmvbizconnect.com/listing-category/beauty-personal-care/spas-skincare/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

104 Loudoun Street SW, Unit 10...

Open Now

- call Now[(571) 258-4820](tel:(571)%20258-4820)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/black-hoof-brewing-co-372x240.jpg)](https://dmvbizconnect.com/listing/black-hoof-brewing-co/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2026/10/black-hoof-brewing-co-372x240.jpg)](https://dmvbizconnect.com/listing/black-hoof-brewing-co/)

-
-

#### [Black Hoof Brewing Co.](https://dmvbizconnect.com/listing/black-hoof-brewing-co/)

-
- [Bars & Mobile Bartending](https://dmvbizconnect.com/listing-category/food-drink/bars-mobile-bartending/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

11 S King St, Leesburg, VA 201...

- call Now[(571) 707-8014](tel:(571)%20707-8014)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2025/10/banner-8.jpg)](https://dmvbizconnect.com/listing/km-digital/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2025/10/banner-8.jpg)](https://dmvbizconnect.com/listing/km-digital/)

-
-

#### [KM Digital](https://dmvbizconnect.com/listing/km-digital/)

-
- [Marketing & Advertising](https://dmvbizconnect.com/listing-category/creative-marketing/marketing-advertising/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

207 S King St, Leesburg, VA 20...

- call Now[(703) 574-0050](tel:(703)%20574-0050)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2025/10/banner-8.jpg)](https://dmvbizconnect.com/listing/salty-dog-remodeling/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2025/10/banner-8.jpg)](https://dmvbizconnect.com/listing/salty-dog-remodeling/)

-
-

#### [Salty Dog Remodeling](https://dmvbizconnect.com/listing/salty-dog-remodeling/)

-
- [Remodelers](https://dmvbizconnect.com/listing-category/home-services/remodelers/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

821 S King St, Suite J, Leesbu...

- call Now[(703) 956-8610](tel:(703)%20956-8610)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2025/10/banner-8.jpg)](https://dmvbizconnect.com/listing/donegans-tree-service/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2025/10/banner-8.jpg)](https://dmvbizconnect.com/listing/donegans-tree-service/)

-
-

#### [Donegan’s Tree Service](https://dmvbizconnect.com/listing/donegans-tree-service/)

-
- [Landscapers](https://dmvbizconnect.com/listing-category/home-services/landscapers/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

23028 Evergreen Mills Rd, Lees...

- call Now[(703) 327-6675](tel:(703)%20327-6675)
- Get Direction

[![image](https://dmvbizconnect.com/wp-content/uploads/2025/10/banner-8.jpg)](https://dmvbizconnect.com/listing/lv-electric/)
[![image](https://dmvbizconnect.com/wp-content/uploads/2025/10/banner-8.jpg)](https://dmvbizconnect.com/listing/lv-electric/)

-
-

#### [LV Electric](https://dmvbizconnect.com/listing/lv-electric/)

-
- [Electricians](https://dmvbizconnect.com/listing-category/home-services/electricians/)

[Leesburg](https://dmvbizconnect.com/location/leesburg/)

318 South St SE, Leesburg, VA ...

- call Now[(703) 344-1890](tel:(703)%20344-1890)
- Get Direction

- 1
- 2

Need a local business? Ask me!

DMV Biz Assistant

Expand chat Collapse chat

Start a new chat

'; } // 12. Claim popup: new illustration on success, none on errors. function claim() { if (!I.claimed) { return; } var boxes = document.querySelectorAll('.statuss'); for (var i = 0; i < boxes.length; i++) { var s = boxes[i], img = s.querySelector('img'); if (!img) { continue; } if (!img.getAttribute('data-dmv')) { img.setAttribute('data-dmv', '1'); img.removeAttribute('data-lazyloaded'); img.removeAttribute('srcset'); img.removeAttribute('data-srcset'); img.setAttribute('data-src', I.claimed); img.src = I.claimed; img.alt = ''; img.style.width = '200px'; img.style.height = 'auto'; } var msg = s.querySelector('.lp-claim-cuccess'); var text = msg ? (msg.textContent || '').trim() : ''; img.style.display = (text && !/claim request has been sent/i.test(text)) ? 'none' : ''; } } // 11. Listing submitted: remember a successful submit, then celebrate on the next page. var KEY = 'dmvListingSubmitted'; if (typeof window.listing_ajax_response_notice === 'function' && /\/submit-listing\/?$/.test(location.pathname) && !/lp_post|edit/i.test(location.search)) { var orig = window.listing_ajax_response_notice; window.listing_ajax_response_notice = function (r) { try { if (r && r.response === 'success') { sessionStorage.setItem(KEY, '1'); } } catch (e) {} return orig.apply(this, arguments); }; } function submitted() { var flag = null; try { flag = sessionStorage.getItem(KEY); } catch (e) {} if (!flag || !I.submitted || /\/submit-listing\/?$/.test(location.pathname)) { return; } try { sessionStorage.removeItem(KEY); } catch (e) {} var wrap = document.createElement('div'); wrap.className = 'dmv-modal'; wrap.innerHTML = ''; function close() { if (wrap.parentNode) { wrap.parentNode.removeChild(wrap); } } wrap.addEventListener('click', function (e) { if (e.target === wrap) { close(); } }); wrap.querySelector('.dmv-modal-close').addEventListener('click', close); wrap.addEventListener('keydown', function (e) { if (e.key === 'Escape') { close(); } }); document.body.appendChild(wrap); wrap.querySelector('.dmv-modal-close').focus(); } noResults(); claim(); submitted(); var queued = false; if (window.MutationObserver && document.body) { new MutationObserver(function () { if (queued) { return; } queued = true; (window.requestAnimationFrame || setTimeout)(function () { queued = false; noResults(); claim(); }); }).observe(document.body, { childList: true, subtree: true, characterData: true }); } })();
