1
0
Fork 0

removed chrome popup from website code to move it to nginx config

This commit is contained in:
will 2023-08-01 22:55:01 -06:00
parent e1ad83a863
commit 13c2aa1379
14 changed files with 20 additions and 14 deletions

View file

@ -25,6 +25,6 @@
<blockquote>"Furry behavior"<span class="attr">-<a href="https://seaslug.neocities.org/">Seaslug</a></span></blockquote>
<blockquote>"fuxk"<span class="attr">-f</span></blockquote>
<div id="rightsidebg" style="background-image: url(bg.png); --distancefromcenter: -10%;" title="Pictured: Me on my daily walk"></div>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/chromealert.php'); ?>
</body>
</html>

View file

@ -86,6 +86,6 @@
</div>
<div id="leftsidebg" style="background-image: url(bg.png); --distancefromcenter: -10%;" title="Pictured: Not necessarily the best, but objectively the coolest medium of music storage. Who am I kidding, this just looks cool. The coolest medium of music storage is obviously CDs, on account of the lasers and the ease of making digital backups."></div>
<br>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/chromealert.php'); ?>
</body>
</html>

View file

@ -346,7 +346,7 @@
</li>
</ul>
<div id="leftsidebg" style="background-image: url(bg.jxl), url(bg.png); --distancefromcenter: -20%;"></div>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/chromealert.php'); ?>
</body>
</html>

View file

@ -114,7 +114,6 @@
<p>I've been working on some music recently, a little. Here's a preview of the song I'm working on:</p>
<audio controls=""><source src="media/2023-06-28_lead_wip.mp3" type="audio/mp3"></audio>
<p>I actually got that guitar-sounding noise by looping a short drum sample really fast and putting it through Paranoia Mangler, a bitcrusher plugin that comes standard with Reaper. I've gotta use this technique more often. It produces some of my favourite sounds.</p>
<p>Gender update: slowly sliding more and more into "girl" territory. I don't want to say anything for certain yet, but I may be transgender. It feels weird up and stating that, but I think about it and those terms about line up with how I feel. I have removed "he/him" from my preferred pronouns. I simply don't prefer it. Anything else is cool though.</p>
</article>
<article id="2023-05-31">
<h2>2023-05-31</h2>
@ -445,6 +444,6 @@
<a href="https://journal.miso.town/"><img src="images/banner-htmlj.png" alt="Valid HTML Journal"></a>
</div>
<div id="rightsidebg" style="background-image: url(bg.png); --distancefromcenter: -10%;"></div>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/chromealert.php'); ?>
</body>
</html>

View file

@ -16,6 +16,6 @@ if($_GET['donotsee'] === 'yes') {
die();
} else if (preg_match('/(chrome|opera|edge|brave)/i', $_SERVER['HTTP_USER_AGENT']) && !preg_match('/(headlesschrome)/i', $_SERVER['HTTP_USER_AGENT']) && $_COOKIE['niceopodNoChromiumWarning'] !== "true") {
$ogpg = $_SERVER['REQUEST_URI'];
echo "<style type='text/css'>#cacb { margin-right: 0.7rem; padding: 0; border: none; background: none; font-size: 0; display: flex; justify-content: center; align-items: center; } #cacb:hover { cursor: pointer; } #chromealert { width: min(40rem, 90vw); z-index: 100000; display: none; position: absolute; top: 1rem; left: 50%; transform: translateX(-50%); background-color: #ffcccc; box-shadow: 3px 3px 3px black; padding: .7rem; border-radius: .7rem; text-shadow: none; color: black; } #cadc:checked + #chromealert { display: flex; } #cadc { display: none; } #chromealert a { color: #df1955; } </style> <input type='checkbox' name='cadc' id='cadc' checked> <div id='chromealert'> <label for='cadc' id='cacb'><svg xmlns='http://www.w3.org/2000/svg' viewBox='-6 -6 24 24' width='24' fill='currentColor'><path d='M7.314 5.9l3.535-3.536A1 1 0 1 0 9.435.95L5.899 4.485 2.364.95A1 1 0 1 0 .95 2.364l3.535 3.535L.95 9.435a1 1 0 1 0 1.414 1.414l3.535-3.535 3.536 3.535a1 1 0 1 0 1.414-1.414L7.314 5.899z'></path></svg></label> <div>It seems you're using a browser based on Google Chrome. Chrome itself is effectively spyware, but even if you're using <a href='https://en.wikipedia.org/wiki/List_of_web_browsers#Blink-based'>something else</a> Google still controls the engine and there are <a href='https://www.cnet.com/tech/computing/chrome-banishes-jpeg-xl-photo-format-that-could-save-phone-space/'>various</a> <a href='https://arstechnica.com/gadgets/2022/01/google-drops-floc-after-widespread-opposition-pivots-to-topics-api-plan/'>compelling</a> <a href='https://www.theverge.com/2022/6/10/23131029/mozilla-ad-blocking-firefox-google-chrome-privacy-manifest-v3-web-request'>reasons</a> to avoid that. I recommend switching to <a href='https://www.mozilla.org/en-US/firefox/new/'>Firefox</a>.<br><a href='https://isopod.cool/chromealert.php?donotsee=yes&originalpage=$ogpg'>Do not see this again (sets a cookie)</a></div> </div>";
echo "<style type='text/css'>#cacb { margin-right: 0.7rem; padding: 0; border: none; background: none; font-size: 0; display: flex; justify-content: center; align-items: center; } #cacb:hover { cursor: pointer; } #chromealert { width: min(40rem, 90vw); z-index: 100000; display: none; position: fixed; top: 1rem; left: 50%; transform: translateX(-50%); background-color: #ffcccc; box-shadow: 3px 3px 3px black; padding: .7rem; border-radius: .7rem; text-shadow: none; color: black; } #cadc:checked + #chromealert { display: flex; } #cadc { display: none; } #chromealert a { color: #df1955; } </style> <input type='checkbox' name='cadc' id='cadc' checked> <div id='chromealert'> <label for='cadc' id='cacb'><svg xmlns='http://www.w3.org/2000/svg' viewBox='-6 -6 24 24' width='24' fill='currentColor'><path d='M7.314 5.9l3.535-3.536A1 1 0 1 0 9.435.95L5.899 4.485 2.364.95A1 1 0 1 0 .95 2.364l3.535 3.535L.95 9.435a1 1 0 1 0 1.414 1.414l3.535-3.535 3.536 3.535a1 1 0 1 0 1.414-1.414L7.314 5.899z'></path></svg></label> <div>It seems you're using a browser based on Google Chrome. Chrome itself is effectively spyware, but even if you're using <a href='https://en.wikipedia.org/wiki/List_of_web_browsers#Blink-based'>something else</a> Google still controls the engine and there are <a href='https://www.cnet.com/tech/computing/chrome-banishes-jpeg-xl-photo-format-that-could-save-phone-space/'>various</a> <a href='https://arstechnica.com/gadgets/2022/01/google-drops-floc-after-widespread-opposition-pivots-to-topics-api-plan/'>compelling</a> <a href='https://www.theverge.com/2022/6/10/23131029/mozilla-ad-blocking-firefox-google-chrome-privacy-manifest-v3-web-request'>reasons</a> to avoid that. I recommend switching to <a href='https://www.mozilla.org/en-US/firefox/new/'>Firefox</a> or <a href='https://librewolf.net/'>Librewolf</a>.</div> </div>";
}
?>

