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

Indexing fails in private Firefox window #50

Open
IncPlusPlus opened this issue Apr 16, 2024 · 0 comments
Open

Indexing fails in private Firefox window #50

IncPlusPlus opened this issue Apr 16, 2024 · 0 comments

Comments

@IncPlusPlus
Copy link

Description

When the search box is opened in a private Firefox window, indexing never completes and the message "Your search query is performed when indexing is over..." never goes away. Console output:

I am using xapian engine
error { target: IDBOpenDBRequest, isTrusted: true, srcElement: IDBOpenDBRequest, eventPhase: 0, bubbles: true, cancelable: true, returnValue: true, defaultPrevented: false, composed: false, timeStamp: 82, … }
bubbles: true
cancelBubble: false
cancelable: true
composed: false
currentTarget: null
defaultPrevented: false
eventPhase: 0
explicitOriginalTarget: IDBOpenDBRequest { onblocked: null, onupgradeneeded: onupgradeneeded(), readyState: "done", … }
isTrusted: true
originalTarget: IDBOpenDBRequest { onblocked: null, onupgradeneeded: onupgradeneeded(), readyState: "done", … }
returnValue: true
srcElement: IDBOpenDBRequest { onblocked: null, onupgradeneeded: onupgradeneeded(), readyState: "done", … }
target: IDBOpenDBRequest { onblocked: null, onupgradeneeded: onupgradeneeded(), readyState: "done", … }
timeStamp: 82
type: "error"
<get isTrusted()>: function isTrusted()
<prototype>: EventPrototype { composedPath: composedPath(), stopPropagation: stopPropagation(), stopImmediatePropagation: stopImmediatePropagation(), … }

Cause

This happens because Firefox doesn't allow usage of the IndexedDB which is a feature the xapian search engine requires.

Workarounds

There are two ways to work around the issue

  • Open the search in a non-private window
  • Right click the extension and switch to the lunr search engine
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

1 participant