Plugin Icon

PDF Dark Theme Chrome 插件, crx 扩展下载

Plugin Screenshot
Plugin Screenshot
                    

Applies a dark theme to your PDF viewer

⚠️IMPORTANT⚠️: This extension won't work until you give it permission to access file URLs. You can do so by heading to your browser's extension page and enabling file access there. ⚠️IMPORTANT⚠️: This extension will only work on PDFs that you have installed locally on your computer. If you want it to work on PDFs you find online as well i.e. http://www.africau.edu/images/default/sample.pdf, I recommend you use Arshpreet Buttar's DarkPDF extension instead @ https://chrome.google.com/webstore/detail/darkpdf/cfemcmeknmapecneeeaajnbhhgfgkfhp?hl=en. ⚠️IMPORTANT⚠️: Your PDF viewer should be set to light theme for this extension to work. If you try to open up a light PDF document in a dark PDF viewer, this extension is going to invert the colors for both of them. Leaving you with a dark PDF document and a light PDF viewer. You need to have both of a light PDF document and a light PDF viewer for the desired results. EDIT: As pointed out in the reviews, you can't change the theme for chrome's default PDF viewer without changing the theme of your browser (as of May 2024 at least). I use the Vimium C PDF Viewer chrome extension instead, which gives me a different PDF viewer that can have a theme independent of the browser. Put chrome in dark theme, put vimium C pdf viewer in light theme, and it should work out. You can find that extension here. https://chromewebstore.google.com/detail/pdf-viewer-for-vimium-c/nacjakoppgmdcpemlfnfegmlhipddanj https://chromewebstore.google.com/detail/vimium-c-all-by-keyboard/hfjbmagddngcpeloejdejnfgbamkjaeg This extension is a fork of Buttar's extension (from above) except it's one file only. ```js let darkPdfDivStyles = ` pointer-events: none; width: 100vw; height: 100vh; background-color: #e6e6e6; mix-blend-mode: difference; z-index: 1; `; let darkPdfDiv = document.createElement('div'); darkPdfDiv.setAttribute("style", darkPdfDivStyles); document.body.appendChild(darkPdfDiv) ``` EDIT: I ended up switching to Buttar's extension myself, but in case people still want this one I'll leave it up. If anyone wants to use my logo, it's public domain no attribution required (no warranty). Code is GPLv3. https://github.com/chris-straka/pdf-dark-theme

分类 ♿无障碍访问
插件标识 dhhcfpbikhlkoicblakagcmfpnnkhkpl
平台 Chrome
评分
★★★★☆ 4.70
评分人数 388
插件主页 https://chromewebstore.google.com/detail/pdf-dark-theme/dhhcfpbikhlkoicblakagcmfpnnkhkpl
大小 20.15KiB
官网下载次数 5000
下载地址

CRX扩展文件安装方法

第1步: 打开Chrome浏览器的扩展程序

第2步: 在地址栏输入: chrome://extensions/

第3步: 开启右上角的【开发者模式】

第4步: 重启Chrome浏览器 (重要操作)

第5步: 重新打开扩展程序管理界面

第6步: 将下载的crx文件直接拖入页面完成安装

注意:请确保使用最新版本的Chrome浏览器

同类插件推荐