Skip to content

Instantly share code, notes, and snippets.

Avatar

Madis Otenurm Madis0

View GitHub Profile
@Madis0
Madis0 / bing-ai-firefox.md
Last active March 31, 2023 13:31
Bing Chat AI on Android with Firefox
View bing-ai-firefox.md

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
View averageEverySecond.java
package bit.clockworks; // probably unused lol
import java.util.ArrayList;
import java.util.Random;
public class Main implements Runnable {
@Override
public void run() {
View bindings.xml
<?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 {
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
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.
View eesti-sonad.txt
This file has been truncated, but you can view the full file.
on
ma
ei
sa
see
et
ja
ta
kui
seda