/r/imagus

Photograph via snooOG

A browser extension showing full-sized images/videos on mouse over.

FAQ

TROUBLESHOOTING


IMAGUS MOD for CHROME

IMAGUS MOD for FIREFOX

SMH (see FAQ, p.12)


!!! NEED HELP WITH SIEVES !!!

IMAGE HOSTING (HELP)

Imagus Group on Ru-Board


Updating your rules

Updating the rules now needs to be done only from here: SIEVES


When reporting issues

If you won't bother providing the following information, don't expect any response.

  • Search the existing threads before posting anything
  • Try disabling your other extensions first to see if they don't interfere, or if it seems that Imagus is interfering with page functionality, then disable the extension and see if the problem is persistent
  • State your browser and its version, and use the most recent version of the extension
  • Detail your problem (simply saying "doesn't work" is not helpful, be specific), preferably include reproducible steps, optionally a screen-shot/cast if the problem is visible or hard to describe
  • Always provide URLs where the problem occurs ("some or all thumbnails don't work on xyz" is not enough, point exactly to the broken ones), if the page requires authentication then mentioned that too
  • If you don't use default settings, then list the ones you changed

When requesting site-support

  • The URL of the page is required, and over what links/thumbnails on that page you want it to work

How to import a rule

Options / Sieve / import button (↓) / copy-paste the rule that you were given into the text-box and press the From text button / Save. If the rule already exists, you have to tick the "Replace existing data" checkbox before saving.


How to create a rule

Adding your own rules can be done at Options / Sieve by clicking the + button, fill the input boxes and finally hit Save. To make rules you need to know at least Regular Expressions and HTML, and for more complicated situations you need JavaScript. A weak explanation about the parameters can be found here.

/r/imagus

4,543 Subscribers

2

Ctrl + S on Redgifs?

All of a sudden it only brings up html and not the mp4.

1 Comment
2023/12/10
18:46 UTC

3

Twitter new media tab

So twitter has changed the media tab to more of a gallery style. The problem is that now if a post has multiple images it bundles them all together and imagus can only show the first image. This literally just happened so I don't expect a solution, but is it possible to make it so you can flip through all images in the bundled post instead of just showing the first one?

3 Comments
2023/12/09
20:52 UTC

1

hypnohub sieve

is it possible to make a sieve that works for hypnohub it would be much appreciated, it is similar to sites like gelbooru.

https://hypnohub.net/index.php?page=post&s=list&tags=all

2 Comments
2023/12/07
21:19 UTC

2

8muses

10 Comments
2023/12/06
07:55 UTC

3

Please allow pixiv ugoira to load normally

NSFW warning

https://www.pixiv.net/en/tags/%E8%85%90%E5%90%91%E3%81%91/artworks?mode=r18&s_mode=s_tag&ai_type=1

Here in this search result (the 9th one as of now)

https://www.pixiv.net/en/artworks/113992915

If you preview this link, you'll see static pictures only,
ugoira (moving pictures) won't load. Please help me load ugoira normally,
This is important to me and everyone

6 Comments
2023/12/06
06:50 UTC

1

Help with Wayback Machine Sieve for Blogspot

I'm working on a sieve to try to grab images from blogspot blogs that are stored on archive.org. The current archive.org sieve doesn't work for this.

Here's an example of the website: https://web.archive.org/web/20150122134426/http://sbynews.blogspot.com/

All of the full-sized images are stored in a directory /s1600/ before the image file name, e.g. https://web.archive.org/web/20150122134426/http://3.bp.blogspot.com/-sIHWYHl2WVA/VMDayrsJ6SI/AAAAAAABGDI/vasXMCCZyfA/s1600/proposed-smoking.jpg

However, the issue is that this link is another wayback website and not the image itself. From what I can tell from running the network tab in the console, when you try to load the direct link to the image they treat the actual displayed image as a subdocument, i.e.

https://preview.redd.it/e2qlgnu5364c1.png?width=679&format=png&auto=webp&s=3138a164856e76abde704595878357233efd5104

I could otherwise do the regex for the various facets of this, but I'm not sure how to deal with this subdocument thing.

As an aside, I've sometimes found that if you take out the initial web.archive.org bit and go straight to the blogspot url (http://3.bp.blogspot.com/-sIHWYHl2WVA/VMDayrsJ6SI/AAAAAAABGDI/vasXMCCZyfA/s1600/proposed-smoking.jpg), however that's not always the case as evidenced here.

9 Comments
2023/12/03
23:49 UTC

2

Imagus not showing YouTube video full name on hovering

Hello there,

