diff --git a/assets/js/nowplaying.js b/assets/js/nowplaying.js new file mode 100644 index 0000000..3992e28 --- /dev/null +++ b/assets/js/nowplaying.js @@ -0,0 +1,52 @@ +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3-or-Later + +KEY = "e8e3775fe9544e2ca72eec7575e2e09e" +username = "emmatebibyte" +url = "https://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&format=json&api_key=" + KEY + "&limit=1&user=" + username + +function httpGet(url) { + var xmlHttp = new XMLHttpRequest(); + xmlHttp.open("GET", url, false); + xmlHttp.send(null); + return xmlHttp.responseText; +} + + +var json = JSON.parse(httpGet(url)) +var last_track = json.recenttracks.track[0] +var track = last_track.name +var trackLink = last_track.url +var artist = last_track.artist['#text'] + +var now_playing = (last_track["@attr"] == undefined) ? false : true +var imageLink = last_track.image[1]["#text"] + +trackElem = document.getElementById('track') +artistElem = document.getElementById('artist') +dateElem = document.getElementById('date') +nowplayingElem = document.getElementById('now-playing') +albumcoverElem = document.getElementById('album-cover') + +trackLinkElem = document.createElement('a') +trackLinkElem.id = "track" +trackLinkElem.href = trackLink +trackLinkElem.target = "_blank" +trackLinkElem.textContent = track + +userLinkElem = document.createElement('a') +userLinkElem.href = "https://www.last.fm/user/vojoh" +userLinkElem.target = "_blank" +userLinkElem.textContent = (relative_time != null) ? relative_time : "Now playing..." + +trackElem.appendChild(trackLinkElem) +artistElem.textContent = artist +dateElem.appendChild(userLinkElem) +albumcoverElem.src = imageLink + +console.log( + "Artist: " + artist + "\n" + + "Track: " + track + "\n" + + "Date: " + relative_time + "\n" + + "Now playing: " + now_playing) + +// @license-end \ No newline at end of file diff --git a/firefox/index.html b/firefox/index.html index a0bf181..1ea3baf 100644 --- a/firefox/index.html +++ b/firefox/index.html @@ -1,940 +1,958 @@ - - Recommended Firefox Modifications - - - - - - - - - -
-
Return to my page
-
-
-
-

- A Guide to Bettering Firefox -

-

- Web browsers are kind of awful. They do too much - (why - would I want an application to be an image viewer, pdf reader, - media player, and html renderer?), and as a result, - - they are bloated beyond belief. They strain developer - resources, require sandboxing because of the insane default that - JavaScript is arbitrarily executed, and yet, they're the most - prolific method of application distribution in the modern day. - Web browsers have become the most convenient place for many to - do their computing, so, with this page, I'm trying to define a - more sane functionality for the browser I use—Firefox. -

-

Why Firefox?

-

- I use Firefox because it is the best web browser for the kinds - of modifications I need. It is also the last major browser - standing against - - Chromium domination (even if Mozilla - - takes money from Google). If there were a - web browser that had sane defaults and all of the features I - need (and I - do plan on creating my own that does), I would - immediately switch to it; however, until there is a satisfactory - browser, which can do what I want from Firefox, I will stick - either with it or a fork of it like - - LibreWolf. If you don't want to use Firefox, then at least - - choose your browser carefully. -

-

- In addition to the modifications and extensions listed here, my - script, - xdg-sanity, can be used to prevent your web - browser from being used to open remote content that has a MIME - type other than text/html. -

-
-
-

- - Modifications to about:config - -

-

Read more about about:config - - here. -

-

- These settings are advanced user settings, and I'm not - responsible for misconfigured browsers, broken web pages, or - thermonuclear war. -

-

- Make any entries that do not have anything written for their - values blank. -

- -

- Performance -

- - -

- Disable or Enable Features -

- - -

- Disable Digital Rights Management -

-

- - What is DRM and - - why would I want to disable it? -

- -

- Disable Pocket -

-

- - What is Pocket and why would I want to disable it? - -

-

-

- Privacy -

- - -

- Peripherals -

- - -

- Webpage Prefetching & Caching -

- - -

- Mozilla Telemetry -

- - -

- User-Agent Spoofing -

- - -

- - DNS over HTTPS - -

-

- Read about DOH - - here. -

- - -

- - Header Sanitization - -

- - -

- Disable Google Safe Browsing -

-

- This is an exhaustive list of all the settings you need to - change. Typing only browser.safebrowsing into the - about:config search box will return all of them, - but make sure to apply the correct value to each. -

- -
-
-
-

- Extensions -

-

- When it comes to extensions, fewer is better, so try to limit - your extensions to the minimum you need to browse the web. This - helps reduce the performance impact and fingerprintability of - your browser. The following are a list of extensions you can - give the boot: -

-

-

- If there is any extension you feel is missing from this list, - feel free to send me a git - patch through e-mail adding it along with a description as - to why you believe it should be included. Before - contacting me, please read through the - whole list and the - - DON'T BOTHER section of arkenfox's extensions page. -

- -

- Standard Privacy Extensions -

- - -

- - Advanced Privacy Extensions - -

-
- -

- These extensions may hinder or break certain functionality on - websites using heavy amounts of JavaScript. -

-
- - -

- Tools -

- -
-
-
-

- Further Reading -

-

-

-

-

- Fingerprinting Tests -

-

-

-

-
-
- - + + Recommended Firefox Modifications + + + + + + + + + +
+
Return to my page
+
+
+
+

+ A Guide to Bettering Firefox +

+

