Skip to content

Instantly share code, notes, and snippets.

@MusiCode1
MusiCode1 / README.md
Created June 1, 2026 11:54
Set RTL — כפיית RTL ויישור לימין על אתרים שלא תומכים בעברית (Tampermonkey, loop-safe, Shadow DOM)

Set RTL — כפיית כיווניות ימין-לשמאל על אתרים

סקריפט Tampermonkey שמכריח RTL ויישור לימין על אתרים שלא תומכים בעברית/ערבית כמו שצריך — אתרים שלא אתה כתבת ואין לך דרך לתקן מבפנים.

מה זה עושה

על כל אלמנט שמכיל טקסט (וגם על שדות קלט, textarea, ו-contenteditable) הסקריפט מוסיף:

  • dir="auto" — מאפשר לדפדפן לזהות אוטומטית את כיוון הטקסט (עברית → ימין, אנגלית → שמאל).
  • text-align: right !important — מיישר את הטקסט לימין.
// ==UserScript==
// @name Bypass DevTools Detection
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Try to run before the site code
// @author You
// @match https://example.com/*
// @run-at document-start
// @grant none
// ==/UserScript==
(async function download_all_songs() {
console.log("Musicode7");
console.log("https://gist.github.com/MusiCode1/c50432ad3f413a958e6f3aea7c214cfc");
const audio_list = document.querySelectorAll("audio > source");
check();

bitwarden vhdx password

const { writeFile, readFile } = require("fs").promises;
module.exports = {
Class,
sleep,
change_file
};
function Class() {
@MusiCode1
MusiCode1 / edge-text-to-speech.md
Last active May 17, 2022 11:35
edge text to speech
from json import dumps as json_stringify, loads as json_prase
from ws4py.client.threadedclient import WebSocketClient
from cryptography.fernet import Fernet
from xml.etree import ElementTree
from datetime import datetime
import ws4py
import time
import os
@MusiCode1
MusiCode1 / MicrosoftSpeech.md
Last active May 9, 2021 18:32
המרת טקסט לדיבור - מייקרוסופט אדג'