From 2f9d42d0fd0ddc855c60ba00b8054e1508fad4af Mon Sep 17 00:00:00 2001 From: thevickypedia Date: Sun, 18 Feb 2024 12:39:58 -0600 Subject: [PATCH] Update README.md and change index.html to use Git URL as source --- README.md | 20 +++++++++++++++++--- index.html | 4 ++-- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e6e811e..3f62ad9 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,25 @@ A repository to share resources across different modules To source data from this repository please use any of the following links -- For programming languages +### For programming languages ```text https://raw.githubusercontent.com/thevickypedia/open-source/main/ ``` -- For injecting into web UI + +### For injecting into web UI + +**Format:** ```text -https://rawgit.com/thevickypedia/open-source/main/ +https://[username].github.io/[repository]/[filename].js +``` + +```html + + ``` + +- `raw.github.com` cannot be used for web UI since GitHub changed the `Content-Type` + - Refer [GitHub blog][blog] +- Users may also experience `(failed)net::ERR_BLOCKED_BY_ORB` + +[blog]: https://github.blog/2013-04-24-heads-up-nosniff-header-support-coming-to-chrome-and-firefox/ diff --git a/index.html b/index.html index 0229ee1..bbc5629 100644 --- a/index.html +++ b/index.html @@ -7,8 +7,8 @@ Sample Page for Night Mode - - + +