Include links to images in page as images
Inline Mantis Images Extension
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) {
\tmyHref = document.links[i].href;
\tlinkText = document.links[i].firstChild.data;
\tif (linkText != null) {
\t\tlinkText = linkText.toLowerCase();
\t\tif (linkText.indexOf(\".gif\") >= 0 || linkText.indexOf(\".png\") >= 0
\t\t\t\t|| linkText.indexOf(\".jpeg\") >= 0
\t\t\t\t|| linkText.indexOf(\".jpg\") >= 0
\t\t\t\t|| linkText.indexOf(\".bmp\") >= 0)
\t\t{
\t\t\tvar myIMG = document.createElement(\"img\");
\t\t\tmyIMG.src = document.links[i].href;
\t\t\tmyIMG.alt = linkText;
\t\t\tmyIMG.title = linkText;
\t\t\tdocument.links[i].appendChild(document.createElement(\"br\"));
\t\t\tdocument.links[i].appendChild(myIMG);
\t\t\tdocument.links[i].appendChild(document.createElement(\"br\"));
\t\t}
\t}
}
Source Manifest.json
Similar Extensions
Image Link Grabber 211 21 ★ 607KiB
PageExpand 211 90 ★ 426KiB
LinkRedirector 211 22 ★ 262KiB
Album 211 15 ★ 70.24KiB
IMG inspector 211 78 ★ 30.17KiB
Rapid Redirector 211 11 ★ 46.61KiB
Dribbble shot hover preview 211 4 ★ 350KiB
imazip 211 4 ★ 366KiB
Lazy Linker 211 7 ★ 54.37KiB
Load GIFs faster with gfycat 211 2 ★ 16.14KiB
Reopen 211 5 ★ 178KiB
GIF Stash 211 0 ★ 55.79KiB
Speed Up Scroll 211 6 ★ 28.06KiB
Better Image Scaling 211 12 ★ 38.65KiB
Dropdown Search 211 28 ★ 97.94KiB
PreviewImage 211 3 ★ 5.16KiB
Simplex Search - Direct Download Everything 211 7 ★ 36.58KiB
NoDetour 211 7 ★ 125KiB
Power Cache 211 5 ★ 30.0KiB
DcdRvsLnk - Decode or reverse links 211 20 ★ 37.43KiB
Chrome Video To GIF 211 3 ★ 5.99MiB
Images Under Cursor 211 18 ★ 49.31KiB
Page Gallery 211 4 ★ 19.33KiB
WeTumblr 211 4 ★ 139KiB
User reviews
Amaury Guimarães (MeninoBambinoGaroto) (ID: 000000dacae41b17) Voted 5 ★ - Updated 06/05/2022
Arkadiusz Dąbkowski (ID: 0000004dce6e9498) Voted 5 ★ - Updated 03/02/2013
(ID: ) Voted 5 ★ - Updated 12/17/2012