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

Show View Source if and only if source exists #70

Open
Bloody-Badboy opened this issue Nov 20, 2018 · 1 comment
Open

Show View Source if and only if source exists #70

Bloody-Badboy opened this issue Nov 20, 2018 · 1 comment

Comments

@Bloody-Badboy
Copy link

It will be better to show the View Source if and only if the source file exists, it can send a HEAD request to verify if the file exists. There are lots of file URLs that return the 404 error.

@danialgoodwin
Copy link

Rather than it being completely gone, how about showing 'No source found' instead. That way, at least we know the extension is working still

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

No branches or pull requests

2 participants