Inline Mantis Images

Include links to images in page as images

Co je Inline Mantis Images?

Inline Mantis Images je rozšíření Chrome vyvinuté [email protected], a jeho hlavní funkcí je „Include links to images in page as images“.

Snímky obrazovky rozšíření

screenshot

Stáhnout soubor CRX rozšíření Inline Mantis Images

Stáhněte si soubory rozšíření Inline Mantis Images ve formátu crx, ručně nainstalujte rozšíření Chrome do prohlížeče nebo sdílejte soubory crx s přáteli, abyste jednoduše nainstalovali rozšíření Chrome.

Pokyny pro Použití Rozšíření

                        Inline Mantis Images

The Mantis system attaches file as 
http://*/mantis/file_download.php?file_id=55882&type=bug
with a name "xyz.gif"

This extension inlines the attached images to see them directly and need not to click on each image.

Your URL needs to match
 "http://*/*"
or
 ""

Version History:
1.2: Match all_urls (as our system changed to from http://.../mantis to http://mantis.domain.com/
1.1: Detect images case insensitive.

Here is the JavaScript source:
for ( var i = 0; i < document.links.length; ++i) {
	myHref = document.links[i].href;

	linkText = document.links[i].firstChild.data;
	if (linkText != null) {
		linkText = linkText.toLowerCase();
		if (linkText.indexOf(".gif") >= 0 || linkText.indexOf(".png") >= 0
				|| linkText.indexOf(".jpeg") >= 0
				|| linkText.indexOf(".jpg") >= 0
				|| linkText.indexOf(".bmp") >= 0)

		{
			var myIMG = document.createElement("img");
			myIMG.src = document.links[i].href;
			myIMG.alt = linkText;
			myIMG.title = linkText;
			document.links[i].appendChild(document.createElement("br"));
			document.links[i].appendChild(myIMG);
			document.links[i].appendChild(document.createElement("br"));
		}
	}
}                    

Základní Informace o Rozšíření

Název Inline Mantis Images Inline Mantis Images
ID apfandgagcebddggkbfjekglmfdaijcd
Oficiální URL https://chromewebstore.google.com/detail/inline-mantis-images/apfandgagcebddggkbfjekglmfdaijcd
Popis Include links to images in page as images
Velikost souboru 9.5 KB
Počet instalací 248
Aktuální Verze 1.3
Poslední Aktualizace 2017-08-29
Datum Vydání 2017-08-29
Hodnocení 4.88/5 Celkem 8 Hodnocení
Vývojář [email protected]
E-mail [email protected]
Typ Platby free
Podporované Jazyky en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 2,
    "name": "Inline Mantis Images",
    "version": "1.3",
    "description": "Include links to images in page as images",
    "icons": {
        "48": "icon48.png",
        "128": "icon128.png"
    },
    "author": "Stefan Cordes",
    "content_scripts": [
        {
            "matches": [
                "http:\/\/*\/*",
                ""
            ],
            "js": [
                "inlineImages.js"
            ],
            "run_at": "document_end"
        }
    ],
    "homepage_url": "https:\/\/github.com\/rscadrde\/inline-mantis-images"
}