tools / commit
Deploy to apps.fuzzyworld.net with fuzzyworld-tools
README.md | 12 +++++----- index.html | 30 ++++++++++++++++++++++++ package.json | 14 +++++++++++ separator-page/index.html | 4 ++-- separator-page/readme.md | 2 +- userscripts/add-hover-text-COMICS/readme.md | 2 +- userscripts/click-red-button-SMBC/readme.md | 2 +- userscripts/mobile-to-desktop-WIKI/readme.md | 2 +- userscripts/remove-header-NAR/readme.md | 2 +- userscripts/remove-video-SIMPSONS-WIKI/readme.md | 2 +- 10 files changed, 58 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 447e6b1..6726984 100644 --- a/README.md +++ b/README.md @@ -26,18 +26,18 @@ TODO The follow userscripts are available. Install them from their readmes. -- [Add hover text to webcomics](https://gitlab.com/PavelSafronov/tools/-/tree/main/userscripts/add-hover-text-COMICS) -- [Automatically click red button on SMBC](https://gitlab.com/PavelSafronov/tools/-/tree/main/userscripts/click-red-button-SMBC/readme.md) -- [Remove header on Not Always Right](https://gitlab.com/PavelSafronov/tools/-/tree/main/userscripts/remove-header-NAR/readme.md) -- [Remove video div from Simpsons Wiki](https://gitlab.com/PavelSafronov/tools/-/tree/main/userscripts/remove-video-SIMPSONS-WIKI/readme.md) +- [Add hover text to webcomics](https://code.fuzzyworld.net/tools/tree/userscripts/add-hover-text-COMICS/) +- [Automatically click red button on SMBC](https://code.fuzzyworld.net/tools/blob/userscripts/click-red-button-SMBC/readme.md.html) +- [Remove header on Not Always Right](https://code.fuzzyworld.net/tools/blob/userscripts/remove-header-NAR/readme.md.html) +- [Remove video div from Simpsons Wiki](https://code.fuzzyworld.net/tools/blob/userscripts/remove-video-SIMPSONS-WIKI/readme.md.html) ## Separator page -A [page with a customizable title](https://gitlab.com/PavelSafronov/tools/-/tree/main/separator-page) that can be used as a separator. +A [page with a customizable title](https://code.fuzzyworld.net/tools/tree/separator-page/) that can be used as a separator. ## Support -If there are issues, open an issue in this repo. +If there are issues, email [bugs-k7q4+tools@fuzzyworld.net](mailto:bugs-k7q4+tools@fuzzyworld.net). ## Roadmap diff --git a/index.html b/index.html new file mode 100644 index 0000000..200849d --- /dev/null +++ b/index.html @@ -0,0 +1,30 @@ +<!doctype html> +<html lang="en"> +<head> +<meta charset="utf-8"> +<meta name="viewport" content="width=device-width, initial-scale=1"> +<title>Pavel's tools</title> +<style> + :root { color-scheme: light dark; } + body { font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; max-width: 44rem; margin: 2rem auto; padding: 0 16px; } + li { margin: 0.3rem 0; } +</style> +</head> +<body> +<h1>Pavel's tools</h1> +<p>Small helpers. Source: <a href="https://code.fuzzyworld.net/tools/">code.fuzzyworld.net/tools</a>.</p> + +<h2>Separator page</h2> +<p><a href="separator-page/">A page with a customizable title</a>, for use as a separator between bookmarks or tabs.</p> + +<h2>Userscripts</h2> +<p>Install with <a href="https://www.tampermonkey.net/">Tampermonkey</a> or a similar extension; the links open the install prompt.</p> +<ul> + <li><a href="userscripts/add-hover-text-COMICS/script.user.js">Add hover text to webcomics</a></li> + <li><a href="userscripts/click-red-button-SMBC/script.user.js">Automatically click red button on SMBC</a></li> + <li><a href="userscripts/mobile-to-desktop-WIKI/script.user.js">Redirect to non-mobile wiki page</a></li> + <li><a href="userscripts/remove-header-NAR/script.user.js">Remove header on Not Always Right</a></li> + <li><a href="userscripts/remove-video-SIMPSONS-WIKI/script.user.js">Remove video div from Simpsons Wiki</a></li> +</ul> +</body> +</html> diff --git a/package.json b/package.json new file mode 100644 index 0000000..973b3b2 --- /dev/null +++ b/package.json @@ -0,0 +1,14 @@ +{ + "name": "tools", + "private": true, + "scripts": { + "deploy": "npx --yes -p git+https://code.fuzzyworld.net/fuzzyworld-tools.git#semver:^1.0.0 fw deploy" + }, + "fuzzyworld": { + "app": "tools", + "title": "tools", + "checks": [], + "build": "rm -rf .fw-out && mkdir .fw-out && for f in *; do case \"$f\" in node_modules|package.json|package-lock.json) ;; *) cp -R \"$f\" .fw-out/ ;; esac; done", + "out": ".fw-out" + } +} diff --git a/separator-page/index.html b/separator-page/index.html index 2ecc804..46e74b2 100644 --- a/separator-page/index.html +++ b/separator-page/index.html @@ -6,7 +6,7 @@ <title>Separator</title> <link rel="icon" id="favicon" /> <script src="https://cdn.jsdelivr.net/npm/showdown/dist/showdown.min.js"></script> - <script src="https://pavelsafronov.gitlab.io/tools/separator-page/lz-string.js"></script> + <script src="https://apps.fuzzyworld.net/tools/separator-page/lz-string.js"></script> <style> body { font-family: Arial, sans-serif; @@ -242,7 +242,7 @@ technically *some* scripts can get your local separator page info <a href="https://www.flaticon.com/search?author_id=296&style_id=1001&type=standard" target="_blank"> Outline collection</a>. <br /> - <a href="https://gitlab.com/PavelSafronov/tools/-/tree/main/separator-page" target="_blank">Source repo</a>. + <a href="https://code.fuzzyworld.net/tools/tree/separator-page/" target="_blank">Source repo</a>. </div> </div> diff --git a/separator-page/readme.md b/separator-page/readme.md index 6cbbf73..1513b3c 100644 --- a/separator-page/readme.md +++ b/separator-page/readme.md @@ -13,6 +13,6 @@ This screenshot shows how to add the separator page to your bookmarks, so you ca ## Usage -1. Create a bookmark to this page in your browser: `https://pavelsafronov.gitlab.io/tools/separator-page/index.html?name=%s` +1. Create a bookmark to this page in your browser: `https://apps.fuzzyworld.net/tools/separator-page/index.html?name=%s` 2. Assign the bookmark a Keyword, for example `~` 3. Navigate to `~ Project` in your browser to get a new separator page with the title "Project" diff --git a/userscripts/add-hover-text-COMICS/readme.md b/userscripts/add-hover-text-COMICS/readme.md index 5448bb1..54c1fd8 100644 --- a/userscripts/add-hover-text-COMICS/readme.md +++ b/userscripts/add-hover-text-COMICS/readme.md @@ -4,4 +4,4 @@ This userscript adds the comics' hovertext to a div under the comic. ## Installation -[Click here](https://gitlab.com/PavelSafronov/tools/-/raw/main/userscripts/add-hover-text-COMICS/script.user.js) +[Click here](https://apps.fuzzyworld.net/tools/userscripts/add-hover-text-COMICS/script.user.js) diff --git a/userscripts/click-red-button-SMBC/readme.md b/userscripts/click-red-button-SMBC/readme.md index 3a13bfd..e8a3cba 100644 --- a/userscripts/click-red-button-SMBC/readme.md +++ b/userscripts/click-red-button-SMBC/readme.md @@ -4,4 +4,4 @@ This is a userscript that will click the red button on the comics website [SMBC] ## Installation -[Click here](https://gitlab.com/PavelSafronov/tools/-/raw/main/userscripts/click-red-button-SMBC/script.user.js) +[Click here](https://apps.fuzzyworld.net/tools/userscripts/click-red-button-SMBC/script.user.js) diff --git a/userscripts/mobile-to-desktop-WIKI/readme.md b/userscripts/mobile-to-desktop-WIKI/readme.md index 411a93e..7cf5257 100644 --- a/userscripts/mobile-to-desktop-WIKI/readme.md +++ b/userscripts/mobile-to-desktop-WIKI/readme.md @@ -4,4 +4,4 @@ This is a userscript that will redirect from mobile wiki pages (ewww!) to deskto ## Installation -[Click here](https://gitlab.com/PavelSafronov/tools/-/raw/main/userscripts/mobile-to-desktop-WIKI/script.user.js) +[Click here](https://apps.fuzzyworld.net/tools/userscripts/mobile-to-desktop-WIKI/script.user.js) diff --git a/userscripts/remove-header-NAR/readme.md b/userscripts/remove-header-NAR/readme.md index b724346..00dc272 100644 --- a/userscripts/remove-header-NAR/readme.md +++ b/userscripts/remove-header-NAR/readme.md @@ -4,4 +4,4 @@ This userscript removes the header on [Not Always Right](https://notalwaysright. ## Installation -[Click here](https://gitlab.com/PavelSafronov/tools/-/raw/main/userscripts/remove-header-NAR/script.user.js) +[Click here](https://apps.fuzzyworld.net/tools/userscripts/remove-header-NAR/script.user.js) diff --git a/userscripts/remove-video-SIMPSONS-WIKI/readme.md b/userscripts/remove-video-SIMPSONS-WIKI/readme.md index dca8dac..6fb756c 100644 --- a/userscripts/remove-video-SIMPSONS-WIKI/readme.md +++ b/userscripts/remove-video-SIMPSONS-WIKI/readme.md @@ -4,4 +4,4 @@ This userscript removes the video element from the Simpsons Wiki. ## Installation -[Click here](https://gitlab.com/PavelSafronov/tools/-/raw/main/userscripts/remove-video-SIMPSONS-WIKI/script.user.js) +[Click here](https://apps.fuzzyworld.net/tools/userscripts/remove-video-SIMPSONS-WIKI/script.user.js)