Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create this command to open up a new chrome instance with web security disabled #811

Merged
merged 5 commits into from
Jan 31, 2023

Conversation

thsnyzkn
Copy link
Contributor

@thsnyzkn thsnyzkn commented Jan 24, 2023

Description

If you run your frontend project locally and backend restricts to use their api for security reasons, sometimes it is needed to run Chrome without CORS by disabling web security. This command simply helps developers create new instance of Chrome with specified flags.

Type of change

  • New script command

Screenshot

chrome-no-cors

Dependencies / Requirements

Checklist

Copy link
Member

@dehesa dehesa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @thsnyzkn,

Thanks for the contribution, it looks great. I am just suggesting that you change the title title and package name, because they will appear repeated in the RootSearch.

In Raycast, elements in the RootSearch are displayed as: Icon > Title > Package Name.

commands/browsing/open-chrome-without-cors.sh Outdated Show resolved Hide resolved
commands/browsing/open-chrome-without-cors.sh Outdated Show resolved Hide resolved
commands/browsing/open-chrome-without-cors.sh Outdated Show resolved Hide resolved
@thsnyzkn
Copy link
Contributor Author

Hey @dehesa,
Thank you for reviewing and getting back. I added requested changes. Could you please check them, when you have time?

@dehesa
Copy link
Member

dehesa commented Jan 31, 2023

Looks good! Thank you @thsnyzkn

@dehesa dehesa merged commit 2777ca8 into raycast:master Jan 31, 2023
@thsnyzkn thsnyzkn deleted the new-command-chrome-no-cors branch January 31, 2023 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants