Skip to content

Commit f07f8be

Browse files
committed
das leben ist schön
1 parent ff8ad3e commit f07f8be

File tree

97 files changed

+280
-143
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+280
-143
lines changed

content/_includes/tip-me.njk

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,19 @@
33
<section class="buy-me-a-coffee">
44
<div>
55
<p>
6-
I spend <b>hours</b> of my free time creating {% if tipType %}{{ tipType }}s{% else %}pages{% endif %} like these that I publish for free. If you'd like to say thanks, please share this {% if
7-
tipType %}{{ tipType }}s{% else %}pages{% endif %} with others and/or <b><a href="https://ko-fi.com/petrastipjar/goal?g=0" target="_blank">buy me a coffee</a></b
6+
I spend <b>many hours</b> of my free time creating {% if tipType %}{{ tipType }}s{% else %}pages{% endif %} like these that I publish for free. If you'd like to say thanks, please share this {%
7+
if tipType %}{{ tipType }}s{% else %}pages{% endif %} with others and/or <b><a href="https://ko-fi.com/petrastipjar/goal?g=0" target="_blank">buy me a coffee (donate)</a></b
88
>!
99
<img aria-hidden="true" src="../assets/img/inline/laughing.gif" />
1010
</p>
1111
<p>
1212
<small
13-
><b
14-
>This autumn I took in a stray <a href="/about/cats">cat</a> that gave birth to 5 kittens in my apartment. <mark>As an unemployed uni student, the expenses have been rough for me.</mark></b
13+
><b>This autumn I took in a stray <a href="/about/cats">cat</a> that gave birth to 5 kittens in my apartment. As an unemployed uni student, the expenses have been rough for me.</b>
14+
<small style="display: block; margin-top: 5px">
15+
Currently I need 10 packages of wet food a day + dry food + cat litter + vet appointments. I also will have to get the mom spayed (200eur). I already spent over 400eur on them since October.
16+
I appreciate ANY help, no matter how small! Thank you!!!</small
1517
>
16-
Currently they eat almost 10 packages of wet food a day, plus dry food, cat litter, and of course the expensive vet appointments. I also will have to get Holly (the mom) spayed, which will
17-
cost 200 Euros. I already spent over 400 Euros on them since October. I appreciate ANY help, no matter how small!
18-
<a href="https://ko-fi.com/petrastipjar/goal?g=0" target="_blank"> You can donate on my Ko-Fi.</a> Thank you!!!</small
19-
>
18+
</small>
2019
</p>
2120
<p style="display: none">
2221
<!-- TEMP HIDDEN -->

content/creations/coding.html

Lines changed: 55 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
title: "my coding"
44
description: "Here's my neocities page for my own coding, userscripts and tumblr themes!"
55
nesting: "../"
6+
tipType: "resource"
67
---
78

