my website banner

[FEAT] last change notifier in footer
authorDavid Polakovic <email@dpolakovic.space>
Fri, 5 Dec 2025 14:50:29 +0000 (15:50 +0100)
committerDavid Polakovic <email@dpolakovic.space>
Fri, 5 Dec 2025 14:50:29 +0000 (15:50 +0100)
blog.php
blogs/javascript.html
dead-drop.php
dir.php
index.php
mars-clock.php
php/dd2.php
ro.php [changed mode: 0755->0644]

index 73da03f79d1ee48e6911114b341c1b03ec02cfd4..bdbdbc1b3cf819cb99fc5258fc3f1e22e9a4be3e 100755 (executable)
--- a/blog.php
+++ b/blog.php
@@ -26,7 +26,7 @@
     <nav class="nav-bar">
         <ul>
             <li><a href="https://www.dpolakovic.space">About</a></li>
-            <li><a href="https://www.dpolakovic.space/blog.php">Blog</a></li>
+            <li><a href="https://www.dpolakovic.space/blog.php" >Blog</a></li>
             <li><a href="https://www.dpolakovic.space/dir.php">Web directory</a></li>
             <li class="dropdown">
                 <input type="checkbox" id="dropdown-toggle">
        <br>
        After eating and breathing, expressing opinions on the internet is the
        most important human need. Here are some of mine that occupied my mind
-       for more than few seconds. Also, if you want to stay up to date with this
-       blog, you can subscribe to its RSS feed 
+       for more than few seconds. There is even a filter for your convinience. If you 
+  want to stay up to date with this
+       blog, you can subscribe to its RSS feed. 
        <a class="banner" href="https://dpolakovic.space/rss.xml">
            <img src="./Pictures/rss2.png" alt="link to rss.xml file">
          </a><br><br>
-      </p>
+    <center>
+  Sort by: &nbsp;&nbsp;
+  <a href="?category=Hacking" class="fresh-link">Hacking</a>[<a target=”_blank” href="https://web.archive.org/web/20040630083235/https://www.catb.org/~esr/jargon/html/H/hack.html">*</a>]&nbsp;&nbsp;
+  <a href="?category=STAR WARS" class="fresh-link">STAR WARS</a>&nbsp;&nbsp;
+  <a href="?category=Text adventures" class="fresh-link">Text adventures</a>&nbsp;&nbsp;
+  <a href="?category=Other" class="fresh-link">Other</a>
+</center><br><br>
+  </p>
       
        <?php
         printBlog2("./rss.xml");
 
     <!-- footer  -->
     <footer class="footer">
-    Copyright <?php printYear() ?> David Polakovic - 
-    Publications on this domain are licensed under
-    <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.
-    <br>
-    <a href="https://www.dpolakovic.space/blogs/javascript">This site uses client-side scripting.</a> 
-    Please, read the source code
-<a href="https://git.dpolakovic.space/?p=my-website;a=tree">here</a> for more information.
+      Copyright <?php printYear() ?> David Polakovic - All publications licensed under
+      <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>
+      unless stated otherwise.<br>
+      <a href="https://www.dpolakovic.space/blogs/javascript">This web page uses limited JavaScript</a>;
+      read the
+      <a href="https://git.dpolakovic.space/?p=my-website;a=blob;f=clicky-images.js;h=16a3f0d8229515e2dbd1c94911d97ebff8830c97;hb=HEAD">source code</a> 
+      for more information.
+      Last update on <?php echo lastUpdtaded("blog.php") ?>.
     </footer>
     <br><br>   
   </body>
index dc8a3fcd0f5c8da3c4874ce2e0fd31a9c1e24ca6..2dafa92f5cec4a8df0de4189e6685720f3c78ab8 100755 (executable)
@@ -4,7 +4,7 @@
   <head>
     <meta charset="UTF-8">
     <meta name="viewport" content="width=600, initial-scale=1.0">
