
Inline Mantis Images
172 users
Developer: Stefan Cordes
Version: 1.3
Updated: August 29, 2017

Available in the
Chrome Web Store
Chrome Web Store
Install & Try Now!

Leopard and Floral Facebook Set, Customizable Facebook, DIY Facebook, Editable Facebook Set, Instant Download Template, Calamity Jane

NFL Chicago Bears Khalil Mack Funko Pop!

1/10 Zd Toy Deadpool & Wolverine Action Figure Toy Model Collection

Birchwood Casey Shoot-N-C Target - 8" Bullseye, 30 Pack

Morrell High Roller 21 Target

I Love You. Every. Single. Day / I Love You Card / Romantic / Supportive / Relationship / Friends / Card for Her / Blank Greeting Card
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.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"));
}
}
}
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.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"));
}
}
}
Related

Image Link Grabber
9,000+

PageExpand
10,000+

LinkRedirector
1,000+

Album
2,000+

IMG inspector
4,000+

Simplex Search - Direct Download Everything
420

Rapid Redirector
151

imazip
425

Lazy Linker
195

Load GIFs faster with gfycat
87

Reopen
113

GIF Stash
73

Speed Up Scroll
190

Better Image Scaling
617

Dropdown Search
3,000+

PreviewImage
433

Power Cache
1,000+

NoDetour
432

Dribbble shot hover preview
307

DcdRvsLnk - Decodificar ou reverter links
335

Chrome Video To GIF
333

Images Under Cursor
717

WeTumblr
130

Page Gallery
820