PDF Dark Theme

Applies a dark theme to your PDF viewer

PDF Dark Themeคืออะไร?

PDF Dark Theme เป็นส่วนขยายของ Chrome ที่พัฒนาโดย skylake112 และคุณลักษณะหลักของมันคือ "Applies a dark theme to your PDF viewer"

ภาพหน้าจอของส่วนขยาย

screenshot
screenshot

ดาวน์โหลดไฟล์ CRX ของส่วนขยาย PDF Dark Theme

ดาวน์โหลดไฟล์ส่วนขยาย PDF Dark Theme ในรูปแบบ crx และติดตั้งส่วนขยาย Chrome ด้วยตนเองในเบราว์เซอร์หรือแชร์ไฟล์ crx กับเพื่อนๆ เพื่อติดตั้งส่วนขยาย Chrome อย่างง่ายดาย

คำแนะนำในการใช้ส่วนขยาย

                        ⚠️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)
```                    

ข้อมูลพื้นฐานของส่วนขยาย

ชื่อ PDF Dark Theme PDF Dark Theme
ID dhhcfpbikhlkoicblakagcmfpnnkhkpl
URL อย่างเป็นทางการ https://chromewebstore.google.com/detail/pdf-dark-theme/dhhcfpbikhlkoicblakagcmfpnnkhkpl
คำอธิบาย Applies a dark theme to your PDF viewer
ขนาดไฟล์ 19.27 KB
จำนวนการติดตั้ง 1,000
เวอร์ชันปัจจุบัน 1.03
อัปเดตครั้งล่าสุด 2023-03-17
วันที่เผยแพร่ 2022-06-15
คะแนน 3.00/5 รวมทั้งหมด 1 คะแนน
ผู้พัฒนา skylake112
อีเมล [email protected]
ประเภทการชำระเงิน free
เว็บไซต์ส่วนขยาย https://github.com/chris56974/pdf-dark-theme
ภาษาที่รองรับ en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 3,
    "name": "PDF Dark Theme",
    "description": "Applies a dark theme to your PDF viewer",
    "version": "1.03",
    "icons": {
        "16": "imgs\/dark16.png",
        "32": "imgs\/dark32.png",
        "48": "imgs\/dark48.png",
        "128": "imgs\/dark128.png"
    },
    "action": {
        "default_icon": {
            "16": "imgs\/dark16.png",
            "32": "imgs\/dark32.png",
            "48": "imgs\/dark48.png",
            "128": "imgs\/dark128.png"
        }
    },
    "content_scripts": [
        {
            "matches": [
                "file:\/\/*.pdf"
            ],
            "run_at": "document_idle",
            "js": [
                "content-script.js"
            ]
        }
    ],
    "host_permissions": [
        "file:\/\/*.pdf"
    ]
}