Normally, when I hover on a YouTube video title, it pops up the video full name, like below. But, with Imagus on, it stops doing that. I know that Imagus showing a thumbnail with the caption, but recently the caption on YouTube became very big, not only a line, so I disabled it.

The hovering effect

Big caption on YouTube thumbnail by Imagus

Thanks in advance.

10 Comments
2023/12/03
13:23 UTC

1

Tumbex - Help with a Sieve

I'm working on a sieve for Tumbex (acts like Tumblr Archive but even for mature blogs) and I'm running into difficulty. I'd like to have the full-sized image to pull from the base posting area.

e.g.

https://www.tumbex.com/tastefullyoffensive.tumblr/posts

Each of the images then links to a post using one of these two formats:

https://www.tumbex.com/tastefullyoffensive.tumblr/post/735616227327770624

https://www.tumbex.com/tastefullyoffensive.tumblr/post/735616168254226432/pleatedjeans-45-worst-cursed-images-we-were

i.e. sometimes it just links to just the post number and other times it links to the post number plus the post title.

I'm pretty sure that I've got the RegEx for the Tumbex Post format:

^tumbex.com/.+-tumbl/post/[.+|.+/.+]

I then know that within the html of that specific post page that the full-sized image can be found if you search the HTML for "hd":" and then they provide the html address to the actual tumblr image, e.g. 64.media.tumblr.com/[.]{32}/[.]{16}-../s/d+x/d+/.+\.w+, only using the true Regex formatting so there are backslashes before every forward slash. The best regex I could put together for this in the Res field is:

"hd":"https:\\/\\/\d\d.media.tumblr.com\\/[.]{32}\\/[.]{16}-..\\/s/d+x/d+\\/.+\.w+"

Imagus should then recreate that address, minus the double back slashes and look for the full-sized image there. This part is beyond my abilities as I'm not really a programmer.

6 Comments
2023/12/02
20:55 UTC

2

Twitter video

Hi guys

I think Twitter videos are not working, I'm using the latest rule.

u/imagus_fan Do you have the same issue?

4 Comments
2023/12/02
19:59 UTC

1

How to download this image?

Hi all, does anyone have any documentation/guide/info on how one can download the image on this page?

https://www.jgfox.art/products/the-political-herds

2 Comments
2023/12/01
17:38 UTC

3

Reddit videos (v.redd.it) not loading anymore when hovering for the past few days

I'm using the Imagus Mod, updated to the latest sieves from today just in case but it didn't change anything. The overlay appears and stays white, nothing loads. The videos do load if I just view them normally.

7 Comments
2023/12/01
16:49 UTC

10

Sieves update for Imagus (2023-12-01)

SIEVES

With our rule-set, we recommend using Imagus Mod (Chrome|Firefox). You can read about its advantages over the outdated Imagus (it has not been updated for 3 years) here.

To update the sieves in Imagus Mod, it is enough to delete the old ones, click "Save" and then - the "Update Sieve" button. Then click "Save" again to confirm the changes.

!!! - When importing, users have a new "date" sieve (the very first one) - this is normal. Imagus Mod has a new export file format - another date field is inserted (the concept of the rule-set date is still in development), which, if empty, becomes a "date" sieve when exporting for the first time*. After exiting the Settings, it disappears and no longer appears. In general, it is harmless.*

NB! In this topic, all questions not related to the update of our rule-set are strictly prohibited. Create a new topic in the community with your question or message.

0 Comments
2023/12/01
13:27 UTC

3

Custom CSS for img and video tags

Hi, is there way to extend the custom css feature to cover both img and video tags of the popup? Currently we can only alter the div style and I couldn't find a way to target the img and video tags inside the div. Video popup has a reddish border around it, dev tools shows it is box-shadow, I wanted to disable it but it didn't work.

It would be great if you guys give a class or id to the div as well like imagus or imagus_mod for instance. That way, it would be easier to target and alter the style with other extensions like Stylus or with uBO even if it's not currently possible or hard to do with imagus.

Thanks!

Ping: u/TFW_YT

0 Comments
2023/11/29
02:20 UTC

3

The Reddit video player scrolls the page on mouseover and zoom when the cursor is not in the video area

Hello, I hope the title makes sense. But it is the opposite of what normally happens with YouTube videos and images; ie. when the cursor is on top of a Reddit video popup, the page will scroll when scrolling up or down. When the cursor is not on a Reddit video, it will zoom in and out when scrolling up or down.

This is not the same behaviour as with images or the normal player that opens YouTube videos. Thank you

5 Comments
2023/11/26
06:47 UTC

