Skip to content

Instantly share code, notes, and snippets.

View vigneshrajarr's full-sized avatar

Vignesh Raja vigneshrajarr

  • Zoho Corporation Private Limited
  • Chennai, TamilNadu, India
View GitHub Profile
@stefnotch
stefnotch / YouTube Hide Controls.md
Created August 31, 2020 07:34
A simple bookmarklet to hide your YouTube controls

Hide YouTube Controls

A simple bookmarklet to hide your YouTube controls. Click on it to hide the controls, click on it again to show the controls again.

javascript:var s=document.getElementById("stylehidecontrols");if(s){s.remove();}else{s=document.createElement("style");s.id="stylehidecontrols";var r="#movie_player .ytp-gradient-top, #movie_player .ytp-gradient-bottom, #movie_player .ytp-chrome-top, #movie_player .ytp-chrome-bottom{display:none !important}";s.appendChild(document.createTextNode(r));document.body.appendChild(s);}void 0;

(The code is an adapted version of jscher2000's code on the Mozilla support site)

Setup

@zeroseis
zeroseis / disable-auto-android-file-transfer.md
Created September 14, 2015 17:28
Disable auto start for Android File Transfer
  • Close Android File Transfer
  • Open Activity Monitor and kill “Android File Transfer Agent”
  • Go to where you installed “Android File Transfer.app” (I have it under /Applications)
  • Ctrl+click –> “Show package contents”
  • Go to Contents/Resources
  • Rename “Android File Transfer Agent” to e.g. “Android File Transfer Agent_DISABLED”
  • Then go to “/Users/username/Library/Application Support/Google/Android File Transfer” and again rename the Agent app.