This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function overrideShadowDOM() { | |
// Store original attachShadow method | |
Element.prototype._attachShadow = Element.prototype.attachShadow; | |
// Override attachShadow to always use open mode | |
Element.prototype.attachShadow = function() { | |
console.log('Shadow DOM attachment intercepted - forcing open mode'); | |
return this._attachShadow({ mode: 'open' }); | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import re | |
def remove_uuid_from_filename(folder_path): | |
for root, dirs, files in os.walk(folder_path): | |
for filename in files: | |
file_path = os.path.join(root, filename) | |
new_filename = re.sub(r"(.*)_\w{32}(\.\w+)$", r"\1\2", filename) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, | |
b, u, i, center, | |
dl, dt, dd, ol, ul, li, | |
fieldset, form, label, legend, | |
table, caption, tbody, tfoot, thead, tr, th, td, | |
article, aside, canvas, details, embed, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
Krux('scrape', { | |
page_attr_utag_editoria: { 'js_global': 'utag_data.editoria' }, | |
page_attr_utag_page_type: { 'js_global': 'utag_data.tipo_pagina' }, | |
page_attr_utag_produto: { 'js_global': 'utag_data.produto' }, | |
page_attr_searchQuery: { 'js_global': 'busca.q' } | |
}); | |
})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
google-chrome --profile-directory="Default" --new-window --args "gmail.com" "ticktick.com" & | |
deezer & | |
flatpak run com.discordapp.Discord & | |
flatpak org.telegram.desktop & |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const preventMinus = (e) => { | |
if (e.code === 'Minus') { | |
e.preventDefault(); | |
} | |
}; | |
<input | |
type="number" | |
min="0" | |
onKeyPress={preventMinus} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo 'Good Morning Théo' | |
google-chrome --profile-directory="Default" --new-window --args "gmail.com" "ticktick.com" & | |
disown | |
google-chrome --profile-directory="Profile 1" --new-window --args "https://outlook.office.com/mail/" & | |
disown | |
google-chrome --profile-directory="Profile 4" --new-window --args "gmail.com" "my.kinsta.com" & | |
disown | |
flatpak run org.telegram.desktop & | |
disown |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
function loadZendeskChat(callback) { | |
var zdscript = document.createElement('script'); | |
zdscript.setAttribute('id','ze-snippet'); | |
zdscript.src = 'https://static.zdassets.com/ekr/snippet.js?key=XXX-XXX-XXX-XXX'; | |
(document.getElementsByTagName('body')[0]).appendChild(zdscript); | |
window.zdonload = setInterval(function(){ | |
if(typeof zE !== "undefined" && typeof zE.activate !== "undefined") { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//maps.googleapis.com | |
//maps.gstatic.com | |
//fonts.googleapis.com | |
//fonts.gstatic.com | |
//ajax.googleapis.com | |
//apis.google.com | |
//google-analytics.com | |
//www.google-analytics.com | |
//ssl.google-analytics.com | |
//youtube.com |
NewerOlder