3

Grants keep changing by itself

Using Imagus Mod on Chrome, under Grants I have:

!:*

~~:http.://.*eddit.com

Everything's been working fine but twice in the last 2 weeks the mod has cleared this out by itself. Any ideas?

1 Comment
2023/11/26
02:00 UTC

2

Remove Debugger on Youtube Sieve

If you open browser console then hover on any youtube link while browser console is open browser console freezes because of the debugger. Please remove debugger.

https://i.imgur.com/bneIg6h.png

https://i.imgur.com/PltUipz.png

15 Comments
2023/11/25
06:46 UTC

2

Imagus stopped working on Reddit

I have been using Imagus for years and always updating it monthly with simple-modify-headers. But since November 1st update, it stopped working for Reddit. Is there any solution for this?

I'm using Firefox and "Imagus mod"

5 Comments
2023/11/24
19:58 UTC

1

how to make imagus load thumbnail preview from video title but not from thumbnail on youtube?

on youtube when i hover over a video thumbnail or a video title it shows a preview of that thumbnail (which is normal). i just want to disable the thumbnail part and only get the preview from hovering over the title.

30 Comments
2023/11/24
14:36 UTC

4

Twitch clip quality fix

It seems that Twitch has looked into bandwidth mitigation & the API is now returning qualities at random.

That's now causing Imagus to choose a quality at random each hover. The current Sieve for clips seems to just take the quality array as it was and passes it on to generate the URL, i assume before this was in order and there were never any issues.

Either way, I spent a few minutes making some changes. I'm not 100% sure on documentation for Imagus but I did notice that previously it was just mapping over the urls and returning all of them; I'm not sure if that was a mistake or it's for redundancy? Either way I was just returning one when testing and it seemed to work just fine, I can make changes to return all of them in order if that's needed, but do keep in mind that this will only ever try and get the highest quality clip once installed.

If you're interested in using this (obviously at your own risk, but all i've really done here is some sorting, feel free to cross-check it with the current sieve code) Just go to sieves, find "Twitch_clips", replace the content in the 3rd down box (res) with the following and hit save:

:
var p = this, x = new XMLHttpRequest
x.open('POST', 'https://gql.twitch.tv/gql')
x.timeout = 3000
x.setRequestHeader('Client-ID', 'kimne78kx3ncx6brgo4mv6wki5h1ko')
x.send('[{"operationName":null,"variables":{},"query":' + JSON.stringify('{clip(slug:"' + $[1] + '"){broadcaster{displayName} createdAt game{name} video{id} title}}') + '},{"operationName":"VideoAccessToken_Clip","variables":{"slug":"' + $[1] + '"},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"36b89d2507fce29e5ca551df756d27c1cfe079e2609642b4390aa4c35796eb11"}}}]');

x.onloadend = function() {
  const response = JSON.parse(this.responseText);
  const c = response[0].data.clip;
  const c2 = response[1].data.clip;
  const signature = c2.playbackAccessToken.signature;
  const token = JSON.parse(c2.playbackAccessToken.value);
  const sortedVideoQualities = c2.videoQualities.sort((a, b) => parseInt(b.quality) - parseInt(a.quality));
  const highestQualityVideo = sortedVideoQualities[0];
  const highestQualityVideoURL = highestQualityVideo.sourceURL + '?sig=' + signature + '&token=' + encodeURIComponent(JSON.stringify(token));

  p.prepareCaption(p.node, '[' + (c.game && c.game.name) + '] ' + [c.title, c.broadcaster && c.broadcaster.displayName, (new Date(c.createdAt)).toLocaleString(), c.video && 'https://twitch.tv/videos/' + c.video.id].filter(Boolean).join(' | '));
  p.set(highestQualityVideoURL);
}

return null
9 Comments
2023/11/24
14:34 UTC

2

Fotoload

Is it possible to add album support to this sieve? Links to album pages:

https://pastebin.com/vcYAcK1Z

2 Comments
2023/11/22
09:23 UTC

3

en.wikipedia.org stopped working on Chrome

Only the English Wikipedia site stopped working for me. Any other language French, German, etc. works perfectly. Is there a setting I might've hit accidentally that I can fix? I'm on the latest Imagus Mod 10.15 and sieves 2023-11-15.

3 Comments
2023/11/20
16:37 UTC

3

Request for updated Shopee sieve

I would like to request a sieve for shopee.sg for two sections:

URL: https://shopee.sg/30-pin-USB-data-cable-for-ipad-2-3-4-iP4s-transmission-charging-cables-i.196657818.21735441748

  1. Main picture reel - the hover now shows their promotional overlay instead of the actual first image.

