4 ms·
Sounds like a fantastic idea, especially if I can use it to save video and images from websites too. Unfortunately it doesn't work for me though -- I get "Unch
by dheera 6y ago
Sounds like a fantastic idea, especially if I can use it to save video and images from websites too.
Unfortunately it doesn't work for me though -- I get "Unchecked runtime.lastError: Native host has exited."
Output of install script:
```
$ ./install.sh chrome mnlmpigkagdnfjmicelbkejgfefcnlkp
+ [[ 2 -lt 1 ]]
+ [[ chrome == \f\i\r\e\f\o\x ]]
+ [[ chrome == \c\h\r\o\m\e ]]
+ [[ 2 -eq 2 ]]
+ [[ 32 -eq 32 ]]
++ uname -s
+ OS=Linux
++ echo chrome
++ tr '[:upper:]' '[:lower:]'
+ BROWSER=chrome
+ case "$OS $BROWSER" in
+ MANIFEST_LOCATION=/home/dheera/.config/google-chrome/NativeMessagingHosts
+ mkdir -p /home/dheera/.config/google-chrome/NativeMessagingHosts
+ APP_NAME=com.rsnous.tabfs
++ pwd
+ EXE_PATH=/home/dheera/code/clone/TabFS/fs/tabfs
+ case "$BROWSER" in
+ EXTENSION_ID=mnlmpigkagdnfjmicelbkejgfefcnlkp
++ cat
+ MANIFEST='{
"name": "com.rsnous.tabfs",
"description": "TabFS",
"path": "/home/dheera/code/clone/TabFS/fs/tabfs",
"type": "stdio",
"allowed_extensions": ["tabfs@rsnous.com"],
"allowed_origins": ["chrome-extension://mnlmpigkagdnfjmicelbkejgfefcnlkp/"]
}'
+ echo '{
"name": "com.rsnous.tabfs",
"description": "TabFS",
"path": "/home/dheera/code/clone/TabFS/fs/tabfs",
"type": "stdio",
"allowed_extensions": ["tabfs@rsnous.com"],
"allowed_origins": ["chrome-extension://mnlmpigkagdnfjmicelbkejgfefcnlkp/"]
}'
```
- rasz 6y ago>save video Problem with HTML5 video is you can use more than just a link to video file https://developer.mozilla.org/en-US/docs/Web/API/MediaSource https://developer.mozilla.org/en-US/docs/Web/API/MediaSource There are "certain" websites serving videos using BLOB object mediasource created dynamically from encrypted https sources. So far I had no luck trying to capture resulting video datastream, mediasource is a write and forget type of interface, and on top of that MediaRecorder/captureStream() is bugged and crashes so you cant even record lossy reencoded capture. https://stackoverflow.com/questions/50938089/how-to-download-or-get-as-a-blob-a-mediasource-used-for-streaming-html5-video https://stackoverflow.com/questions/50938089/how-to-download... I should probably experiment with shimming whole MediaSource api and capture data before its pumped into the read only void.
- why_only_15 6y agoAnother trick is to use mobile safari, because mobile safari only supports HLS, which is more easily downloadable.
- ianbicking 6y agoIt's running a script in the background to exfiltrate the info from the browser to the system, and that script has an error. I believe it's a script like /home/dheera/code/clone/TabFS/fs/tabfs* – if you look around in the browser some more you should find the stderr output of the script, which probably explains the error