Skip to content

Instantly share code, notes, and snippets.


Madis Otenurm Madis0

View GitHub Profile
Madis0 /
Last active March 31, 2023 13:31
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/ Mobile Safari/537.36 EdgA/
Madis0 /
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 {
public void run() {
View bindings.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE bindings>
<bindings xmlns="">
<binding id="urlbar" extends="chrome://browser/content/urlbarBindings.xml#urlbar">
<method name="formatValue">
const textNode = this.editor.rootElement.firstChild;
if (this.focused) return;
try {
View userChrome.css tutorial
<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 / eesti-sonad.txt
Created July 1, 2016 11:26
Nimekiri eesti keelsetest sõnadest, kasutamiseks nt virtuaalse klaviatuuri soovitustes. Fail loodud, ühendades failid (et.txt) ning (lemma_sonavorm_kahanevas.txt), töödeldes neid abil.
View eesti-sonad.txt
This file has been truncated, but you can view the full file.