首页 扩展程序 PDF Dark Theme

PDF Dark Theme

提供方: skylake112
3
无障碍 1,000+ 位用户

插件简介

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.

This extension is a fork of Buttar's extension (from above) except...

1. It's one file only

```js
let darkPdfDivStyles = `
pointer-events: none;
width: 100vw;
height: 100vh;
background-color: #bfbfbf;
mix-blend-mode: difference;
z-index: 1;
`;

let darkPdfDiv = document.createElement('div');
darkPdfDiv.setAttribute("style", darkPdfDivStyles);
document.body.appendChild(darkPdfDiv)
```

其他信息

ID dhhcfpbikhlkoicblakagcmfpnnkhkpl 版本 1.03 上次更新日期 2023年3月17日 大小 19.27KiB 语言 支持1 种语言 开发者

browser-extension@outlook.com

适用浏览器

谷歌浏览器、其他Chromium内核的浏览器

PDF Dark Theme Chrome插件下载

为打击盗链困扰,本站已启用人机验证
微信扫码关注左侧公众号,发送“插件”二字获得验证码,验证码5分钟全站有效