nguyenvanduocit / obsidian-open-gate

Empower your Obsidian notes with seamless web integration.
https://open-gate.aiocean.io
MIT License
177 stars 7 forks source link

Hello! Server resources of some Japanese websites, such as images and videos, cannot be parsed. . . #8

Closed zhouxinghong closed 1 year ago

zhouxinghong commented 1 year ago

Hello! This extension is well designed! πŸ‘πŸ˜œ However, server resources of some Japanese websites, such as images and videos, cannot be parsed. . . Hope that can improve it. . . Thanks! OS: Win10 Version: 1.2.21 OBS: 1.1.16

nguyenvanduocit commented 1 year ago

I just released new version, Can you upgrade it and see if the issue still happen? If it still, please show me you console log by:

  1. click on menu view > Toggle Developer Tools
  2. Copy anything you see, like this:

image

zhouxinghong commented 1 year ago

I just released new version, Can you upgrade it and see if the issue still happen? If it still, please show me you console log by:

  1. click on menu view > Toggle Developer Tools
  2. Copy anything you see, like this:

image

Hello! What this extension does is awesome! πŸ‘πŸ˜œ According to your tips, the previous problem no longer occurs after upgrading to the latest version. However, the slow speed of creating and opening website information may require further optimization of the code and improvement of website access performance. Thank you so much! πŸ‘βœŒ.

So I thought of an enhancement. It would be perfect if this extension could be paired with an effective ad blocking extension. 😜

zhouxinghong commented 1 year ago

Hello! Discovering a new problem, some Japanese websites can correctly open the website information in Chrome or Edge browser, but using this extension in obsidian can not be opened, but the following prompts can be displayed:

2023-03-10_195656

After many repeated experiments, the same Japanese website can correctly open the website information in Chrome or Edge browser. I hope you see which features are not perfect or unstable. Thank you very much! πŸ‘πŸ˜œ

nguyenvanduocit commented 1 year ago

In this case, did you try to set User Agent?

zhouxinghong commented 1 year ago

In this case, did you try to set User Agent?

Hello! I just visited the website in the system proxy mode set by the user. The strange thing is that I can successfully access the website information in Chrome or Edge browsers, but I cannot access it after creating a link through the open-gate extension in Obsidian Notes. Go to the website information and the website gives the above-mentioned response information at the same time.

nguyenvanduocit commented 1 year ago

The proxy you are using is install on browser(extension) or install on OS (like apps)

zhouxinghong commented 1 year ago

The proxy tool I use is installed on the operating system

nguyenvanduocit commented 1 year ago

Sorry for the issue, I still can not reproduce and I don't really know how Obsidian use proxy. I still trying

zhouxinghong commented 1 year ago

Thank you so much for your efforts! I'll keep an eye out for recurrences of this issue. πŸ‘πŸ˜œ

zhouxinghong commented 1 year ago

Hello! Found a problem that can be improved, the ideal performance is: add another shortcut key to display the list of already created websites, and display the list of already created websites by triggering this shortcut key. Ways to request to open the website:

  1. Allow users to use the mouse to select a website in the list, and then open the selected website by mouse click to request access.
  2. Allow the user to use the up and down shortcut keys to select a website in the list, and then press the Enter key to open the selected website to request access. A similar effect is as follows:

https://user-images.githubusercontent.com/54253524/228094448-2139a587-185c-4c15-84ff-f911d5af74ea.mp4

The advantage of combining the above two operation methods is that there is no need to set a corresponding shortcut key for each created website, you only need to simply use the mouse to select or the up and down keys to select the website and you can directly access the website😜

Windows 10 The latest version

nguyenvanduocit commented 1 year ago

Totally agree. I will ship it now

update: Shipped in the latest version, you can see it in the readme.

zhouxinghong commented 1 year ago

image

However, the style and height of the list should be optimized. Currently there is only one URL information, but the list seems too high. . . πŸ˜œπŸ‘

zhouxinghong commented 1 year ago

Ways to request to open the website:

  1. Allow the user to use the up and down shortcut keys to select a website in the list, and then press the Enter key to open the selected website to request access. The second mode of operation does not work. . .
nguyenvanduocit commented 1 year ago

Not implement yet, :D

nguyenvanduocit commented 1 year ago

Btw, I gonna close this issue. Please use discussions: https://github.com/nguyenvanduocit/obsidian-open-gate/discussions