Inline Mantis Images in Chrome OffiDocs ile
Ad
TANIM
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 "<all_urls>" Version History: 1.2: Match all_urls (as our system changed to from http://.
.
.
/mantis to http://mantis.
etki.
com/ 1.1: Detect images case insensitive.
Here is the JavaScript source: for ( var i = 0; i < document.
bağlantıları.
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")); } } }
Ek bilgi:
- Tarafından sunulan Bu e-posta adresi spam robotlarından korunuyor. Sen, görüntülüyebilmek için JavaScript etkinleştirilmelidir gerekir.
- Ortalama puan: 4.88 yıldız (beğendim)
- Geliştirici Bu e-posta adresi spam robotlarından korunuyor. Sen, görüntülüyebilmek için JavaScript etkinleştirilmelidir gerekir.
Inline Mantis Images web extension OffiDocs ile entegre Chromium Online