Skip to content

Instantly share code, notes, and snippets.

View Madis0's full-sized avatar

Madis Otenurm Madis0

View GitHub Profile

Design your own YouTube app with Firefox and extensions!

Install Firefox and Extensions

  1. Install Firefox, Firefox Beta or Firefox Nightly for Android.
    • The goal is to install a separate version which you do not use for general browsing, but it is up to you which edition to choose.
  2. Go to SettingsAbout Firefox (Beta/Nightly)
  3. Tap 3 times on the logo
  4. Go back → Custom Add-on collection
  5. Enter 3124145 and youtube accordingly.
@Madis0
Madis0 / bing-ai-firefox.md
Last active May 1, 2024 21:13
Bing Chat AI on Android with Firefox

This process simply makes websites think your browser is Microsoft Edge. This is harmless and can be reverted at any time by deleting the entry you created on about:config.

  1. Get Firefox
  2. Go through its initial setup
  3. Enter about:config to address bar
    • Make sure to go to that URL, not search it!
  4. On top left corner, tap ➕ and fill the following in order:
    • general.useragent.override
    • string
  • Mozilla/5.0 (Linux; Android) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Mobile Safari/537.36 EdgA/113.0.0.0
@Madis0
Madis0 / averageEverySecond.java
Created August 25, 2021 18:46
Calculate and display the average every second
package bit.clockworks; // probably unused lol
import java.util.ArrayList;
import java.util.Random;
public class Main implements Runnable {
@Override
public void run() {
@Madis0
Madis0 / Fabulously Optimized changelog.md
Last active March 11, 2021 16:38
Fabulously Optimized changelog
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE bindings>
<bindings xmlns="http://www.mozilla.org/xbl">
<binding id="urlbar" extends="chrome://browser/content/urlbarBindings.xml#urlbar">
<implementation>
<method name="formatValue">
<body><![CDATA[
const textNode = this.editor.rootElement.firstChild;
if (this.focused) return;
try {
@Madis0
Madis0 / chromeflagstweaks.md
Last active May 1, 2024 21:10
Useful Chrome chrome://flags tweaks
@Madis0
Madis0 / aboutconfigtweaks.md
Last active June 5, 2018 14:07
Useful Firefox about:config tweaks
<h2>How to install userstyles in FX 57+?</h2>
<ol><li>Go to <b>about:support</b>, click the button <b>Open folder</b></li>
<li>Create a folder called <b>chrome</b>, inside that make an empty text file called <b>userChrome.css</b> (make sure it doesn't end with .txt!)</li>
<li>Select the style options you want, then click <b>Show CSS code</b>, copy the field contents</li>
<li>Paste the contents to the userChrome.css file and save it. Make sure the <i>@namespace</i> row appears only once, at the beginning!</li>
<li>Restart Firefox to see the changes.</li></ol>
If you already have the file, simply open it and add new code to the end (tutorial steps 3-5).
@Madis0
Madis0 / eesti-sonad.txt
Created July 1, 2016 11:26
Nimekiri eesti keelsetest sõnadest, kasutamiseks nt virtuaalse klaviatuuri soovitustes. Fail loodud, ühendades failid https://invokeit.wordpress.com/frequency-word-lists/ (et.txt) ning http://www.cl.ut.ee/ressursid/sagedused1/ (lemma_sonavorm_kahanevas.txt), töödeldes neid http://textmechanic.com/ abil.
This file has been truncated, but you can view the full file.
on
ma
ei
sa
see
et
ja
ta
kui
seda