Skip to content

Instantly share code, notes, and snippets.

@jsEveryDay
jsEveryDay / userAsset.js
Created January 11, 2023 16:15
userAsset
argTest.js text/javascript
document.addEventListener('DOMContentLoaded',function(){alert('{{1}}'),console.warn('{{1}}')});
///contextMenuMovies.js
const cssSelector='{{1}}';const Q={MovieName:()=>{return self},checkStr:(val)=>{return typeof val==='string' && val.length>0},inLineOnClick:(domID)=>{try{Q[domID]()}catch(err){Q.err(err)}finally{Q.l('Success')}},getMovieName(movieString){const baseName=movieString.trim().replace(/\.(avi|mkv|mpeg|mpg|mov|mp4|m4v)$/i,'');let movie=baseName.match(/(.*?)(directors(.?)cut|480p|720p|1080p|dvdrip|xvid|cd[0-9]|bluray|dvdscr|brrip|divx|S[0-9]{1,3}E[0-9]{1,3}|Season[\s,0-9]{1,4}|[\{\(\[]?[0-9]{4}).*/i);if (movie && movie[1]){movie=movie[1].replace(/\./g,' ').trim()}else{movie=baseName}movie=movie.substring(movie.indexOf('-') + 1);return movie},findDownloads:()=>{const name=Q.MovieName.replace(' ','+');const url=`http://scene-rls.net/?s=${name}&submit=Find`;window.open(url,'_blank')},youTubeSearch:()=>{const name=Q.MovieName.replace(' ','+');const url=`https://www.youtube.co
youtubeChannelUploads.js application/javascript
setTimeout(()=>{const e=document.querySelector("ytd-guide-section-renderer.ytd-guide-renderer.style-scope:nth-of-type(2)");e.firstElementChild.firstElementChild.setAttribute("style","color:aqua; text-align: center;"),e.lastElementChild.addEventListener("click",e=>{"IMG"==e.target.nodeName&&(location.href=e.target.parentNode.parentNode.parentNode.href+"/videos?view=0&sort=dd&shelf_id=1",e.preventDefault(),e.stopImmediatePropagation())},!1)},2500);
argTest.js application/javascript
document.addEventListener('DOMContentLoaded',function(){alert('{{1}}'),console.warn('{{1}}')});
arrowNextPage.js application/javascript
!function(){const o=o=>{const t=document.location.href;let e=t.split('/'),n=parseFloat(e[e.length-2]);(o=>!isNaN(parseFloat(o))&&isFinite(o))(n)?(o?++n:--n,e.splice(-2,1,n.toString()),location.href=e.join('/')):location.href=t+'page/2/'};window.onkeydown=function(t){switch(t.key){case'ArrowRight':o(!0);break;case'ArrowLeft':o(!1)}}}();
contextMenuMov
@jsEveryDay
jsEveryDay / hackerNews
Created August 26, 2021 20:52
HackerNews Dark
news.ycombinator.com##+js(addAttribute, td.title > a.storylink, target, _blank)
news.ycombinator.com##+js(addAttribute, td.title > a.storylink, rel, noopener noreferrer)
news.ycombinator.com##body:style( background-color: black !important;)
news.ycombinator.com##body > center > table:style( background-color: #202020 !important;)
news.ycombinator.com##p,span,a:link:style( color: #cccccc !important;)
news.ycombinator.com##td.title > a:link:style(font-size: 12pt !important;)
news.ycombinator.com##a:visited:style( color: #4a4a4a !important;)
news.ycombinator.com##tr.spacer:style(height:1em !important)
news.ycombinator.com##body > center > table > tbody > tr > td[bgcolor='#ff6600']:style( background-color: #131212 !important;)
@jsEveryDay
jsEveryDay / securityaffairs
Created November 20, 2020 23:11
SecurityAffairs Dark - Adblock
securityaffairs.co##body:style( color: #cacaca !important;)
securityaffairs.co##h1,h2,h3,h4:style( color: #E0E0E0 !important;)
securityaffairs.co##a:style( color: #dfe3ff !important;)
securityaffairs.co###wrapper:style( background: #202020 !important;)
securityaffairs.co##.sidebar
securityaffairs.co###top_bar
securityaffairs.co###header_bg
securityaffairs.co##.menu-secondary-menu-container
securityaffairs.co###post_more_wrapper
@jsEveryDay
jsEveryDay / softpedia
Created November 20, 2020 23:10
Softpedia Dark - Adblock
news.softpedia.com##div.mgbot_40.posrel.home.nhotbox.grid_48
news.softpedia.com##div.mgbot_40.hotrev2.grid_31
news.softpedia.com##.fl.mgtop_10.fsz26.nomgbot
news.softpedia.com##i
news.softpedia.com##.fa
news.softpedia.com###loaderbtn
news.softpedia.com##h2
news.softpedia.com##iframe
news.softpedia.com##div.footer
news.softpedia.com##div#unveil_me
@jsEveryDay
jsEveryDay / edgadget
Last active August 26, 2021 20:47
Engadget Dark - Adblock
www.engadget.com##header
www.engadget.com##nav
www.engadget.com##iframe
www.engadget.com##script
www.engadget.com##div.i-native-ad-container
www.engadget.com##div.hide
www.engadget.com##main div > div > div > div > div:has(form[action="/a/mail_subscribe"])
www.engadget.com##svg
www.engadget.com##form
www.engadget.com##.bg-gray-11\@tl\+.border-bottom\@tp-.relative
@jsEveryDay
jsEveryDay / chrome.log
Created December 22, 2019 21:04
Chrome Setup Log
C:\Users\User\Desktop\ChromeStandaloneSetup64.exe"
C:\Users\User\AppData\Local\Temp\GUMDAE5.tmp\GoogleUpdate.exe /installsource taggedmi /install "appguid={8A69D345-D564-463C-AFF1-A69D9E530F96}&iid={228DEFAF-7CA2-0C75-899E-A625CF3D657B}&lang=en&browser=4&usagestats=0&appname=Google%20Chrome&needsadmin=prefers&ap=x64-stable-statsdef_1&installdataindex=empty
C:\Users\User\AppData\Local\Google\Update\GoogleUpdate.exe" /regserver
C:\Users\User\AppData\Local\Google\Update\1.3.35.341\GoogleUpdateComRegisterShell64.exe" /user
C:\Users\User\AppData\Local\Google\Update\GoogleUpdate.exe" /ping PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48cmVxdWVzdCBwcm90b2NvbD0iMy4wIiB1cGRhdGVyPSJPbWFoYSIgdXBkYXRlcnZlcnNpb249IjEuMy4zNS4zNDEiIHNoZWxsX3ZlcnNpb249IjEuMy4zNS4zNDEiIGlzbWFjaGluZT0iMCIgc2Vzc2lvbmlkPSJ7M0ZDNTM5ODUtQjFDMy00OTJDLTg1NEQtNkVFMzY1NTEzRTVEfSIgaW5zdGFsbHNvdXJjZT0idGFnZ2VkbWkiIHJlcXVlc3RpZD0iezhGMDFBQ0ZFLUQ5NkYtNDAzMC04NUQ5LTFFOUVCN0IzRkI0NH0iIGRlZHVwPSJjciIgZG9tYWluam9pbmVkPSIwIj48aHcgcGh5c21lbW9yeT0iMTIiIHN
@jsEveryDay
jsEveryDay / cookieConsole.js
Created November 20, 2019 03:44
Chrome Cookie Getter Setter
var cookieGetter = document.__lookupGetter__("cookie").bind(document)
var cookieSetter = document.__lookupSetter__("cookie").bind(document)
cookieGetter()
cookieSetter("A=1")
cookieGetter()
@jsEveryDay
jsEveryDay / cookiescsv.js
Last active November 18, 2020 15:11
Chrome Cookies to CSV
var savefile = (function() {
var a = document.createElement('a');
document.body.appendChild(a);
a.style = 'display: none';
return function(data, name) {
var blob = new Blob(data, { type: 'text/plain;charset=utf-8' }),
url = window.URL.createObjectURL(blob);
a.href = url;
a.download = name;
a.click();
@jsEveryDay
jsEveryDay / synaptics3rdGen.reg
Created November 5, 2019 07:53
for the X1 6th gen sufferers
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Synaptics]
[HKEY_CURRENT_USER\SOFTWARE\Synaptics\SynTP]
"MouseSpeedLevel"=dword:0000000a
"EmulateMouseButtonSwap"=dword:00000000
"PS2DeviceTypeMap"=dword:00000000
"DisableTouchPadIfMousePresent"=dword:00000000
"DeviceHIDMiniPTPMode"=dword:00000000