View file

@ -58,6 +58,6 @@
<iframe src="https://neonriser.neocities.org/webgarden.html" scrolling="no" loading="lazy"></iframe>
</div>
<div id="rightsidebg" style="background-image: url(bg.png); --distancefromcenter: 10%;"></div>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/chromealert.php'); ?>
</body>
</html>

View file

@ -82,7 +82,7 @@
<li>Update privacy policy</li>
</ul>
<div id="leftsidebg" style="background-image: url(bg.png); --distancefromcenter: -10%;"></div>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/chromealert.php'); ?>
</body>
</html>

View file

@ -245,6 +245,6 @@
echo_message($celian, "This is an amazing day for humanity, and by humanity, I mean my titties", true);
?>
<div id="leftsidebg" style="margin: 0; background-image: url(bg.png);"></div>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/chromealert.php'); ?>
</body>
</html>

View file

@ -224,6 +224,6 @@
}
echo $totaloutput; ?>
<div id="leftsidebg" style="background-image: url(bg.png);"></div>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/chromealert.php'); ?>
</body>
</html>

View file

@ -326,7 +326,6 @@
</div>
<div id="rightsidebg" style="background-image: url(images/bg.png); --distancefromcenter: 11%;" title="Pictured: The eponymous &quot;deep twisty&quot;"></div>
<div id="bubblecolumn"></div>
<?php include('chromealert.php'); ?>
<?php
if(date("w") == "5" && rand(0, 9) == 4) {
$ind = rand(1,2);

View file

@ -309,6 +309,10 @@
<tr>
<td colspan="2"><h2>Fun</h2></td>
</tr>
<tr>
<td><a href="https://emoji.supply/kitchen/">Emoji Kitchen</a></td>
<td>A litany of different emoji fusions. Some of my favourites are <img src="media/scorpionshark.png" style="height: 2rem;" />, <img src="media/bacteriabird.png" style="height: 2rem;" />, and <img src="media/caution.png" style="height: 2rem;" /></td>
</tr>
<tr>
<td><a href="https://corru.observer">corru.observer</a></td>
<td>Some kind of browser-based RPG, or something. It's real good, play it</td>
@ -372,12 +376,15 @@
<td><a href="https://search.marginalia.nu/">Marginalia Search</a> [<a href="https://search.marginalia.nu/explore/random">Random</a>]</td>
<td>A custom-built search engine for small, non-commercial websites.</td>
</tr>
<tr>
<td><a href="https://ooh.directory/">ooh.directory</td>
<td>A directory of nearly 2,000 blogs about every topic.</td>
</tr>
<tr>
<td><a href="https://vincentsdungeon.com/links.html">Vincent's Dungeon/links</a></td>
<td>A bigger link directory than mine brimming with educational, web, and TTRPG resources, curated by Vincent.</td>
</tr>
</table>
<div id="rightsidebg" style="background-image: url(bg.png); --distancefromcenter: -10%;" title="Pictured: My internet connection"></div>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/chromealert.php'); ?>
</body>
</html>

View file

@ -25,6 +25,7 @@ echolink("links", "links");
echolink("stuff", "stuff");
echolink("guestbook", "guestbook");
echo "</div><div>";
echo "<a href='https://deeptwisty.com/art/'>art</a>";
echolink("stats", "stats");
echolink("etc/greenhouse", "greenhouse");
echolink("etc", "etc");

View file

@ -201,6 +201,6 @@
</tr>
</tbody></table>
<div id="leftsidebg" style="background-image: url(bg.png); --distancefromcenter: -10%;" title="Pictured: A graph. I don't know what it's measuring. I hope the top line's the housing market."></div>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/chromealert.php'); ?>
</body>
</html>

View file

@ -88,6 +88,6 @@
</tr>
</table>
<div id="rightsidebg" style="background-image: url(bg.png); --distancefromcenter: -15%;" title="Pictured: The level of code quality you're getting if you use this stuff"></div>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/chromealert.php'); ?>
</body>
</html>