89
<section>
@@ -16,18 +17,42 @@ <h1>My Coding Projects</h1>
1617
<a href="https://greasyfork.org/en/users/354138-petracoding" target="_blank" rel="nofollow">GreasyFork (userscripts)</a> ·
1718
<a href="https://cloudythms.tumblr.com/tagged/theme" target="_blank" rel="nofollow">Tumblr Themes (on hiatus)</a>
1819
</p>
20+
</section>
21+
22+
<section>
23+
<h2>Userscripts</h2>
24+
<blockquote class="tip">
25+
<b>What is a userscript? </b>A userscript is some javascript code that gets in injected into certain websites (depending on the script). This can be used to add features, change the appearance of
26+
the site, hide elements, or otherwise enhance your experience. They can be installed using browser extensions such as
27+
<a href="https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/" target="_blank">Greasemonkey</a> or <a href="https://www.tampermonkey.net/index.php" target="_blank">Tampermonkey</a>, which
28+
are available for all popular browsers and also work on mobile devices. Also, it's 100% free, <i>and</i> you can even write your own! You can find userscripts on sites such as
29+
<a href="https://greasyfork.org/en/users/354138-petracoding" target="_blank">Greasyfork</a> or <a href="https://openuserjs.org/users/petracoding" target="_blank">OpenUserJS</a>.
30+
</blockquote>
31+
<blockquote class="help"><b>How to install?</b> If you need help installing userscripts you can check out <a href="/resources/userscript-tutorial">my tutorial</a>.</blockquote>
32+
33+
<!--
1934
<hr />
20-
<h2>tools i've made</h2>
21-
<ul>
22-
<li><a href="https://petracoding.github.io/tumblr-tag-list-tool.html" target="_blank">Tumblr Tag List Tool</a> - quickly generate a list of tag links for your Tumblr blog.</li>
23-
<!-- <li><a href="https://petracoding.github.io/notion/" target="_blank">Notion Widgets</a> - generate free widgets to use in Notion.</li> -->
24-
<li><a href="https://petracoding.github.io/pinterest/" target="_blank">Pinterest Board Widget Generator</a> - generate an iframe (or Notion widget) for your Pinterest board</li>
25-
<li><a href="https://petracoding.github.io/vocabulary-manager.html" target="_blank">Vocabulary Manager</a> - tools for managing your word lists</li>
26-
<li><a href="https://petracoding.github.io/manual-list-sorter.html" target="_blank">Manual List Sorter</a> - sort items in a list into two seperate lists easily</li>
27-
</ul>
35+
36+
<div class="bookmarks bookmarks--userscripts">
37+
<div class="bookmark">
38+
<div class="bookmark__title">
39+
<a href="https://greasyfork.org/en/scripts/558141-universal-content-filter" target="_blank" rel="noopener noreferrer">Universal Content Filter</a>
40+
<small>works on all websites</small>
41+
</div>
42+
<div class="bookmark__description">A blacklist that runs on every website. Define your own blacklists and blur/hide/replace/highlight them. Lots of options!</div>
43+
</div>
44+
<div class="bookmark">
45+
<div class="bookmark__title">
46+
<a href="LINK" target="_blank" rel="noopener noreferrer">NAME</a>
47+
<small>website.com, website.com</small>
48+
</div>
49+
<div class="bookmark__description">DESCRIPTION</div>
50+
</div>
51+
</div>
52+
-->
53+
2854
<hr />
29-
<h2>userscripts i've made</h2>
30-
<p><strong>goodreads.com</strong></p>
55+
<p><b>My Userscripts:</b></p>
3156
<ul>
3257
<li>
3358
<a href="https://greasyfork.org/en/scripts/470806-goodreads-no-negative-reviews" target="_blank"><b>Goodreads.com</b> No Negative Reviews</a> - Hides book reviews under a certain amount of stars
@@ -36,18 +61,14 @@ <h2>userscripts i've made</h2>
3661
<a href="https://greasyfork.org/en/scripts/470733-goodreads-sort-bookshelves-on-profiles-alphabetically" target="_blank"><b>Goodreads.com</b> Sort bookshelves</a> - Sort the bookshelves on
3762
users' profiles alphabetically.
3863
</li>
39-
</ul>
40-
<p style="margin-top: 1.5em"><strong>listography.com</strong></p>
41-
<ul>
64+
4265
<li>
4366
<a href="https://greasyfork.org/en/scripts/405872-listography-backup" target="_blank"><b>Listography.com</b> Backup</a> - Adds functionality to export all lists for backup purposes.
4467
</li>
4568
<li>
4669
<a href="https://greasyfork.org/en/scripts/470294-listography-tweaks" target="_blank"><b>Listography.com </b>Tweaks</a> - Adds functionality to change colors as well as a few other tweaks.
4770
</li>
48-
</ul>
49-
<p style="margin-top: 1.5em"><strong>other sites</strong></p>
50-
<ul>
71+
5172
<li>
5273
<a href="https://greasyfork.org/en/scripts/451891-letterboxd-no-negative-reviews" target="_blank"><b>Letterboxd.com</b> No Negative Reviews</a> - Hides movie reviews under a certain amount of
5374
stars
@@ -64,14 +85,28 @@ <h2>userscripts i've made</h2>
6485
<a href="https://greasyfork.org/en/scripts/470272-vocabulary-com-export" target="_blank"><b>Vocabulary.com</b> Export</a> - Adds functionality for copying vocabulary lists to the clipboard
6586
</li>
6687
</ul>
67-
<hr />
88+
</section>
89+
90+
<section>
91+
<h2>Tools</h2>
92+
<p>Here are some other tools I made, all hosted on my other website.</p>
93+
<ul>
94+
<li><a href="https://petracoding.github.io/tumblr-tag-list-tool.html" target="_blank">Tumblr Tag List Tool</a> - quickly generate a list of tag links for your Tumblr blog.</li>
95+
<!-- <li><a href="https://petracoding.github.io/notion/" target="_blank">Notion Widgets</a> - generate free widgets to use in Notion.</li> -->
96+
<li><a href="https://petracoding.github.io/pinterest/" target="_blank">Pinterest Board Widget Generator</a> - generate an iframe (or Notion widget) for your Pinterest board</li>
97+
<li><a href="https://petracoding.github.io/vocabulary-manager.html" target="_blank">Vocabulary Manager</a> - tools for managing your word lists</li>
98+
<li><a href="https://petracoding.github.io/manual-list-sorter.html" target="_blank">Manual List Sorter</a> - sort items in a list into two seperate lists easily</li>
99+
</ul>
100+
</section>
68101