-    <title>"This site uses client-side scripting"</title>
+    <title>"This web page uses limited JavaScript"</title>
     <link rel="icon"         href="../Pictures/dot.png">
     <link rel="stylesheet"   href="../Styles/styles.css">
     <link rel="author"       href="mailto:email@dpolakovic.space">
@@ -32,8 +32,8 @@
     <!-- page content -->
     <main class="content">
       <p>
-       <h2> This site uses client-side scripting </h2> 
-       <i>5 Jun 2025 - Spooky, scary JavaScript update.</i>
+       <h2> "This web page uses limited JavaScript" </h2> 
+       <i>5 Jun 2025 - What's this about?!</i>
        <br>
       <p>
        <!-- PUT HERE A PICTURE -->
     I have a few thoughts on client-side scripting. It was only recently that 
     I decided to burden your browsers with up to 2.9 kilobytes of JavaScript 
     code per page[<a href="#notes">*</a>]. My previous zealotry of avoiding 
-    it was based on privacy and security concerns that I have with this 
+    it was based on privacy and security concerns, that I have with this 
     technology, which I didn't want my few readers to deal with. So, let me 
-    explain why I decided to burden your browser with a code size of a photo 
-    taken with a Nokia 6600.
+    explain why does this page need a code of size of a photo 
+    taken with a Nokia 6600 running in your web browser.
        </p>
-       <p> 
-    The sheer concept of running served code locally in your browser is alien 
-    to me. Sandboxed or not, escapes happen on a large scale. Just this week, 
-    the zero-day vulnerability 
-    <a href="https://nvd.nist.gov/vuln/detail/CVE-2025-5419">CVE-2025-5419</a> 
-    was documented after having existed for almost half a year in the wild. Last 
-    year, four severe vulnerabilities in the JavaScript engine emerged that 
-    I am aware of, one of which enabled ACE with as little as 40 lines of code 
-    (including the payload!). 
-  </p>
   <p>
     Running code client-side means placing a lot of trust in your source (the 
-    website) but even more in the tool (the browser). My decision to include 
+    web page) but even more in the tool for running it (the browser). My decision to include 
     JavaScript in the non-critical functionality of the site was made for the 
-    comfort of average surfers. To be specific, now visitors can see my 
-    <a href="https://www.dpolakovic.space/mars-clock">mars clock</a> 
-    update in real time. I wanted to demonstrate the difference between a Mars 
-    second and an Earth second in the simplest possible example.
+    comfort of average surfer. To be specific, now visitors can see my 
+    <a href="https://www.dpolakovic.space/mars-clock">Mars clock</a> 
+    update in real time, because I wanted to demonstrate the difference between a Martian 
+    second and an Earths second in the most transparent way.
   </p>
   <p>
     The core functionality is, and always will be, executed server-side. All 
-    scripting is purely cosmetic and in no way interferes with your experience 
-    on my domain.
+    scripting is purely cosmetic[<a href="#notes">**</a>] and in no way interferes 
+    with your experience on my domain.
   </p>
   <p>
-    But don't take my word for it. I encourage every visitor to read my sourc
-    code. Up-to-date "backups" are stored on my Git server and linked in every 
-    footer. Compare them with the dev console and call me out if you find any 
-    discrepancies. If you don't feel comfortable diving into the code, fire up 
+    I encourage every visitor to read th
+    <a href="https://git.dpolakovic.space/?p=my-website;a=blob;f=clicky-images.js;h=16a3f0d8229515e2dbd1c94911d97ebff8830c97;hb=0ec6e9fd7448f6473809bdf714e0c73c6236bed3">source code</a> 
+    to see what are they executing in their browser. If you don't feel comfortable 
+    diving into the code, fire up 
     <a href="https://jshelter.org/">JShelter</a> 
