chrome-scripts download
This alfred3 workflow allows:
- Inject local js/css files into chrome active tab
- Search/Switch between all tabs
Use the ;x
keyword.
mkdir -p ~/Documents/alfred/snippets && cd -
echo "console.log('hello world')" > hello.js
- files are located in
~/Documents/alfred/snippets
by default, you can change that in workflow preferences. - return value of js will be copied into clipboard, so that you can crawl data from web pages
Use the ;t
keyword.
You can inject multiple files into a page using alfred file buffer.
Say, your github-purplish.js requires jquery:
$("body").css("color", "");
You can do :