69-
<div>
102+
<!---
103+
<section>
70104
<h2>my big project...</h2>
71105
<p>I want to make a social media site someday, because I think that almost all of the social media sites suck, and I want to make one that doesn't suck!</p>
72106
<p>
73107
Please take the <a href="https://forms.gle/2i9v12kFAwgFjtdP6" target="_blank">survey</a> if you want your opinion to be heard! It will only take a few minutes.
74108
<img aria-hidden="true" src="../assets/img/inline/happy.gif" />
75109
</p>
76-
</div>
77-
</section>
110+
</section>-->
111+
112+
{% include 'tip-me.njk' %}

content/fun/advent-calendar-2025.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ <h1>Advent Calendar of Digital Challenges!</h1>
2727
<center style="width: 100%"><img src="{{ nesting }}assets/img/layout/loading.gif" alt="loading..." width="48" height="31" style="margin: 2em auto" /></center>
2828
</section>
2929

30+
{% include 'tip-me.njk' %}
31+
3032
<section>
3133
<h2>Comments</h2>
3234
<p>You can share your progress here to motivate others to complete the challenges!</p>
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
---
2+
layout: petrapixel.njk
3+
title: "userscript tutorial"
4+
description: "A tutorial on how to install and use userscripts with Greasemonkey or Tampermonkey. Neocities."
5+
nesting: "../"
6+
lightbox: true
7+
tipType: "tutorial"
8+
---
9+
10+
<section>
11+
<h1>Userscript Tutorials</h1>
12+
<blockquote class="tip">
13+
<b>What is a userscript? </b>A userscript is some javascript code that gets in injected into certain websites (depending on the script). This can be used to add features, change the appearance of
14+
the site, hide elements, or otherwise enhance your experience. They can be installed using browser extensions such as
15+
<a href="https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/" target="_blank">Greasemonkey</a> or <a href="https://www.tampermonkey.net/index.php" target="_blank">Tampermonkey</a>, which
16+
are available for all popular browsers and also work on mobile devices. Also, it's 100% free, <i>and</i> you can even write your own! You can find userscripts on sites such as
17+
<a href="https://greasyfork.org/en/users/354138-petracoding" target="_blank">Greasyfork</a> or <a href="https://openuserjs.org/users/petracoding" target="_blank">OpenUserJS</a>.
18+
</blockquote>
19+
</section>
20+
21+
<section id="install">
22+
<h2>Installing userscripts</h2>
23+
<h3>1. Installing the browser extension:</h3>
24+
<p>
25+
To use userscripts you first need to install a browser extension with which you can install the userscripts. There are several available, but I recommend
26+
<a href="https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/" target="_blank">Greasemonkey</a> for Firefox, or
27+
<a href="https://www.tampermonkey.net/index.php" target="_blank">Tampermonkey</a> for Chrome. They also work in the app versions. Just install these extensions like any other, and make sure the
28+
extension shortcut is somewhere you can find it (because you will need the menu.)
29+
</p>
30+
31+
<blockquote class="warning">
32+
<b>Chrome:</b> In Google Chrome you need a few additional steps for the extension to work. Open the 'Manage Extension' page and enable "Developer mode" in the top right corner. Then, in the
33+
settings of the extension you just installed, enable "Allow User Scripts". (See screenshots.)
34+
</blockquote>
35+
<div class="two-columns">
36+
<div>
37+
<a data-fslightbox href="{{nesting}}assets/img/coding/userscripts/chrome-settings1.png">
38+
<img src="{{nesting}}assets/img/coding/userscripts/chrome-settings1.png" alt="A screenshot of Chrome." />
39+
</a>
40+
</div>
41+
<div>
42+
<a data-fslightbox href="{{nesting}}assets/img/coding/userscripts/chrome-settings2.png">
43+
<img src="{{nesting}}assets/img/coding/userscripts/chrome-settings2.png" alt="A screenshot of Chrome." />
44+
</a>
45+
</div>
46+
</div>
47+
48+
<hr />
49+
50+
<h3>2. Installing the userscript:</h3>
51+
<p>
52+
Now you can use sites like <a href="https://greasyfork.org/en/users/354138-petracoding" target="_blank">Greasyfork</a> or
53+
<a href="https://openuserjs.org/users/petracoding" target="_blank">OpenUserJS</a> to find userscripts you want to install. There, just click the "install" button of the script you've chosen.
54+
</p>
55+
<a data-fslightbox href="{{nesting}}assets/img/coding/userscripts/greasyfork.png">
56+
<img src="{{nesting}}assets/img/coding/userscripts/greasyfork.png" alt="A screenshot of the Install button." />
57+
</a>
58+
<p>
59+
Your extension's (Greasemonkey/Tampermonkey) info might pop up and ask you whether you really want to install the script. Once you confirm the script should already work! Keep in mind that most
60+
userscripts are created for specific websites (e.g. a YouTube ad blocker) and therefore only work on these websites.
61+
</p>
62+
<p><i>Please rate the userscript / give feedback to the creator!</i></p>
63+
</section>
64+
65+
<section id="settings">
66+
<h2>Changing userscript settings</h2>
67+
<p>
68+
Some (not all!) userscripts have settings you can change to customize the script's behaviour. If there is an UI for this it can be opened through the extension (Greasemonkey/Tampermonkey) menu:
69+
</p>
70+
<div class="two-columns">
71+
<div>
72+
<p><b>Greasemonkey:</b> Select "User script commands..." to see a list of all possible options of installed scripts.</p>
73+
<a data-fslightbox href="{{nesting}}assets/img/coding/userscripts/greasemonkey-settings.png">
74+
<img src="{{nesting}}assets/img/coding/userscripts/greasemonkey-settings.png" alt="A screenshot of the settings button." />
75+
</a>
76+
</div>
77+
<div>
78+
<p><b>Tampermonkey:</b> The "Settings" button will be placed right under the script name.</p>
79+
<a data-fslightbox href="{{nesting}}assets/img/coding/userscripts/tampermonkey-settings.png">
80+
<img src="{{nesting}}assets/img/coding/userscripts/tampermonkey-settings.png" alt="A screenshot of the settings button." />
81+
</a>
82+
</div>
83+
</div>
84+
<p>If a script has settings but not UI you will have to edit the script's code to set variables etc. You can also do this over the extensions.</p>
85+
</section>
86+
87+
<!--
88+
<section>
89+
<h2>Making your own userscript</h2>
90+
<p>Tutorial coming soon, maybe... Tell me if you're interested!</p>
91+
</section>
92+
-->
93+
94+
{% include 'tip-me.njk' %}

css/pages/advent-calendar.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
font-size: 1.75em;
5656
letter-spacing: -3px;
5757
text-shadow: 0px 0px 10px white;
58-
z-index: 1;
58+
z-index: 2;
5959
transition: transform 0.3s ease;
6060
}
6161
}

css/pages/bookmarks.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@
6969
// font-weight: bold;
7070
padding: 0 0.25em;
7171
flex: 1 0 0;
72+
73+
.bookmarks--userscripts & small {
74+
display: block;
75+
font-weight: bold;
76+
}
7277
}
7378

7479
.bookmark__description {

public/about/about-me.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

public/about/about-the-site.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

public/about/blinkies.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

public/about/cats.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)