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

metager.org is not supported (Which search engines does it work with?) #127

Closed
DutchPete opened this issue Jul 8, 2023 · 9 comments
Closed
Assignees

Comments

@DutchPete
Copy link

I installed the Tampermonkey script, quit and relaunched Logseq.

But I don't get any results from my Logseq graph listed. My search engine is Metger.

@Endle
Copy link
Owner

Endle commented Jul 8, 2023

Do you mean https://metager.org/ ?

Currently this site is not in the list

// @match https://duckduckgo.com/?q=*

If you're interested, I can add the support to this site.

@DutchPete
Copy link
Author

DutchPete commented Jul 9, 2023

Yes, that is the search engine I mean.

I added it myself below line 8 as follows: // @match https://metager.org/?q=%s, which is what I have in my browser settings.
That did not work, so I replaced %s by *. Still no result.

I then noticed, in line 132 (was 131 before) there is debugStr: "tampermonkey",: I replaced tampermonkey with violentmonkey, which is the extension I use.
Still no result.

I do not mean you to change the script. Just tell me which amendments I need to make, so if ever I want to change my default search engine I can make the changes in the script myself.

@Endle
Copy link
Owner

Endle commented Jul 9, 2023

Thank you for your interest.

I added it myself below line 8 as follows: // @match https://metager.org/?q=%s, which is what I have in my browser settings. That did not work, so I replaced %s by *. Still no result.

The url structrue and DOM of metager is a bit different from Google. It seems that a bit more work is needed (just a bit)

I then noticed, in line 132 (was 131 before) there is debugStr: "tampermonkey",: I replaced tampermonkey with violentmonkey, which is the extension I use. Still no result.

I edited readme. Both tempermonkey and violentmonkey are supported.

I do not mean you to change the script. Just tell me which amendments I need to make, so if ever I want to change my default search engine I can make the changes in the script myself.

Please eel free to submit feature requests, including adding support to more search engines! I'm more than happy to implement them.

I'm also welcome to PRs. My current code is still a little messy, which is unfriendly to new contributors. It would take time for refactoring, and more open issues by various people would increase my motivation :)

TLDR, I'll let you know when I finish this issue

@Endle Endle self-assigned this Jul 9, 2023
@Endle Endle changed the title Which search engines does it work with? metager.org is not supported (Which search engines does it work with?) Jul 9, 2023
@Endle
Copy link
Owner

Endle commented Jul 9, 2023

@DutchPete
Copy link
Author

It still does not work.

I don't know if it makes a difference that I use macOS and a Chromium browser.

@Endle
Copy link
Owner

Endle commented Jul 10, 2023

macOS and Chromium are expected to work.

tampermonkey/violent monkey, which one you are using?

besides, have you upgraded to the newest server?

@DutchPete
Copy link
Author

Like I said, I use violentmonkey.
What do you mean by “the newest server”?

In any case, I clicked on the link in your previous reply, the one for the master branch, copied the code there, and replaced the old code in the violentmonkey script.

@Endle
Copy link
Owner

Endle commented Jul 10, 2023

What do you mean by “the newest server”?

Have you installed fireSeqSearch server?

I'm sorry that the readme file is a bit confusing. I updated it

@DutchPete
Copy link
Author

Ah, OK, no I have not installed the server, I had not understood that. In any case, the ReadMe is clear now. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants