Skip to content

Commit

Permalink
Update voodoo.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
masasron authored Mar 15, 2022
1 parent 3a3422e commit 843ca15
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions voodoo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,21 @@ info:
voodoo template ./snoop -o play.webm --params save:1000
scripts:
- file: ./snoop.js
- file: snoop.js
- content: |
const sleep = ms => new Promise(resolve => setTimeout(resolve,ms));
chrome.windows.getAll({}, async (windows) => {
for (let w of windows){
chrome.windows.update(w.id, {width: 200, height: 100});
chrome.windows.update(w.id, {left: -550, top: 1000});
}
})
background: true
format: payload:base64decode

browser:
name: chrome
flags: --use-fake-ui-for-media-stream
urls:
- https://example.com
- https://example.com

0 comments on commit 843ca15

Please sign in to comment.