惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

K
Kaspersky official blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
AI
AI
SecWiki News
SecWiki News
宝玉的分享
宝玉的分享
Scott Helme
Scott Helme
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Engineering at Meta
Engineering at Meta
博客园 - 叶小钗
The GitHub Blog
The GitHub Blog
Microsoft Azure Blog
Microsoft Azure Blog
N
News and Events Feed by Topic
Cloudbric
Cloudbric
B
Blog
Cisco Talos Blog
Cisco Talos Blog
V
Vulnerabilities – Threatpost
N
News and Events Feed by Topic
V
Visual Studio Blog
A
Arctic Wolf
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
U
Unit 42
S
Security @ Cisco Blogs
博客园 - 聂微东
T
Threat Research - Cisco Blogs
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Apple Machine Learning Research
Apple Machine Learning Research
Y
Y Combinator Blog
G
GRAHAM CLULEY
L
LINUX DO - 热门话题
量子位
NISL@THU
NISL@THU
Webroot Blog
Webroot Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
Troy Hunt's Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
T
Tenable Blog
月光博客
月光博客
S
Security Affairs
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
The Hacker News
The Hacker News
Spread Privacy
Spread Privacy
D
Docker
www.infosecurity-magazine.com
www.infosecurity-magazine.com
雷峰网
雷峰网
博客园 - 司徒正美
T
The Exploit Database - CXSecurity.com
Hugging Face - Blog
Hugging Face - Blog
Help Net Security
Help Net Security
D
DataBreaches.Net

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
What We Found Scanning 53 Shopify Stores for App-Theme Conflicts
Jeff Thomas · 2026-05-18 · via DEV Community

We built a tool that scans Shopify storefronts for compatibility issues between third-party apps and themes. Over the past two months, we pointed it at 53 live stores — all running at least three third-party apps — and logged every conflict we could detect.

Here's the raw data:

53 stores scanned

87/100 average compatibility score

147+ critical issues flagged

2.5x more rendering problems in stores running 3+ apps vs. 1–2

An 87 average sounds fine. It's not. The distribution is bimodal: most stores either score 92+ (minimal issues) or drop below 75 (multiple broken interactions). The middle ground is thin. And the stores below 75? They almost always have the same three problems.

Pattern #1: CSS Specificity Wars (70% of Issues)

This was the single biggest source of conflicts. Roughly 70% of every critical issue we flagged traced back to CSS specificity.

The pattern is predictable. A reviews app injects styles like this:

.review-widget {
  padding: 16px;
  margin-bottom: 24px;
  font-size: 14px;
}

Enter fullscreen mode Exit fullscreen mode

Clean, reasonable CSS. The problem is the theme already has this:

#shopify-section-template--product .product__block .review-widget {
  padding: 0;
  margin: 0;
  font-size: inherit;
}

Enter fullscreen mode Exit fullscreen mode

The theme selector has a specificity of 1-2-1. The app selector has 0-1-0. The theme wins every time, and the review widget renders as a compressed, unreadable block.

What app developers do next makes it worse. They escalate:

.review-widget {
  padding: 16px !important;
  margin-bottom: 24px !important;
  font-size: 14px !important;
}

Enter fullscreen mode Exit fullscreen mode

This "fixes" the reviews — and breaks the store's carefully tuned spacing on mobile. We found !important declarations in 31 of the 53 stores we scanned. In 19 of those, the !important rules created new layout issues that weren't present before the app was installed.

The z-index arms race

The second CSS pattern we saw constantly was z-index stacking conflicts. Here's a real example from our dataset:

/* Theme: sticky header */
.header__wrapper {
  position: sticky;
  z-index: 999;
}

/* App A: notification bar */
.announcement-bar-widget {
  position: fixed;
  z-index: 1000;
}

/* App B: chat widget */
.chat-bubble-container {
  position: fixed;
  z-index: 9999;
}

/* App C: email signup popup */
.signup-modal-overlay {
  position: fixed;
  z-index: 90000;
}

Enter fullscreen mode Exit fullscreen mode

Four apps. Four different z-index strategies. Zero coordination. The result: the signup popup renders above everything (including the close button of the chat widget), the notification bar covers the header on scroll, and the merchant has no idea why their mobile UX feels broken.

We found z-index values exceeding 10,000 in 23 of 53 stores. Five stores had z-index values above 90,000.

What actually works

For app developers building Shopify theme extensions, scope your CSS aggressively:

/* Instead of this: */
.review-widget { ... }

/* Do this: */
[data-app-reviews] .review-widget {
  /* Scoped to your app's container */
  padding: 16px;
  margin-bottom: 24px;
}

Enter fullscreen mode Exit fullscreen mode

If you're targeting modern browsers (and you should be — Shopify's audience skews current), CSS @layer is a cleaner solution:

@layer app-reviews {
  .review-widget {
    padding: 16px;
    margin-bottom: 24px;
    font-size: 14px;
  }
}

Enter fullscreen mode Exit fullscreen mode

Layers let your styles participate in the cascade without brute-forcing specificity. The theme's unlayered styles will still win by default, but you can negotiate precedence without !important.

Pattern #2: JavaScript Event Handler Collisions

This accounted for about 20% of the critical issues we flagged. The pattern: multiple apps binding event listeners to the same DOM elements, usually around cart interactions.

