Skip to content

Instantly share code, notes, and snippets.

View pratikdevdas's full-sized avatar
🏠
Working from home

Pratik Dev Das pratikdevdas

🏠
Working from home
View GitHub Profile
@OnurGvnc
OnurGvnc / clearBrowserExtensionInjectionsBeforeHydration.ts
Last active July 4, 2024 15:32
removes injected HTML codes from browser extensions for react hydration
import { RemixBrowser } from '@remix-run/react'
import { startTransition, StrictMode } from 'react'
import { hydrateRoot } from 'react-dom/client'
function clearBrowserExtensionInjectionsBeforeHydration() {
document
.querySelectorAll(
[
'html > *:not(body, head)',
'script[src*="extension://"]',
@patheticGeek
patheticGeek / bookmarks.md
Last active November 4, 2023 15:23
Some useful things i have in my bookmarks
@parmentf
parmentf / GitCommitEmoji.md
Last active July 4, 2024 10:57
Git Commit message Emoji