The script opens the link of a webpage in the form of the simplified Chrome app (without the url bar, bookmark and tabs) in a new windows. If you use a youtube link, it would use the _popup in the link to remove all distraction from the page (suggested videos, comments etc) and resized to fit the video. Just make sur the path to your chrome is the same as mine. To check just do ps -ax and if you have any chrome application running, the path will show.
# usage in linux command line: schrome https://www.youtube.com/watch?v=cU_m1OjeJ48 #!/bin/bash if [[ $1 == *"youtube.com/watch"* ]] then url=`echo $1 | sed -e 's/watch/watch_popup/g'`; else url=$1; fi echo $url; /opt/google/chrome/chrome --new-window --app=$url