Eg: https://files.catbox.moe/thv4qg.png - the correct image would be the layer underneath the one that's expanded.

  1. Reviews section - the images in the review section are only hovered upon when they're expanded, after you click on them.

Eg: https://files.catbox.moe/hm5nvv.mov - you can see how when hovering over the image, without clicking on it, Imagus doesn't seem to be recognising it as an image to expand.

Is it possible to make Imagus expand the image and the video without clicking on it?

Previous sieve: https://old.reddit.com/r/imagus/comments/cdfrr5/are_shopee_images_protected_from_imagus/eu8r18g/

15 Comments
2023/11/13
15:50 UTC

2

Fix for imagus not working on idol.sankakucomplex.com

Imagus only pops up the thumbnail itself for idol.sankakucomplex.com but working fine for the other channels of sankaku.

19 Comments
2023/11/09
07:33 UTC

3

tumblr gifv not working?

on tumblr, gifv (which are really mp4?) simply don't work, no hover cursor or anything, normal gifs work fine, and normal mp4s work fine (most of the time?), but gifv don't

here is a link that displays a gifv
https://www.tumblr.com/nintendometro/733286671138848768/takedown-sin-punishment-nintendo-64

and here is the same link but displaying it as a gif
https://nintendometro.tumblr.com/post/733286671138848768/takedown-sin-punishment-nintendo-64

i'd kindly request someone smarter than i try and make it work lol

3 Comments
2023/11/07
21:49 UTC

2

kemono.party changed to kemono.su

and now it doesn't work on my end, can someone check if it's just me? every time i try to see a post it just display the thumbnail of the artist avatar.

10 Comments
2023/11/06
13:37 UTC

1

Pixiv working differently for SFW/NSFW images

When browsing on Pixiv, NSFW images start with a green spinner then turn grey, while SFW ones work fine.

-I have turned off all extensions other than Imagus mod and SMH
-I am using the most recent version of Chrome (Version 119.0.6045.106 (Official Build) (64-bit))
-I am using the most recent sieves (1.11.2023) and SMH rules (17.10.23)
-The settings I have changed from the default are these. (Just mark zoomable elements to dashed outline, default media volume to 50, activation by right mouse button to long-press, pop-up placement to cursor at pop-up side, dim page to 0, and hide idle cursor over popup to 0.)

For instance, on this user's page (when logged in to see NSFW material), the 1st, 3rd, 11th, and 13th images (from left to right) do not load, while the rest of the first 15 do (2, 4, 5).

Here is the error I got from the console: https://i.imgur.com/yFzjzvZ.png

Thank you!

(Initially I wasn't sure why the images weren't loading, it wasn't until I was making this post that I noticed the link between SFW/NSFW and loading/not loading. It could be some other connection.)

11 Comments
2023/11/05
05:12 UTC

2

Is there a fix for the Twitch preload bug?

So currently it seems like twitch clips are somewhat borked when you have "Preload images on page load" on, as after a few seconds the most recently preloaded twitch clip (I think) will replace whatever you're hovering. It's fixed by changing it to load on mouse hover, but I was wondering if there's a way to preload the page while avoiding the bug. Maybe some way to avoid preloading only twitch clips? This is for Imagus Mod

4 Comments
2023/11/04
21:17 UTC

1

Seive for thetv.jp

Hi, I would like to request a seive for this site.

Example page https://thetv.jp/news/detail/1165669/

Clicking one of the thumbnails near the bottom of the page will open a new page like this: https://thetv.jp/news/detail/1165669/12350532/

Inspecting the code of the large picture preview, the <img src=""> is https://thetv.jp/i/nw/1165669/12350532.jpg?w=1284

If I remove the "?w=1284" from the URL, it will show just the regular resolution.

But If I change the "w=" value to something larger like a random value of "w=10000", I will be able to download the higher resolution, in this picture it's 3000x2000px webp.

Thank you

2 Comments
2023/11/03
20:05 UTC

3

Is Instagram account name as prefix in the pop-up downloaded filename possible ?

Example:
For https://www.instagram.com/p/CphPZoUNS9x/
The pop-up downloaded filename is
332662515_920190829427907_8794771258855250965_n

can it be made
attack_on_titan_memess_332662515_920190829427907_8794771258855250965_n

34 Comments
2023/11/03
09:28 UTC

0

Can the volume bar not overlap and shift the playhead? Can't it be vertical like other players?

this is very odd design, and always end up clicking the wrong thing.

8 Comments
2023/11/02
16:36 UTC

Back To Top