试图将文本翻译成图片

发布于 2025-02-11 00:50:18 字数 370 浏览 0 评论 0原文

我尝试运行一个浏览器扩展程序,该扩展程序将页面上的文本转换为图片,并在Google上搜索。

我只使用JavaScript,并且能够在HTML页面中搜索内部文字,但是我在下一步中挣扎。我如何使用页面上的已知文本在Google/Images上搜索它,然后搜索后,如何使用网页上的图片? 我希望该页面像这样,但是使用搜索的图片,请使用网格

如果您知道一个完整的想法,那么如何做所有事情,请告诉我。如果您知道某种附加组件或STH使其变得更容易或更好,请告诉我。我试图在这个项目中采用您的想法!

谢谢您的帮助。

I try to run a browser extension, which translates the text on a page into pictures, searched on google.

I only use javascript and was able to search for the inner text in the html page, but I struggle with the next step. How can I use the known text on the page to search for it on google/images and after searching, how can I use the pictures on the webpage? I want the page to be like this, but with the searched pictures, should be easy with a grid

If you know a complete idea, how to do everything, just let me know. If you know some kind of add-ons or sth to make it easier or better, just let me know. I try to adopt your ideas in this project!

Thank you for helping me.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文