Skip to content

Commit

Permalink
Create this command to open up a new chrome instance with web securit…
Browse files Browse the repository at this point in the history
…y disabled (#811)

* Create this command to open up a new chrome instance with web security disabled.

* Change packageName and title

* Add chrome icon 64x64

* Update icon image.

---------

Co-authored-by: tahsin.yazkan <tahsin.yazkan@immfly.com>
  • Loading branch information
thsnyzkn and tahsin.yazkan authored Jan 31, 2023
1 parent 43bc0b1 commit 2777ca8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
Binary file added commands/browsing/images/chrome-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions commands/browsing/open-chrome-without-cors.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Open without CORS
# @raycast.mode compact

# Optional parameters:
# @raycast.icon images/chrome-icon.png
# @raycast.packageName Chrome
# @raycast.needsConfirmation false

# Documentation:
# @raycast.description Open chrome with web security option disabled.
# @raycast.author Tahsin Yazkan
# @raycast.authorURL https://github.com/thsnyzkn

open -n -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --user-data-dir="/tmp/chrome_dev_test" --disable-web-security

0 comments on commit 2777ca8

Please sign in to comment.