---
title: "WT PDF.js for Joomla: asset reference - WebTolk websites development, Joomla Extensions"
description: "All assets, which are JavaScript files registered with Joomla, have type script and type=\"module\" . Except for the CDN URL, paths are relative to…"
url: "https://web-tolk.ru/en/dev/joomla-plugins/wt-pdf-js/documentation/asset-reference"
date: "2026-10-09T19:20:54+00:00"
language: "en-GB"
---

## Breadcrumbs

[Home](https://web-tolk.ru/en) > [Joomla extensions](https://web-tolk.ru/en/dev) > [Joomla plugins](/en/dev/joomla-plugins) > [WT PDF.js](/en/dev/joomla-plugins/wt-pdf-js) > [Documentation](/en/dev/joomla-plugins/wt-pdf-js/documentation) > WT PDF.js for Joomla: asset reference

# WT PDF.js for Joomla: asset reference

WT PDF.js - Documentation

**Category:** [Joomla plugins](https://web-tolk.ru/en/dev/joomla-plugins)

[Project](https://web-tolk.ru/en/dev/joomla-plugins/wt-pdf-js)[Versions](https://web-tolk.ru/en/dev/joomla-plugins/wt-pdf-js/versions)[Documentation](https://web-tolk.ru/en/dev/joomla-plugins/wt-pdf-js/documentation)[GitHub](https://github.com/mozilla/pdf.js)

All assets, which are JavaScript files registered with Joomla, have type script and type="module" .

## PDF.js asset names and paths

All assets, which are JavaScript files registered with Joomla, have type `script` and `type="module"`. Except for the CDN URL, paths are relative to `media/plg_system_wtpdfjs/`. Use exact registry names, including `legacy` and `sandox`.

| Name | Path | Purpose |
| --- | --- | --- |
| `wt-pdf-js` | `js/pdf.init.mjs` | Local library for newer browsers; sets the worker. |
| `wt-pdf-js-legacy` | `js/legacy/pdf.init.mjs` | Local library for older browsers; sets the worker. |
| `wt-pdf-js-latest` | `https://cdn.jsdelivr.net/npm/pdfjs-dist@latest/build/pdf.mjs` | CDN latest for newer browsers; wt-pdf-js-latest-init is activated automatically. |
| `wt-pdf-js-latest-init` | `js/pdf.latest.init.mjs` | CDN initializer: pins the worker to the exact loaded library version. |
| `wt-pdf-js-worker` | `js/pdf.worker.mjs` | Worker for newer browsers; usually not activated separately. |
| `wt-pdf-js-legacy-worker` | `js/legacy/pdf.worker.mjs` | Worker for older browsers; usually not activated separately. |
| `wt-pdf-js-sandox` | `js/pdf.sandbox.mjs` | PDF scripting sandbox for newer browsers. The historical sandox spelling is retained. |
| `wt-pdf-js-legacy-sandbox` | `js/legacy/pdf.sandbox.mjs` | PDF scripting sandbox for older browsers. |

## JSON-LD Schema

```json
{
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "@id": "https://web-tolk.ru/#/schema/BreadcrumbList/17",
    "itemListElement": [
        {
            "@type": "ListItem",
            "position": 1,
            "item": {
                "@id": "https://web-tolk.ru/en",
                "name": "Home"
            }
        },
        {
            "@type": "ListItem",
            "position": 2,
            "item": {
                "@id": "https://web-tolk.ru/en/dev",
                "name": "Joomla extensions"
            }
        },
        {
            "@type": "ListItem",
            "position": 3,
            "item": {
                "@id": "/en/dev/joomla-plugins",
                "name": "Joomla plugins"
            }
        },
        {
            "@type": "ListItem",
            "position": 4,
            "item": {
                "@id": "/en/dev/joomla-plugins/wt-pdf-js",
                "name": "WT PDF.js"
            }
        },
        {
            "@type": "ListItem",
            "position": 5,
            "item": {
                "@id": "/en/dev/joomla-plugins/wt-pdf-js/documentation",
                "name": "Documentation"
            }
        },
        {
            "@type": "ListItem",
            "position": 6,
            "item": {
                "name": "WT PDF.js for Joomla: asset reference"
            }
        }
    ]
}
```

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Organization",
            "@id": "https://web-tolk.ru/#/schema/Organization/base",
            "name": "WebTolk",
            "url": "https://web-tolk.ru/",
            "logo": {
                "@type": "ImageObject",
                "@id": "https://web-tolk.ru/#/schema/ImageObject/logo",
                "url": "https://web-tolk.ru/images/webtolk-1080p.jpg",
                "contentUrl": "https://web-tolk.ru/images/webtolk-1080p.jpg",
                "width": 1920,
                "height": 1080
            },
            "image": {
                "@id": "https://web-tolk.ru/#/schema/ImageObject/logo"
            },
            "sameAs": [
                "https://github.com/WebTolk",
                "https://github.com/sergeytolkachyov",
                "https://vk.com/web_tolk",
                "https://vk.com/webtolkru",
                "https://tenchat.ru/sergeytolkachyov",
                "https://t.me/sergeytolkachyov",
                "https://t.me/webtolkru"
            ]
        },
        {
            "@type": "WebSite",
            "@id": "https://web-tolk.ru/#/schema/WebSite/base",
            "url": "https://web-tolk.ru/",
            "name": "WebTolk websites development, Joomla Extensions",
            "publisher": {
                "@id": "https://web-tolk.ru/#/schema/Organization/base"
            }
        },
        {
            "@type": "WebPage",
            "@id": "https://web-tolk.ru/#/schema/WebPage/base",
            "url": "https://web-tolk.ru/en/dev/joomla-plugins/wt-pdf-js/documentation/asset-reference",
            "name": "WT PDF.js for Joomla: asset reference - WebTolk websites development, Joomla Extensions",
            "description": "All assets, which are JavaScript files registered with Joomla, have type script and type=\"module\" . Except for the CDN URL, paths are relative to…",
            "isPartOf": {
                "@id": "https://web-tolk.ru/#/schema/WebSite/base"
            },
            "about": {
                "@id": "https://web-tolk.ru/#/schema/TechArticle/base"
            },
            "inLanguage": "en-GB",
            "breadcrumb": {
                "@id": "https://web-tolk.ru/#/schema/BreadcrumbList/17"
            }
        },
        {
            "@type": "TechArticle",
            "headline": "WT PDF.js for Joomla: asset reference",
            "url": "https://web-tolk.ru/en/dev/joomla-plugins/wt-pdf-js/documentation/asset-reference",
            "description": "All assets, which are JavaScript files registered with Joomla, have type script and type= module  .",
            "mainEntityOfPage": {
                "@type": "WebPage",
                "url": "https://web-tolk.ru/en/dev/joomla-plugins/wt-pdf-js/documentation/asset-reference"
            }
        }
    ]
}
```
