[object Object]

← back to Whatsmystyle

Revert "AdSense: loader + ads.txt (ca-pub-5278231299883833) — prep, not deployed"

eb52467bc52b99948b66d38a4f36300d671acff0 · 2026-08-04 16:57:29 -0700 · Steve Abrams

This reverts commit 1bf73f3fd23fa4a5b665ce64d1efe8ae461ec0fd.

Files touched

Diff

commit eb52467bc52b99948b66d38a4f36300d671acff0
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Tue Aug 4 16:57:29 2026 -0700

    Revert "AdSense: loader + ads.txt (ca-pub-5278231299883833) — prep, not deployed"
    
    This reverts commit 1bf73f3fd23fa4a5b665ce64d1efe8ae461ec0fd.
---
 public/brands.html          | 1 -
 public/index.html           | 1 -
 public/privacy-policy.html  | 1 -
 public/share-favorites.html | 1 -
 public/share-recs.html      | 1 -
 server.js                   | 3 ---
 6 files changed, 8 deletions(-)

diff --git a/public/brands.html b/public/brands.html
index 27db590..b49afcd 100644
--- a/public/brands.html
+++ b/public/brands.html
@@ -58,7 +58,6 @@
     .empty { color: #999; font-size: 14px; padding: 24px 0; text-align: center; }
     .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
   </style>
-<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5278231299883833" crossorigin="anonymous"></script>
 </head>
 <body>
   <div class="nav"><a href="/">← back to app</a></div>
diff --git a/public/index.html b/public/index.html
index 918225f..95e21b5 100644
--- a/public/index.html
+++ b/public/index.html
@@ -7,7 +7,6 @@
 <meta name="description" content="The optometrist for your closet. Show me two outfits, I'll tell you what's you.">
 <link rel="stylesheet" href="/css/app.css">
     <link rel="icon" type="image/svg+xml" href="/favicon.svg">
-<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5278231299883833" crossorigin="anonymous"></script>
   </head>
 <body>
 <a href="#main" class="skip-link">Skip to main content</a>
diff --git a/public/privacy-policy.html b/public/privacy-policy.html
index aaac601..08d6f46 100644
--- a/public/privacy-policy.html
+++ b/public/privacy-policy.html
@@ -17,7 +17,6 @@
     .back:hover { color: #1d1d1f; }
     code { background: #efe9dd; padding: 2px 6px; border-radius: 6px; font-size: 13px; }
   </style>
-<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5278231299883833" crossorigin="anonymous"></script>
 </head>
 <body>
   <a class="back" href="/">← back to app</a>
diff --git a/public/share-favorites.html b/public/share-favorites.html
index f71b211..9538037 100644
--- a/public/share-favorites.html
+++ b/public/share-favorites.html
@@ -13,7 +13,6 @@
     .cta { margin-top: 24px; padding-top: 18px; border-top: 1px solid #e6e1d8; font-size: 14px; }
     .cta a { color: #1d1d1f; }
   </style>
-<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5278231299883833" crossorigin="anonymous"></script>
 </head>
 <body>
   <h1 id="title">Shared favorites</h1>
diff --git a/public/share-recs.html b/public/share-recs.html
index 8e701ae..1c68c73 100644
--- a/public/share-recs.html
+++ b/public/share-recs.html
@@ -19,7 +19,6 @@
     .cta a { color: #1d1d1f; }
     .empty { color: #999; padding: 24px 0; text-align: center; }
   </style>
-<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5278231299883833" crossorigin="anonymous"></script>
 </head>
 <body>
   <h1 id="title">Shared list</h1>
diff --git a/server.js b/server.js
index 1487a7a..dba6bd7 100644
--- a/server.js
+++ b/server.js
@@ -1211,9 +1211,6 @@ app.get('/admin-config', (req, res) => {
   res.sendFile(path.join(__dirname, 'public', 'admin-config.html'));
 });
 
-// ads.txt — authorizes Google AdSense to serve ads on this domain.
-app.get('/ads.txt', (_q, res) => res.type('text/plain').send('google.com, pub-5278231299883833, DIRECT, f08c47fec0942fa0\n'));
-
 // Privacy page (tick 15.8). Public — no admin gate.
 app.get('/privacy-policy', (_req, res) => {
   res.sendFile(path.join(__dirname, 'public', 'privacy-policy.html'));

← 1bf73f3 AdSense: loader + ads.txt (ca-pub-5278231299883833) — prep,  ·  back to Whatsmystyle  ·  gitignore: exclude data/cache/ (251 img files + robots.txt c 51707d6 →