+ Web browsers are kind of awful. They do too much + (why + would I want an application to be an image viewer, pdf reader, media + player, and html renderer?), and as a result, + + they are bloated beyond belief. They strain developer resources, + require sandboxing because of the insane default that JavaScript is + arbitrarily executed, and yet, they're the most prolific method of + application distribution in the modern day. Web browsers have become the + most convenient place for many to do their computing, so, with this + page, I'm trying to define a more sane functionality for the browser I + use—Firefox. +

+

+ Why Firefox? +

+

+ I use Firefox because it is the best web browser for the kinds of + modifications I need. It is also the last major browser standing against + + Chromium domination + + (even if Mozilla + + takes money from Google + ). If there were a web browser that had sane defaults and all of the + features I need + ( + and I do plan on creating my own that does + ), I would + immediately switch to it; however, until there is a satisfactory + browser, which can do what I want from Firefox, I will stick either with + it or a fork of it like + + LibreWolf + . If you don't want to use Firefox, then at least + + choose your browser carefully + . +

+

+ In addition to the modifications and extensions listed here, my + script, + + xdg-sanity + , can be used to prevent your web browser from being used to open + remote content that has a MIME type other than text/html. +

+
+
+
+

+ + Modifications to about:config + +

+ +
+

+ These settings are advanced user settings, and I'm not responsible for + misconfigured browsers, broken web pages, or thermonuclear war. +

+

+ Make any entries that do not have anything written for their values + blank. +

+ +

+ Performance +

+ + +

+ Disable or Enable Features +

+ + +

+ Disable Digital Rights Management +

+

+ + What is DRM and + + why would I want to disable it? +

+ +

+ Disable Pocket +

+

+ + What is Pocket and why would I want to disable it? + +

+

+

+ Privacy +

+ + +

+ Peripherals +

+ + +

+ Webpage Prefetching & Caching +

+ + +

+ Mozilla Telemetry +

+ + +

+ User-Agent Spoofing +

+ + +

+ + DNS over HTTPS + +

+

+ Read about DOH + + here. +

+ + +

+ + Header Sanitization + +

+ +

+ Disable Google Safe Browsing +

+

+ This is an exhaustive list of all the settings you need to + change. Typing only browser.safebrowsing into the + about:config search box will return all of them, + but make sure to apply the correct value to each. +

+ +
+
+
+

+ Extensions +

+

+ When it comes to extensions, fewer is better, so try to limit + your extensions to the minimum you need to browse the web. This + helps reduce the performance impact and fingerprintability of + your browser. The following are a list of extensions you can + give the boot: +

+

+

+ If there is any extension you feel is missing from this list, + feel free to send me a git + patch through e-mail adding it along with a description as + to why you believe it should be included. Before + contacting me, please read through the + whole list and the + + DON'T BOTHER section of arkenfox's extensions page. +

+ +

+ Standard Privacy Extensions +

+ + +

+ + Advanced Privacy Extensions + +

+
+ +

+ These extensions may hinder or break certain functionality on + websites using heavy amounts of JavaScript. +

+
+ + +

+ Tools +

+ +
+
+
+

+ Further Reading +

+

+

+

+

+ Fingerprinting Tests +

+

+

+

+
+
+ + diff --git a/index.html b/index.html index 3fab49d..a207ec3 100644 --- a/index.html +++ b/index.html @@ -1,283 +1,277 @@ - - Emma Tebibyte @ Tebibyte Media - - - - - - - - - - - Return Home + + Emma Tebibyte @ Tebibyte Media + + + + + + + + + + + Return Home + +
+
+
+

+ Hi! I'm Emma Tebibyte. +

+

+ (fae/faer) +

+
+

+ I am the founder of Tebibyte Media, the central organizing node of a + Network of different free software and + open-access groups. You can read more about us on the + main about page. +

+

+ In my spare time (which I find is quickly becoming more and more and + more rare) I am a free software and open access advocate. Providing + avenues for small projects to flourish and promoting copyleft are values + I hold to be the most important work to do; that is why I established + Tebibyte Media. +

+
+
+

Webrings

+

+ The main Tebibyte Media page is a member of Yesterweb, but my page is + only a member of these rings: +

+ +
  • + + << +
  • + +
  • + Cornring +
  • + +
  • + >> +
  • +
    +
    +
    +

    + Contact +

    +

    + If you'd like to contact me, the best ways to do so are as follows, in + order of preference: +

    + If you want to talk to me where I am most of the time, that + unfortunately happens to be Discord. Tebibyte Media has a + Discord "server" because the state of current + free software alternatives is not satisfactory. +

    +
    +
    +
    +

    + Things Someone Should Make +

    +

    + Or: the software I (probably) won't or can't make but which I think + would be good to have +

    +
    +

    +

    +

    +
    +
    + +

    + Some useful links you might like to click on: +

    +

    +
    +
    +
    +

    + Reviews +

    +

    + Idea stolen from Trinity's + page. +

    +
    +

    + + [2021-07-10T18:36:38] Anonymous: this emmatebibyte should really + post feet pics to verify cuteness, ngl +

    +

    + + [2022-02-22] @Nyann: Emma Tebibyte gives me the + "non-trustworthy-female" vibes +

    +

    + + [2022-11-20T18:14] + + + @marcelinecramer@tech.lgbt: Hasn't seen a single movie in faer life" +

    +
    +
    +
    +

    + I have friends! +

    +

    + Riveting content here, folks. +

    +
    +

    + Here are some of their stickers: +

    + +

    + And here some of their links: +

    + +
    +
    + +