This file contains 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
vk.com##DIV[id="ads_left"] | |
music.yandex.ua##SPAN[class="no-ads link link_major "] | |
widgets.binotel.com$script | |
widget.siteheart.com$script | |
mc.yandex.ru/metrika/watch.js$script | |
www.google-analytics.com/analytics.js$script | |
an.yandex.ru | |
code.jivosite.com$script | |
call.chatra.io$script | |
push.world$script |
This file contains 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
//find all words after ~ charachter | |
// 'getByPath(~Assigned) + ma~Ass)' => ['Assigned', 'Ass'] | |
'getByPath(~Assigned) + ma~Ass)'.match(/~[a-z,A-Z]{0,}/g).map(el => el.substring(1)); |
This file contains 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
git config credential.helper store | |
git config --global alias.st status | |
# if fatal: terminal prompts disabled | |
export GIT_TERMINAL_PROMPT=1 |
This file contains 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 createHeaders = ({ | |
json = true, | |
...rest | |
}) => { | |
const headers = new Headers() | |
if (json) { | |
headers.append('Content-type', 'application/json') | |
} | |
Object.keys(rest).forEach(key => { | |
headers.append(key, rest[key]) |
This file contains 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 strip(html){ | |
var doc = new DOMParser().parseFromString(html, 'text/html'); | |
return doc.body.textContent || ""; | |
} |
This file contains 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
{ | |
"env": { | |
"browser": true, | |
"es2021": true | |
}, | |
"extends": [ | |
"eslint:recommended", | |
"plugin:react/recommended" | |
], | |
"parserOptions": { |