/r/imagus
A browser extension showing full-sized images/videos on mouse over.
Updating your rules
Updating the rules now needs to be done only from here: SIEVES
If you won't bother providing the following information, don't expect any response.
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
All of a sudden it only brings up html and not the mp4.
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?
is it possible to make a sieve that works for hypnohub it would be much appreciated, it is similar to sites like gelbooru.
Is it possible to add another site to the 8muses sieve? - 8muses.io
Examples:
https://8muses.io/album/MC-Comix
https://8muses.io/album/Zuleyka-3D-Comics
https://8muses.io/album/Zuleyka-3D-Comics/Fail-Of-Lara
+
I also found a small bug - this sieve does not work on the page of the comic itself. It only works in album cover mode:
https://comics.8muses.com/comics/album/MCC-Comics/Trigger-Warning/Issue-9
https://comics.8muses.com/comics/album/MCC-Comics/Martian-Harem/Martian-Harem-Issue-5
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
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.
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.
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.
Big caption on YouTube thumbnail by Imagus
Thanks in advance.
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
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.
Hi guys
I think Twitter videos are not working, I'm using the latest rule.
u/imagus_fan Do you have the same issue?
Hi all, does anyone have any documentation/guide/info on how one can download the image on this page?
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.
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.
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
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
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?
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
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"
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.
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
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.
I would like to request a sieve for shopee.sg for two sections:
Eg: https://files.catbox.moe/thv4qg.png - the correct image would be the layer underneath the one that's expanded.
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/
Imagus only pops up the thumbnail itself for idol.sankakucomplex.com but working fine for the other channels of sankaku.
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
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.
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.)
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
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
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
this is very odd design, and always end up clicking the wrong thing.