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

Extention stoped working in Chrome version 60 #17

Closed
broerse opened this issue Aug 1, 2017 · 16 comments
Closed

Extention stoped working in Chrome version 60 #17

broerse opened this issue Aug 1, 2017 · 16 comments

Comments

@broerse
Copy link

broerse commented Aug 1, 2017

Hi this extension stopped working on Windows after I updated Chrome from version 59 to 60. It only shows a spinner and not the database.

@jkeczan
Copy link

jkeczan commented Aug 1, 2017

Same issue for me

@onearmfrog
Copy link

Same for me :(

@jancona
Copy link

jancona commented Aug 11, 2017

I'm also seeing this. In Chrome 59 I was seeing this message:

[Deprecation] indexedDB.webkitGetDatabaseNames() is deprecated and will be removed in M60, around August 2017. See https://www.chromestatus.com/features/5725741740195840 for more details.

See also pouchdb/pouchdb#6469

@marten-de-vries
Copy link
Member

That's probably for the best; Fauxton is useless if you cannot choose which database to inspect.

If anyone wants to pursue making a similar extension, my recommendation would be not to hack Fauxton into Fauxton's http request handling like this extension did any further, but to write a dedicated interface instead. Part of it would be asking the user which database to inspect (by tying the name).

I'm not planning on doing that myself for now.

@broerse
Copy link
Author

broerse commented Aug 12, 2017

@marten-de-vries It seems we have to wait for this but it could take years. Perhaps remove the extension from chrome until this is fixed. Many thanks for your work on this extension!

@marten-de-vries
Copy link
Member

@broerse Right, just unpublished the extension.

@broerse
Copy link
Author

broerse commented Aug 12, 2017

@marten-de-vries it should sayUnmaintained: see issue #17 not #16

@marten-de-vries
Copy link
Member

Thanks! Updated.

@shennan
Copy link

shennan commented Dec 3, 2017

For now we should remove this part of the PouchDB Guid:

screen shot 2017-12-03 at 11 37 20

https://pouchdb.com/guides/databases.html#debugging

I have opened an issue here

daleharvey pushed a commit to pouchdb/pouchdb that referenced this issue Dec 3, 2017
* (#6908) Remove references to PouchDB Inspector

The Google Chrome Extension PouchDB Inspector is no longer active. References to it in the docs should be removed. See [these](#6908) [issues](pouchdb/pouchdb-fauxton-chrome-extension#17).

* Delete pouchdb_inspector.png
@Ravenstine
Copy link

I made a change to pouchdb-fauxton-logic that allows the extension to continue working in the latest versions of Chrome. It gets the list of databases from the pouch__all_dbs__ database through PouchDB rather than from the deprecated webkit IndexedDB function. I don't know what the downsides to doing this are, though I suspect this means some kinds of databases might not show up. For my own purposes, I don't care so long as I can create/read/update/delete records in the database my application creates.

If you want to try it yourself, just build the extension with my fork of pouchdb-fauxton-logic:
https://github.com/ravenstine/pouchdb-fauxton-logic

@marten-de-vries
Copy link
Member

@Ravenstine I did not originally do that because it requires the pouchdb-all-dbs plugin to be active whenever a database is created/removed. Nice workaround, though.

@bean5
Copy link

bean5 commented May 8, 2020

Right, just unpublished the extension.

@marten-de-vries

Main README says it is still says it is available. Dead link, of course. Sad.

@floer32
Copy link

floer32 commented Apr 9, 2021

for posterity: https://stackoverflow.com/a/46559775/884640

I know it's not the same thing, but if you use WebSQL or IndexedDB, You can use normal developer tools provided by Chrome, going to Application/Storage and then look at data in your DB. It is also explained in the official PouchDB documentation at https://pouchdb.com/guides/databases.html

@LifeIsStrange
Copy link

LifeIsStrange commented Nov 8, 2021

@broerse it did take years but IDBfactory.databases() is now widely supported 🚀
https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/databases
Can this extension be resurrected? :)

@LifeIsStrange
Copy link

LifeIsStrange commented Nov 10, 2021

I have made a pull request that should make the extension work again!
However, even with an old node and npm version I have dependencies issues which I don't know how to fix..
@jancona

There is a version of the extension online:
https://ma.rtendevri.es/fauxton/

I have no idea how to build the project, maybe that I don't have the exactly right node and npm version, if so what are them??

@LifeIsStrange
Copy link

LifeIsStrange commented Nov 10, 2021

Well I managed to make it works again!
image

@jancona @broerse @hangtwenty @bean5
@marten-de-vries @Ravenstine @daleharvey
@shennan @darkdadi @onearmfrog @jkeczan

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

10 participants