Browse apps

Security

How to Stop Competitor Price Scraping and Copy Theft on Shopify

TL;DR

Deterring price scraping and content theft on Shopify requires two layers: automated bot mitigation (blocking cloud datacenter ASNs, unknown bot user-agents, and headless browser signals) to stop scripted scrapers in the browser, and content protection (disabling right-click, text selection, and copy shortcuts) to discourage casual copying without hurting SEO or checkout.

When merchants look for ways to stop competitor price scraping on Shopify, they are usually fighting two very different problems that get lumped into the same search query. The first is casual manual copying: a competitor, dropshipper, or copycat seller visiting your storefront in a regular desktop browser to highlight your product descriptions, drag your studio photos to their desktop, or inspect your page markup. The second is automated catalog and price scraping: scheduled scripts, headless browsers, and competitor spy tools that poll your product pages from cloud servers to track price changes and stock levels.

Treating both problems with the same tool leaves your store exposed. Installing a simple “disable right-click” snippet does nothing to slow down a headless Chromium script running on a rented cloud server. Conversely, blocking datacenter IP ranges stops automated cloud scrapers in the browser, but will not stop a human copycat browsing from home Wi-Fi from highlighting your sizing chart and pressing Ctrl+C.

In this guide, we explain how to combine network-level bot mitigation with storefront content deterrents in LabX Fraud Filter, where to draw the line between what browser scripts can and cannot block on Shopify, and how to keep Googlebot and real buyers unaffected. For a broader look at visitor filtering across all rule types, see our Shopify traffic and bot blocking guide.

How do casual copycats differ from automated price scrapers on Shopify?

External actors extract product data, pricing, and creative assets from a Shopify store in three distinct ways:

  1. Manual browser copying (human visitors): A person opens your product page in Chrome or Safari, highlights your bullet points, right-clicks to save product images, or uses Ctrl+U / F12 to inspect theme elements from normal residential or office broadband.
  2. Headless browser scrapers (Puppeteer, Playwright, Selenium): Automated price-monitoring tools spin up headless browser instances inside commercial datacenters (such as AWS, DigitalOcean, or Hetzner) to render JavaScript pricing widgets and variant selectors. Even when they spoof a Chrome user-agent string, headless browsers often expose automation flags like navigator.webdriver, zero browser plugins, or cloud hosting Autonomous System Numbers (ASNs).
  3. Raw HTTP clients and spy directories (curl, python-requests, referrer indexes): Scripts fetch URLs using library user-agents, or visitors click in from ad-spy and store-directory websites via document.referrer.
Threat TypeHow the Visitor ConnectsControl in LabX Fraud FilterHonest Technical Scope
Casual copy-pasting & image savingStandard browser on a residential or office ISPSettings > Content protection (prevent text selection/image dragging, disable right-click, block copy/view-source shortcuts)Deters casual copying in the browser; cannot stop OS screenshots, view-source:, or DevTools opened before page load
Competitor office checking pricesFixed office IPv4/IPv6 address or /24 subnetBlocking Rules > IP Address or Page / Product rulesBlocks or redirects the browser session once the Fraud Guard embed evaluates
Headless browser price scrapersAutomated Chromium/Firefox on cloud/VPS serversSettings > Mitigator (Block datacenter traffic, Auto-block unknown bots, and Auto-block suspicious crawlers)Stops automated browsers executing storefront JS without blocking consumer VPN shoppers
Ad-spy tools & referral directoriesClicks arriving from spy domains or bot user-agentsBlocking Rules > Referrer URL and User AgentBlocks or redirects matching document.referrer or navigator.userAgent strings
Checkout probing & stock hoardingScripts submitting carts or orders with throwaway dataCheckout Protection (server-side Shopify Cart and Checkout Validation Function)Runs on Shopify’s servers and cannot be bypassed, even with JavaScript disabled

How do you stop automated price scrapers and headless bots on your storefront?

If your goal is to stop competitor research tools and automated price trackers rather than casual shoppers, network and bot mitigation in Settings > Mitigator is the layer that actually helps. Follow along with screenshots in our bot and content protection documentation.