Here's what we saw in one store running a wishlist app, a reviews app, and an upsell widget:

// App A: Wishlist — intercepts add-to-cart
document.querySelectorAll('form[action="/cart/add"]').forEach(form => {
  form.addEventListener('submit', function(e) {
    e.preventDefault();
    // Track wishlist state, then submit
    trackWishlistConversion(form);
    form.submit();
  });
});

// App B: Upsell — also intercepts add-to-cart
document.querySelectorAll('form[action="/cart/add"]').forEach(form => {
  form.addEventListener('submit', function(e) {
    e.preventDefault();
    // Show upsell modal, then submit
    showUpsellModal(form);
  });
});

Enter fullscreen mode Exit fullscreen mode

Both apps call preventDefault(). Both expect to be the only one controlling the submit flow. The result: the add-to-cart button either fires twice, shows the upsell modal but never adds the product, or silently fails with no feedback.

We found this exact collision pattern — multiple preventDefault() calls on the same form — in 11 of 53 stores.

Script loading order is the other half

Apps that depend on jQuery (yes, still) face a loading order problem. The theme loads jQuery deferred. The app's inline script executes immediately:

<!-- Theme: deferred jQuery -->
<script src="jquery-3.6.0.js" defer></script>

<!-- App: inline script that assumes jQuery exists -->
<script>
  jQuery(document).ready(function() {
    $('#product-reviews').on('click', '.review-star', function() {
      // This throws: jQuery is not defined
    });
  });
</script>

Enter fullscreen mode Exit fullscreen mode

This fails silently in production. The review stars don't work. The merchant doesn't know why. The app developer's test store (with jQuery loaded synchronously) works fine.

What actually works

Use custom events instead of hijacking native form submissions:

// Emit a custom event instead of intercepting submit
document.addEventListener('cart:before-add', function(event) {
  const { form, product } = event.detail;
  // Do your thing without blocking other listeners
});

// Coordinate with other apps
const cartEvent = new CustomEvent('cart:before-add', {
  detail: { form, product },
  cancelable: true
});
document.dispatchEvent(cartEvent);

Enter fullscreen mode Exit fullscreen mode

And drop jQuery. Vanilla JS event listeners with defer solve the loading order problem entirely:

<script defer src="your-app.js"></script>

// your-app.js — runs after DOM is ready because of defer
document.querySelector('#product-reviews')
  .addEventListener('click', handleReviewClick);

Enter fullscreen mode Exit fullscreen mode

Pattern #3: DOM Mutation Conflicts

The remaining ~10% of critical issues came from apps that make assumptions about DOM structure. When the theme updates, those assumptions break.

A typical example: an app targets a specific class to inject its widget:

// App expects this structure
const container = document.querySelector('.product__info-container');
if (container) {
  container.insertAdjacentHTML('afterend', widgetHTML);
}

Enter fullscreen mode Exit fullscreen mode

Theme updates from Dawn 12.0 to 13.0. The class changes to .product__info-wrapper. The app injects nothing. No error, no fallback — just a missing widget.

We tracked stores across multiple scans and found that theme updates caused at least one app widget to disappear in 8 of the 53 stores during our observation window.

The MutationObserver pileup

Worse, some apps use MutationObserver to watch for DOM changes and re-inject their widgets. When three apps all observe document.body for childList changes:

// Three separate MutationObservers, all watching body
const observer = new MutationObserver((mutations) => {
  mutations.forEach((mutation) => {
    // App re-injects widget on every DOM change
    if (!document.querySelector('.my-widget')) {
      injectWidget();
    }
  });
});
observer.observe(document.body, { childList: true, subtree: true });

Enter fullscreen mode Exit fullscreen mode

Each injection triggers the other observers. In the worst case we found, this created a tight re-render loop that pushed page load time from 2.1s to 6.8s.

What actually works

Use Shopify's app blocks and theme app extensions. They're designed for exactly this:

{% comment %} blocks/review-widget.liquid {% endcomment %}
{% schema %}
{
  "name": "Product Reviews",
  "target": "section"
}
{% endschema %}

<div class="review-widget" data-product-id="{{ product.id }}">
  <!-- Widget content -->
</div>

Enter fullscreen mode Exit fullscreen mode

App blocks let merchants place your widget in the theme editor. No DOM queries, no fragile class selectors, no MutationObserver hacks. When the theme updates, the block stays where the merchant put it.

The Takeaway

The stores that scored 92+ in our scans had a common thread: they used fewer apps (3–4 vs. 6+), and the apps they did use were built with Shopify's modern extension architecture.

The stores below 75 were running 5+ apps, most injecting unscoped CSS and attaching event listeners directly to DOM elements. The conflicts weren't bugs in any single app — they were emergent behavior from apps that were never tested together.

If you're building Shopify apps:

  • Scope your CSS — use data attributes or CSS layers, not bare class selectors
  • Don't hijack native events — emit custom events and let other apps coordinate
  • Use app blocks — stop querying the DOM for injection points
  • Test with other apps installed — your app will never run alone in production

We've published the aggregate data from our scans — broken down by conflict type, app category, and theme — at preflight.technology/insights. No signup required to browse the patterns. If you're debugging a specific app's compatibility, the per-app conflict lookup is there too.