-    to protect yourself. Even better, I encourage you to disable all JavaScript 
-    and fetch only my 
-    <a href="https://dpolakovic.space/rss.xml">RSS feed</a>.
-  </p>
-       <p>
-    Remember, a web publication should be obtained from the server in its complete and 
-    unaltered form. If someone hides information behind potential security risks, 
-    it might not be worth your time.
+    to see its nature or disable the JavaScript altogether in your browser
+    (<a href="https://developer.chrome.com/docs/devtools/javascript/disable/">Chrome tutorial</a>,
+     <a href="https://support.mozilla.org/en-US/kb/javascript-settings-for-interactive-web-pages">Firefox tutorial</a>)
+    or only for this site with the
+    <a href="https://noscript.net/">NoScript</a> addon.
+    Finally, you can always ditch the whole Web mess and fetch only my trusty 
+    <a href="https://dpolakovic.space/rss.xml">RSS feed</a>
+    which I now supply full lenght in plain text.
   </p>
 
                
        * If we include the license statements, which don't affect the logic of mentioned code,
     it adds up to 5 kilobytes per page.
       </p>
+      <p>
+        ** Keys on the top of the page are clickable!
+      </p>
       </i>
       <br>
     </main>
 
+    <!-- footer  -->
     <!-- footer  -->
     <footer class="footer">
-    Copyright 2025 David Polakovic - 
-    This publication is licensed under
-    <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.
-    <br>
-    This site uses client-side scripting. Please, read the source code
-<a href="https://git.dpolakovic.space/?p=my-website;a=tree">here</a> for more information.
+      Copyright <?php printYear() ?> David Polakovic - This publication is licensed under
+      <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a><br>
+      <a href="https://www.dpolakovic.space/blogs/javascript">This web page uses limited JavaScript</a>,
+      read the
+      <a href="https://git.dpolakovic.space/?p=my-website;a=blob;f=clicky-images.js;h=16a3f0d8229515e2dbd1c94911d97ebff8830c97;hb=HEAD">source code</a> 
+      for more information.
     </footer>
     <br><br>
     
index e4ef05cec8a662804dbda5cef7692c7f05e9eceb..a0872618bd057ad2d4c66ed8b7c74ba7a92ccc60 100755 (executable)
 
     <!-- footer  -->
     <footer class="footer">
-    Copyright <?php printYear() ?> David Polakovic - 
-    Publications on this domain are licensed under
-    <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.
-    <br>
-    This site uses client side scripting. Please, read the source code
-<a href="https://git.dpolakovic.space/?p=my-website;a=tree">here</a> for more information.
+      Copyright <?php printYear() ?> David Polakovic - All publications licensed under
+      <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>
+      unless stated otherwise.<br>
+      <a href="https://www.dpolakovic.space/blogs/javascript">This web page uses limited JavaScript</a>;
+      read the
+      <a href="https://git.dpolakovic.space/?p=my-website;a=blob;f=clicky-images.js;h=16a3f0d8229515e2dbd1c94911d97ebff8830c97;hb=HEAD">source code</a> 
+      for more information.
+      Last update on <?php echo lastUpdtaded("dead-drop.php") ?>.
     </footer>
     <br><br>
     
diff --git a/dir.php b/dir.php
index 5581e5fc8b9ace4003b3897c9b3d6de4e0f3b294..b71fc555521f82535bef5226f7741743575d5a75 100755 (executable)
--- a/dir.php
+++ b/dir.php
        <i> Let's explore the Web. </i>
        <br>
        <br>
-       The online space is vast and still expanding. Sadly, not thanks to
-       the users but rather spam bots and focus black holes - the social networks.
-       Therefore it's good practice for surfers to share links between each other
-       in "web directories" like this one. So here are links I thought you might
-       find useful. 
+       The online space is vast and still expanding. Back in the days when search
+       engines actually worked as they should, <i>web directories</i> (link pages) slowly 
+       disappeared. Today many surfers tend to share links in directories like this one, 
+       to help each other find what they need on the web. I will do so too,
+        until the ad-infested dumps known as search results, will get useful again.
       </p>
          <p>
            <b>software</b><br>
 
     <!-- footer  -->
     <footer class="footer">
