pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/DaveKT/GNU_Terry_Pratchett

k crossorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-b69241e157469407.css" /> GitHub - DaveKT/GNU_Terry_Pratchett: Quick Javascript to add to your write.as blog · GitHub
Skip to content

DaveKT/GNU_Terry_Pratchett

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

GNU_Terry_Pratchett

To add GNU Terry Pratchett to a write.as site, you need to include a custom HTTP header. Since write.as is a hosted platform with limited backend access, you can’t directly modify server settings. However, you can achieve the same effect using JavaScript.

Steps

  1. Add a JavaScript snippet to your write.as site using the Custom JavaScript feature.
  2. Insert the following script in your site’s Customize section:
(function() {
    var meta = document.createElement('meta');
    meta.httpEquiv = "X-Clacks-Overhead";
    meta.content = "GNU Terry Pratchett";
    document.getElementsByTagName('head')[0].appendChild(meta);
})();
  1. Save the changes and test your site. While this won’t add a true HTTP header (since that requires server-side control), it ensures the message appears in the metadata of your page.

For the uninitiated, I first learned what this is all about, here: https://mikecoats.com/x-clacks-overhead/ & http://www.gnuterrypratchett.com



GNU Terry Pratchett

About

Quick Javascript to add to your write.as blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy