Inline Mantis Images

Include links to images in page as images

Inline Mantis Imagesとは何ですか?

Inline Mantis Imagesは[email protected]によって開発されたChromeの拡張機能で、その主な機能は「Include links to images in page as images」です。

拡張機能のスクリーンショット

screenshot

Inline Mantis Images拡張機能のCRXファイルをダウンロード

Inline Mantis Images拡張子のファイルをcrx形式でダウンロードし、ブラウザにChrome拡張機能を手動でインストールするか、crxファイルを友達と共有して簡単にChrome拡張機能をインストールします。

拡張機能の使用方法

                        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"));
		}
	}
}                    

拡張機能の基本情報

名前 Inline Mantis Images Inline Mantis Images
ID apfandgagcebddggkbfjekglmfdaijcd
公式URL https://chromewebstore.google.com/detail/inline-mantis-images/apfandgagcebddggkbfjekglmfdaijcd
説明 Include links to images in page as images
ファイルサイズ 9.5 KB
インストール数 248
現在のバージョン 1.3
最終更新日 2017-08-29
公開日 2017-08-29
評価 4.88/5 合計 8 レビュー
開発者 [email protected]
Eメール [email protected]
支払い方法 free
対応言語 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"
}