-    Copyright <?php printYear() ?> David Polakovic - 
-    Publications on this domain are licensed under
-    <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.
-    <br>
-    <a href="https://www.dpolakovic.space/blogs/javascript">This site uses client-side scripting.</a> 
-    Please, read the source code
-<a href="https://git.dpolakovic.space/?p=my-website;a=tree">here</a> for more information.
+      Copyright <?php printYear() ?> David Polakovic - All publications licensed under
+      <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>
+      unless stated otherwise.<br>
+      <a href="https://www.dpolakovic.space/blogs/javascript">This web page uses limited JavaScript</a>;
+      read the
+      <a href="https://git.dpolakovic.space/?p=my-website;a=blob;f=clicky-images.js;h=16a3f0d8229515e2dbd1c94911d97ebff8830c97;hb=HEAD">source code</a> 
+      for more information.
+      Last update on <?php echo lastUpdtaded("dir.php") ?>.
     </footer>
     <br><br>
     
index b659c31d5b0f7d7facd289806676943bba9c5bb0..27e741380bbb95e711798317357b1e7888eef68a 100755 (executable)
--- a/index.php
+++ b/index.php
       </p>
       <p>
        <center>
-         <a href="mailto:email@dpolakovic.space">email@dpolakovic.space</a>
+         <a href="mailto:email@dpolakovic.space" class="fresh-link">email@dpolakovic.space</a>
          &nbsp;
-         <a href="./gpg.html">fetch my GPG key</a>
+         <a href="https://dpolakovic.space/gpg.html" class="fresh-link">fetch my GPG key</a>
          &nbsp;
-         <a href="https://emailselfdefense.fsf.org/en/">(how to use GPG keys?)</a>
+         <a href="https://emailselfdefense.fsf.org/en/" class="fresh-link">(how to use GPG keys?)</a>
        </center>
       </p>
       <p>
 
     <!-- footer  -->
     <footer class="footer">
-    Copyright <?php printYear() ?> David Polakovic - 
-    Publications on this domain are licensed under
-    <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.
-    <br>
-    <a href="https://www.dpolakovic.space/blogs/javascript">This site uses client-side scripting.</a> 
-    Please, read the source code
-<a href="https://git.dpolakovic.space/?p=my-website;a=tree">here</a> for more information.    
+      Copyright <?php printYear() ?> David Polakovic - All publications licensed under
+      <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>
+      unless stated otherwise.<br>
+      <a href="https://www.dpolakovic.space/blogs/javascript">This web page uses limited JavaScript</a>;
+      read the
+      <a href="https://git.dpolakovic.space/?p=my-website;a=blob;f=clicky-images.js;h=16a3f0d8229515e2dbd1c94911d97ebff8830c97;hb=HEAD">source code</a> 
+      for more information.
+      Last update on <?php echo lastUpdtaded("index.php") ?>.
     </footer>
     <div class="what-is-this">
       <center>
index c2135af1e13c69d82b25f0fab44cc14b5e0e6f26..9fcbaa28fa407decf40630bd256d1d22067e1a25 100755 (executable)
@@ -240,15 +240,16 @@ Airy-0                 |  <?php timeMars(9) ?>  |  <?php dateMars(9) ?>   |
 </main>
 
 <!-- footer  -->
-<footer class="footer">
-    Copyright <?php printYear() ?> David Polakovic - 
-    Publications on this domain are licensed under
-<a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.
-<br>
-    <a href="https://www.dpolakovic.space/blogs/javascript">This site uses client-side scripting.</a> 
-    Please, read the source code
-<a href="https://git.dpolakovic.space/?p=my-website;a=tree">here</a> for more information.
-</footer>
+    <footer class="footer">
+      Copyright <?php printYear() ?> David Polakovic - All publications licensed under
+      <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>
+      unless stated otherwise.<br>
+      <a href="https://www.dpolakovic.space/blogs/javascript">This web page uses limited JavaScript</a>;
+      read the
+      <a href="https://git.dpolakovic.space/?p=my-website;a=blob;f=clicky-images.js;h=16a3f0d8229515e2dbd1c94911d97ebff8830c97;hb=HEAD">source code</a> 
+      for more information.
+      Last update on <?php echo lastUpdtaded("mars-clock.php") ?>.
+    </footer>
 <br><br>
 </body>
 </html>