Before turning on bot or network blocks, open Settings > General settings in LabX Fraud Filter and copy your Admin access link (https://your-store.myshopify.com/?fg_bypass=...). Open that link once in your browser: our server verifies the token and remembers it so your own browser skips every rule while you test. Never share this link in a support ticket, and click Generate new link anytime to invalidate the old token immediately.

Step 2: Turn on Datacenter, Tor, and Unknown Bot switches in Mitigator

In the LabX Fraud Filter navigation, go to Settings > Mitigator and configure the four automated traffic switches:

  • Enable Block datacenter traffic: Commercial price scrapers and spy crawlers run on cloud compute and VPS hosting providers—not home internet connections. Turning on Block datacenter traffic checks the visitor’s ASN against our server-side database of hosting and server networks (see our guide to blocking datacenter IPs vs VPNs on Shopify). We name this accurately: it is datacenter blocking, not consumer VPN blocking, so shoppers using a consumer VPN on a residential network are not locked out.
  • Enable Block Tor traffic: Blocks connections originating from the Tor Project’s exit-node list (refreshed weekly on our server).
  • Enable Auto-block unknown bots: Blocks requests whose user-agent matches known scraper and HTTP client signatures (bot, crawl, spider, scrap, curl/, wget, python-requests, python-urllib, go-http-client, java/, okhttp, headlesschrome, phantomjs, puppeteer, playwright, and selenium) or browsers reporting navigator.webdriver === true.
  • Enable Auto-block suspicious crawlers: Check both Unknown user agent (not a known browser) and Headless hints (webdriver, no plugins, no touch, no languages), which blocks when navigator.webdriver is true or when plugins === 0, touchPoints === 0, and languages === 0 all agree at once.

Step 3: Add targeted ISP, Referrer URL, User-Agent, and Page rules

When you notice a specific competitor network, ad-spy referrer, or collection being targeted, add rules under Blocking Rules (detailed in our blocking rules guide):

  • Block cloud ASNs in Blocking Rules > ISP: Click sample chips (+ DigitalOcean (AS14061), + Amazon Web Services (AWS) (AS16509), + Hetzner Online (AS24940), + Google Cloud (AS15169), + Linode / Akamai (AS63949), + OVHcloud (AS16276)) or enter any custom ASN or ISP name substring.
  • Block spy directories in Blocking Rules > Referrer URL: Choose Exact URL (matches the referring hostname with www. removed) or URL contains to block or redirect traffic from ad-spy directories.
  • Block custom scraper strings in Blocking Rules > User Agent: Match by Browser, Operating system, Device type, or raw Substring (HeadlessChrome, PhantomJS, python-requests, curl, Go-http-client).
  • Block competitor office IPs in Blocking Rules > IP Address: Block exact IPv4/IPv6 addresses, prefixes, inclusive ranges, or CIDR subnets (see our guide on how to block IP addresses on Shopify).
  • Restrict specific catalogs with Page or Product rules: Protect a path prefix or use the resource picker to restrict specific products or collections.

How do you disable right-click, text selection, and copy shortcuts on Shopify?

To stop casual visitors and copycat merchants from highlighting your product descriptions, dragging images to their desktop, or opening “View Source” with a keyboard shortcut, open Settings > Content protection in LabX Fraud Filter.

When enabled, the Fraud Guard theme app embed lazily loads protect.js from the theme extension’s own assets after the page is interactive, keeping content protection off your critical rendering path. You can enable three independent switches:

  1. Prevent selecting text and dragging images: Injects CSS setting user-select: none !important and -webkit-touch-callout: none !important across page elements, sets -webkit-user-drag: none !important and pointer-events: none on image elements, and cancels selectstart and dragstart events. Crucially, input, textarea, select, and [contenteditable] elements remain selectable (user-select: text !important) so shoppers can type and edit inside search bars and checkout fields normally.
  2. Disable the right-click menu: Suppresses the browser contextmenu event across storefront pages.
  3. Disable copy and view-source shortcuts: Blocks Ctrl/Cmd + C, X, A, S, U, and P, developer tools shortcuts (Ctrl/Cmd + Shift + I, J, C), and F12 outside form inputs.

What are the honest technical limits of storefront anti-scraping and content protection?

Merchants deserve plain facts about what any Shopify app can and cannot do in the browser. Inside Settings > Content protection, LabX Fraud Filter displays an info banner titled “These are deterrents, not security” for good reason:

  • Storefront rules and content protection run in the browser: Because Shopify serves storefront HTML from its CDN before third-party JavaScript executes, a user or script that disables JavaScript, uses view-source:, or fetches pages with curl bypasses both storefront blocking rules and content protection. No Shopify app can intercept raw HTTP requests at the CDN edge before the page reaches the browser.
  • Developer tools opened beforehand are unaffected: If DevTools is opened before loading the page, shortcut listeners cannot close it. LabX deliberately avoids running a debugger loop (“Deactivate inspect”) because doing so freezes the browser tab of anyone who happens to have DevTools open.
  • Operating system screenshot shortcuts cannot be blocked: Shortcuts like Win+Shift+S, Win+Alt+PrintScreen, and Cmd+Shift+3/4/5 are handled by the operating system before the browser sees them. No website can block them.
  • Your compiled ruleset is readable in page source: Storefront rules travel in an inline Shopify metaobject (app_config) for instant evaluation, so never place confidential information inside a rule note.
  • Only Checkout Protection cannot be bypassed: LabX Fraud Filter’s Checkout Protection runs server-side on Shopify’s servers as a Shopify Cart and Checkout Validation Function. If a bot skips the browser or calls the Cart API directly to hoard stock or test cards, Shopify fraud prevention at checkout enforces your Email, Phone, Name, Address, Zip, Country, and Customer tag rules on the server and cannot be bypassed.

How do you protect SEO, Googlebot, and page speed while blocking scrapers?

Blocking automated user-agents or datacenter IP ranges indiscriminately can accidentally block Googlebot and other verified search crawlers that also crawl from data centers. LabX Fraud Filter protects your organic rankings and Core Web Vitals through four safeguards:

  1. Top-priority Good Bot Allowlist: Evaluates 25 verified crawlers across Search Engines (Googlebot, AdsBot-Google, Bingbot, Applebot, DuckDuckBot, YandexBot, Baiduspider, Yeti, PetalBot, CocCocBot), Social Media (Facebookbot, Twitterbot, LinkedInBot, Pinterestbot), AI Crawlers (GPTBot, ClaudeBot, PerplexityBot, CCBot, Bytespider, Google-Extended), SEO Analytics (AhrefsBot, SemrushBot, DotBot, Screaming Frog), and Web Archives (Wayback Machine) before any bot, datacenter, or IP block rule. Click Manage next to Allowed bot list in Settings > Mitigator to uncheck specific AI or SEO spy crawlers while keeping search engines allowed.
  2. <head> preservation on bot blocks: When an automated user-agent is blocked, renderBlockPage clears only document.body and leaves <head> intact so canonical tags, meta descriptions, and structured data remain untouched.
  3. Metaobject delivery and 30-minute GeoIP cache: Non-location rules evaluate immediately from an inline Shopify metaobject with zero network calls; location, ASN, Tor, and datacenter checks run once per session and cache in sessionStorage for 30 minutes.
  4. Fail-open resilience (800 ms timeout): If the GeoIP lookup times out or our server is unreachable, the guard fails open and lets the visitor through.

Finally, open Analytics and Visitor in LabX Fraud Filter to monitor your allowed versus blocked traffic over 7, 30, or 90 days, inspect block reasons (bot, datacenter, suspicious:headless, block:isp, or block:ref), and audit the 50 most recent blocked or redirected visits.

Frequently asked questions

Can disabling right-click and copy shortcuts stop automated price scrapers on Shopify?

No. Content protection settings (disabling right-click, text selection, image dragging, and keyboard shortcuts like Ctrl+C or F12) only deter casual human visitors from copying product descriptions and photos in a browser. Automated price scrapers do not right-click; stopping them in the browser requires blocking datacenter ASNs, unknown bot user-agents, and headless browsers.

Can a determined scraper bypass storefront bot and content blocking on Shopify?

Yes. Because Shopify serves storefront HTML from its CDN before any app script runs, storefront rules in LabX Fraud Filter execute inside the visitor browser via the Fraud Guard theme app embed. A visitor or script that disables JavaScript, uses view-source or curl, or opens developer tools before the page loads can still read storefront HTML. Only server-side Checkout Protection (running as a Shopify Cart and Checkout Validation Function) cannot be bypassed.

Does content protection stop visitors from taking screenshots or typing in checkout forms?

No. Operating system screenshot shortcuts (such as Win+Shift+S on Windows or Cmd+Shift+3/4/5 on macOS) are handled by the OS before the browser sees the keystroke, so no website can block them. Meanwhile, LabX Fraud Filter explicitly keeps input, textarea, select, and contenteditable elements selectable and editable so search bars and checkout forms work normally.

Will blocking scraper bots and datacenter traffic hurt my Google rankings?

Not when "Allow verified good bots" stays enabled. LabX Fraud Filter checks its built-in allowlist of 25 search engine, social media, AI, and SEO crawlers (including Googlebot, Bingbot, Applebot, and AdsBot-Google) at the top of the evaluation order before running your bot, datacenter, ISP, or IP block rules.

Sources

  1. Google Search Central — Verifying Googlebot and Other Google Crawlers
  2. W3C WebDriver Specification — Navigator Automation Information (navigator.webdriver)
  3. Shopify Dev Docs — About Cart and Checkout Validation Functions

Part of our guide: Traffic & bot blocking →

Put your first blocking rule live in minutes

Install LabX Fraud Filter free on Shopify, turn on the Fraud Guard embed and add your rules.

Install free on Shopify

Free plan available