Giter VIP home page Giter VIP logo

Comments (6)

HuaHuaY avatar HuaHuaY commented on September 13, 2024 1

我从AUR上下载了Chrome,没有这个问题。说明这可能是个Linux + Edge的问题。

划词翻译版本:10.8.1
浏览器版本:Google Chrome 125.0.6422.141
操作系统:Linux 6.9.3-arch1-1

from crx-selection-translate.

lmk123 avatar lmk123 commented on September 13, 2024

在 macOS 上分别使用 Edge 和 Chrome 试了一下,均没有重现,一会儿我试试 Windows。

我猜测这是一个只会在 Linux 上出现的问题 😂

image

from crx-selection-translate.

HuaHuaY avatar HuaHuaY commented on September 13, 2024

之前是ArchLinux+AUR上的Edge,今天换了一台Ubuntu+微软源的Edge,也有这个问题。之前用10.7版本也有这个问题,才尝试升级的10.8.1。

划词翻译版本:10.8.1
浏览器版本:Microsoft Edge 125.0.2535.67
操作系统:6.5.0-35-generic 35~22.04.1-Ubuntu

from crx-selection-translate.

lmk123 avatar lmk123 commented on September 13, 2024

我在 Windows 上分别试了 Chrome 和 Edge,也没有这个问题。

方便截图一下你在 Linux + Edge 里打开 pdf 时的开发者工具里的源码吗,就像下图这样,可以看到 pdf 文件的地址的那种,如果能找到特征的话,我就可以尝试适配一下

image

from crx-selection-translate.

HuaHuaY avatar HuaHuaY commented on September 13, 2024

找到问题的原因了,在截图的过程中突然意识到,我在Chrome上只装了划词翻译,那也可能是有其他插件的影响。

定位到把两个油猴脚本网页限制解除(改)视频网页全屏关闭后,检测pdf的url就正常了。开启任意一个,都会变成检测到about:blank。

2024-06-11_11-48-20

我把*pdf*加到油猴脚本的排除规则后,这两个脚本在pdf页面不启用,检测url也正常了。

from crx-selection-translate.

lmk123 avatar lmk123 commented on September 13, 2024

感谢解惑,原来是受其它脚本影响了,这个案例我会写进文档里

from crx-selection-translate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.