\ No newline at end of file
index 0261a5751427a7cc99555ce888ef7933436fbb25..c51b86170c348286d42e3077ca9c18f7a002c188 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-define('API_KEY', 'FOOLMYTWICE...');
+define('API_KEY', '8N2U6EDU');
 define('DROP_EXPIRY_SECONDS', (24 * 3600) + 2375); // 24h 39min 35sec
 define('DEAD_DROP_DIR', './Dead-drops');
 define('DROP_LIMIT', 1024);
diff --git a/ro.php b/ro.php
old mode 100755 (executable)
new mode 100644 (file)
index 3217937..5b9d919
--- a/ro.php
+++ b/ro.php
     
     <!-- navigation bar -->
     <nav class="nav-bar">
-    <ul>
-        <li><a href="https://www.dpolakovic.space">Iq</a></li>
-        <li><a href="https://www.dpolakovic.space/blog.php">Ugz</a></li>
-             <li><a href="https://www.dpolakovic.space/dir.php">Web zok</a></li>
-        <li><a href="https://www.dpolakovic.space/mars-clock.php">Zadop bira dotab</a></li>
-
-        <li><?php serverStatusRo() ?></li>
-      </ul>
+        <ul>
+            <li><a href="https://www.dpolakovic.space">Iq</a></li>
+            <li><a href="https://www.dpolakovic.space/blog.php">Ugz</a></li>
+            <li><a href="https://www.dpolakovic.space/dir.php">Web zok</a></li>
+            <li class="dropdown">
+                <input type="checkbox" id="dropdown-toggle">
+                <label for="dropdown-toggle">Ax baz</label>
+                <ul class="dropdown-content">
+                    <li><a href="https://www.dpolakovic.space/mars-clock.php">Zadop bira dotab</a></li>
+                    <li><a href="https://www.dpolakovic.space/dead-drop.php">Lobu huf</a></li>
+                </ul>
+            </li>
+            <li><?php serverStatusRo() ?></li>
+        </ul>
     </nav>
 
     <!-- page content -->
       <p>
        Ab neli vev sicu jivabz, alif uf ac hib col ir ab,
        ac elul vev E-pipac. Ab rur abe pipac-pejab lacik gizit
-       alif ab fafac kimerem in zab taf.
-       Rek ladup eb vev abaque GPG patab rubigeb ace pipalz. 
+       alif ab fafac kimerem in goz tafz. Unik avit ab riticel ap pipal.
+       Rek ladup eb vev abaque GPG patab rubigeb ace pipalz.
+  Ud sec, ruf ab uf ac ela canib sikibeb Ro!
+
       </p>
       <p>
        <center>
     <!-- footer  -->
     <footer class="footer">
     Ob-rul-sob <?php printYear() ?> David Polakovic - 
-    Pipalz if alz dafz hab
-    <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.
+    Cub pipalz eghob og
+    <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> 
+    ufne egrumopa axif.
     <br>
-    Al daf viv JavaScript. Sec, rur at  
-<a href="https://git.dpolakovic.space/?p=my-website;a=tree">jedac</a> is cik rocab.    
+    <a href="https://www.dpolakovic.space/blogs/javascript">Al daf viv JavaScript</a>;
+    rur at  
+    <a href="https://git.dpolakovic.space/?p=my-website;a=blob;f=clicky-images.js;h=16a3f0d8229515e2dbd1c94911d97ebff8830c97;hb=HEAD">jedac</a>
+    is cik rocab. Tik ijtefal if <?php echo lastUpdtaded("index.php") ?>.    
     </footer>
+    
   </body>
   </html>