Skip to content
View gvenk's full-sized avatar

Highlights

  • Pro

Block or report gvenk

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Convert all youtube urls on a webpag... Convert all youtube urls on a webpage to youtube-nocookie.com urls
    1
    javascript:void%20function()%7Bconst%20allUrls%3Ddocument.querySelectorAll(%22a%22)%3BallUrls.forEach(e%3D%3E%7Bif(e.href.includes(%22youtube.com%22))%7Bconst%20o%3Dnew%20URL(e.href)%2Cc%3Do.searchParams.get(%22v%22)%3Bif(c)return%20void(e.href%3D%60https%3A%2F%2Fwww.youtube-nocookie.com%2Fembed%2F%24%7Bc%7D%60)%3Bconst%20r%3Do.pathname%3Bif(r.startsWith(%22%2Fshorts%2F%22))return%20void(e.href%3D%60https%3A%2F%2Fwww.youtube-nocookie.com%2Fembed%2F%24%7Br.slice(8)%7D%60)%7Delse%20e.href.includes(%22youtu.be%22)%26%26(e.href%3De.href.replace(%22%2F%2Fyoutu.be%2F%22%2C%22%2F%2Fwww.youtube-nocookie.com%2Fembed%2F%22))%7D)%3Bconst%20allEmbedUrls%3Ddocument.querySelectorAll(%22iframe%22)%3BallEmbedUrls.forEach(e%3D%3E%7Be.src.includes(%22%2F%2Fwww.youtube.com%22)%3Fe.src%3De.src.replace(%22%2F%2Fwww.youtube.com%2F%22%2C%22%2F%2Fwww.youtube-nocookie.com%2F%22)%3Ae.src.includes(%22%2F%2Fyoutube.com%22)%26%26(e.src%3De.src.replace(%22%2F%2Fyoutube.com%2F%22%2C%22%2F%2Fwww.youtube-nocookie.com%2F%22))%7D)%3B%7D()%3B
  2. Asks users for a youtube url and ope... Asks users for a youtube url and open it on youtube-nocookie.com (it uses an overlay on the current page to display the video)
    1
    javascript:void%20function()%7Bconst%20url%3Dwindow.prompt(%22Welke%20youtube%20video%20wil%20je%20bekijken%3F%20(De%20video%20opent%20op%20deze%20pagina)%22)%3Bif(url)try%7Bconst%20e%3Dnew%20URL(url)%2Ct%3De.searchParams.get(%22v%22)%7C%7C(e.pathname.startsWith(%22%2Fshorts%2F%22)%3Fe.pathname.slice(8)%3Anull)%7C%7C(%22youtu.be%22%3D%3D%3De.hostname%3Fe.pathname.slice(1)%3Anull)%3Bif(t)%7Bconst%20e%3Ddocument.createElement(%22div%22)%3Be.style.cssText%3D%22position%3Afixed%3Binset%3A0%3Bz-index%3A999999%3Bbackground%3Argba(0%2C0%2C0%2C0.85)%3Bdisplay%3Aflex%3Balign-items%3Acenter%3Bjustify-content%3Acenter%22%2Ce.addEventListener(%22click%22%2Ct%3D%3E%7Bt.target%3D%3D%3De%26%26e.remove()%7D)%3Bconst%20n%3Ddocument.createElement(%22button%22)%3Bn.textContent%3D%22%E2%9C%95%22%2Cn.style.cssText%3D%22position%3Aabsolute%3Btop%3A10px%3Bright%3A10px%3Bz-index%3A1%3Bbackground%3Argba(0%2C0%2C0%2C0.7)%3Bcolor%3A%23fff%3Bborder%3Anone%3Bfont-size%3A1.5rem%3Bpadding%3A4px%2010px%3Bcursor%3Apointer%3Bborder-radius%3A4px%22%2Cn.addEventListener(%22click%22%2C()%3D%3Ee.remove())%3Bconst%20o%3Ddocument.createElement(%22iframe%22)%3Bo.src%3D%60https%3A%2F%2Fwww.youtube-nocookie.com%2Fembed%2F%24%7Bt%7D%60%2Co.style.cssText%3D%22width%3A90%25%3Bheight%3A90%25%3Bborder%3A0%22%2Co.allow%3D%22accelerometer%3Bautoplay%3Bclipboard-write%3Bencrypted-media%3Bgyroscope%3Bpicture-in-picture%22%2Co.allowFullscreen%3D!0%2Ce.appendChild(n)%2Ce.appendChild(o)%2Cdocument.body.appendChild(e)%7Delse%20alert(%22Geen%20YouTube-link%20herkend.%22)%7Dcatch%7Balert(%22Geen%20geldige%20URL%3A%20%22%2Burl)%7D%7D()%3B
  3. spotify-skills spotify-skills Public

    Six agent skills for the Spotify desktop app: text to playlist, radio-show DJ, playlist Venn diagrams, change tracking, birthday #1s and on-this-day lists.

    Python 1