-
Notifications
You must be signed in to change notification settings - Fork 9
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
Support for mobile #10
Comments
Hey, thanks for the suggestion and the nice mockup! Unfortunately I have no experience with developing and debugging browser extensions for mobile browsers, so don't expect to see this any time soon. Or are you offering to implement this via PR?
Did you try out the extension in a mobile browser? If so, which one did you use? |
Firefox Nightly, which has an option for untested extensions.
Totally OK, I don't have a ton of time either I just wanted to check if it's something you've tried yet, and if you'd accept a PR (?). When I get some free time I'll try to put this together. I suspect it's not appearing because mobile Google/DDG is missing the sidebar element |
definitely. If you do decide to work on it I'd greatly appreciate some testing/debugging instructions, since like I said I don't have experience with this and would have to maintain this in the future.
That would be my first guess as well. The content script locates the sidebar element via linkding-injector/src/searchInjection.js Lines 156 to 172 in b3d55b4
So if you can debug on mobile firefox you could try to search in the source code for a div with id "rhs" on google to see if the injection works at all. |
You can now install the extension on regular Firefox for Android as well, using a (clunky) workaround:
Unfortunately, injector results will only be shown if you also access the search pages in desktop mode, as the sidebar is hidden in the mobile view. Maybe I can add a different injection method for mobile views (injecting into the regular results area), but it won't happen anytime soon. Pull requests are welcome however, as always. |
Thanks for the neat extension :)
Linkding's support on mobile is very limited right now. Regardless, this would be a great extension to also use on mobile devices. Right now the injector doesn't seem to appear?
I did a rough mockup of what this could look like:
The text was updated successfully, but these errors were encountered: