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

How to disable replacement of default chrome pdf viewer? #366

Closed
melihovv opened this issue Jun 2, 2017 · 10 comments
Closed

How to disable replacement of default chrome pdf viewer? #366

melihovv opened this issue Jun 2, 2017 · 10 comments

Comments

@melihovv
Copy link

melihovv commented Jun 2, 2017

No description provided.

@maximbaz
Copy link
Contributor

maximbaz commented Jun 2, 2017

Press ;s. Not sure if this is a permanent toggle though.

@brookhong
Copy link
Owner

Yes, it is a permanent toggle.

Your setting will be persisted in to storage.

@benjamin-thomas
Copy link

Could you please recommend another way to disable the pdf viewer?

This keyboard shortcut does not work with my current setup.

Thanks

@erszcz
Copy link

erszcz commented Apr 3, 2022

I'd also like to know how to permanently disable the PDF viewer from Surfingkeys config. ;s does not seem to be persistent.

The viewer built into Surfingkeys doesn't have an option to save the opened PDF, which is handy in Chrome's built-in viewer.

@b0o
Copy link
Collaborator

b0o commented Apr 3, 2022

To make sure it’s always disabled, I believe you can add the following line to your config:

chrome.storage.local.set({"noPdfViewer": 1})

I haven’t tested this, though.

@benjamin-thomas
Copy link

For what it’s worth, I managed to fix my problem by uninstalling then reinstalling the plugin. I guess some auto update caused some kind of corruption and behavior change. Maybe something to try out?

@erszcz
Copy link

erszcz commented Apr 3, 2022

@b0o This works, indeed! Thank you 🙏

@Archie-2021
Copy link

Yes, it is a permanent toggle.

Your setting will be persisted in to storage.

How can I reenable it?

@pablospe
Copy link

@b0o Is this still valid?

chrome.storage.local.set({"noPdfViewer": 1})

I get the following error: "[SurfingKeys] Error found in settings: TypeError: Cannot read properties of undefined (reading 'local')"

@pablospe
Copy link

pablospe commented Dec 19, 2024

Related issue: #2159

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

8 participants