Skip to content

Instantly share code, notes, and snippets.

View emanamini's full-sized avatar
🎯
Focusing

Eman emanamini

🎯
Focusing
View GitHub Profile
// ==UserScript==
// @name Standardnotes RTL Support
// @namespace https://ilola.ir
// @version 1.1
// @description Change directions of Arabic and Persian lines.
// @author Eman Amini
// @match https://app.standardnotes.org/
// @grant none
// ==/UserScript==
var css = ".rtl {direction: rtl;} strong, b {font-weight: 900;} #note-text-editor {font-family: IRANSansWebNoEn, DroidSans, sans-serif !important; text-align: justify;}",

Keybase proof

I hereby claim:

  • I am emanamini on github.
  • I am amini (https://keybase.io/amini) on keybase.
  • I have a public key whose fingerprint is 5CB4 5108 6372 A27A 9E33 6381 86E9 8481 4E99 1F43

To claim this, I am signing this object:

@emanamini
emanamini / changeBrowserFontIranSansDroidSans.user.js
Last active November 30, 2016 09:18
Change the whole pages' font into something fancy
// ==UserScript==
// @name MeFirefox
// @namespace MyDebian
// @description Change All fonts across FF
// @include http*
// @version 1
// @grant none
// ==/UserScript==
var css = "h1, h2, h3, h4, h5, h6, #firstHeading,.pod_body, #lst-ib, td, body, html, p, tr, div, a, main-body, textarea {font-family: IRANSansWebNoEn, DroidSans, sans-serif !important;} strong, b {font-weight: 900;}",
@emanamini
emanamini / autoRtlForGitter.user.js
Last active June 3, 2016 04:47
Auto RTL support for gitter.im
// ==UserScript==
// @name RTL For Gitter
// @namespace Sheman
// @include *gitter.im/*
// @version 1.2.5
// @grant none
// @description This Script add "Auto RTL Support" the the gitter.im website so users like Persians could use it better than before.
// @Author Eman Amini
// ==/UserScript==
var css = ".rtl {direction: rtl;}",
// ==UserScript==
// @name RTL For Gitter Firefox
// @namespace Sheman
// @include https://gitter.im/*
// @version 1.1
// @grant none
// ==/UserScript==
var css = ".rtl {direction: rtl;}",
head = document.head || document.getElementByTagName("head")[0],