SM won't display images abc.net.au/news/justin

User Help for Seamonkey and Mozilla Suite
Post Reply
FynrDzynr
Posts: 17
Joined: March 20th, 2010, 8:08 pm
Location: Queensland, Australia

SM won't display images abc.net.au/news/justin

Post by FynrDzynr »

Have used SM since NN died.
Just recently if I visit https://www.abc.net.au/news/justin/ then click to read an article, no images are displayed (just the alternate text)
Permissions for both http AND https are set to ALLOW. Is there some other setting I've missed or has abc.net.au just taken a dislike to SM?
Latest 2.53.12 on both lappies - one running Win10, other Win7
User avatar
Frank Lion
Posts: 21173
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: SM won't display images abc.net.au/news/justin

Post by Frank Lion »

FynrDzynr wrote: Just recently if I visit https://www.abc.net.au/news/justin/ then click to read an article, no images are displayed (just the alternate text)
This is a sort of fix -
Frank Lion wrote:
iFix wrote:Interesting that ABC News no longer has embedded images?

https://www.abc.net.au/news/rural/rural ... /100966340
Sure, Menu>View>Use Style>None ...finished.

Is that a fix? Who knows, you can certainly see the images there now. That might be OK for this guy.
http://forums.mozillazine.org/viewtopic ... #p14930728
FynrDzynr wrote:... or has abc.net.au just taken a dislike to SM?
Really, abc.net.au have just taken a dislike to basic website coding. It really is pretty basic stuff - just linked title/text/pics and they still can't get that right! The problems are in their site layout 485.67278b80.css

Media sites usually have to handle much more complicated stuff than this - i.e. the most popular media site in the world, so I'm told - https://www.dailymail.co.uk/ushome/index.html gets basic stuff, like images, right and is actually readable if you use Ublock Origin adblocker on it, otherwise the CPU hits the roof.
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
FynrDzynr
Posts: 17
Joined: March 20th, 2010, 8:08 pm
Location: Queensland, Australia

Re: SM won't display images abc.net.au/news/justin

Post by FynrDzynr »

VIEW - USE STYLE=none only messed it up more.
But I notice that FireFox 101 on the old lappy running Win7 renders the site correctly.
Is it possible to change the UserAgent string in about:config? I presume every time I upgrade SM I'd then have to edit about:config again . . .
I also note that Aust Tax Office site where one has to lodge a tax return also claims SM is an "unsupported browser"
User avatar
Frank Lion
Posts: 21173
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: SM won't display images abc.net.au/news/justin

Post by Frank Lion »

FynrDzynr wrote:VIEW - USE STYLE=none only messed it up more.
Not really, the page layout gets messed up, but all the images now show, and all text and links show. Still, that's as good as it gets fix-wise.
FynrDzynr wrote:Is it possible to change the UserAgent string in..
Feel free to try, but I've already tested out the UA side for that site.


Probably best you use another browser for that website or fix it yourself for SM. -
As for the websites that don't work ok in SM? - you're pretty much going to have to fix those for yourself. That especially applies on sites where you have to have an account or where obscure bits of a site don't work
http://forums.mozillazine.org/viewtopic ... #p14930728
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
n0spam
Posts: 47
Joined: November 7th, 2020, 7:56 am

Re: SM won't display images abc.net.au/news/justin

Post by n0spam »

Try adding this to your userContent.css:

Code: Select all

@-moz-document domain(abc.net.au) {
*[data-component="AspectRatioContainer"] { width: auto !important; height: auto !important; }
*[data-component="AspectRatioContainer"] img { position: static !important; }
}
I prefer using userscripts for this because it doesn't require a browser restart. Here's one:

Code: Select all

https://pastebin.com/gN0i5gF2
The source code in case the above link goes down:

Code: Select all

// ==UserScript==
// @id             abc.net.au_fix_image@void
// @namespace      void
// @name           abc.net.au - fix image
// @version        1.0
// @author         void
// @description    
// @include        /:\/\/(?:[^\/]+?\.)?abc\.net\.au\//
// @include        *://abc.net.au/
// @include        *://abc.net.au/*
// @include        *://www.abc.net.au/
// @include        *://www.abc.net.au/*
// @run-at         document-start
// ==/UserScript==

+function()
{

new MutationObserver(function(a, o){
	var ins = document.body;
	if ( ! ins) { return; }
	o.disconnect();
	var style = document.createElement("style");
	style.type = "text/css";
	style.textContent = (''
		+ '*[data-component="AspectRatioContainer"] { width: auto !important; height: auto !important; }'
		+ '*[data-component="AspectRatioContainer"] img { position: static !important; }'
	);
	ins.appendChild(style);
}).observe(document, {childList: true, subtree: true});

}();
User avatar
therube
Posts: 21703
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Re: SM won't display images abc.net.au/news/justin

Post by therube »

That's weird.
The link to the image itself is fine.
So I guess it's the associated code on the page that kills it (in SeaMonkey & PaleMoon).

URL: https://www.abc.net.au/news/2022-06-22/ ... /101172364
Image: https://live-production.wcms.abc-cdn.ne ... height=485
Full size: https://live-production.wcms.abc-cdn.ne ... 4ee74be220

Associated (some of):

Code: Select all

<header><div class="_3btuy"><h1 class="_1EAJU hMmqO WL4Yr n-Wqw _18EFj _2ZOIT _3HiTE x9R1x pDrMR hmFfs _390V1" data-component="Heading">Thousands flock back to Stonehenge to welcome back 'euphoric' summer solstice</h1><div class="" data-component="Dateline"><span class="_1EAJU _2L258 _14LIk _3pVeq hmFfs _2F43D" data-component="Text">Posted<!-- -->&nbsp;</span><time class="_1EAJU _1NECW _2L258 _14LIk _3pVeq hmFfs _2F43D" data-component="Timestamp" aria-hidden="true" datetime="2022-06-21T14:15:21.000Z">1h ago</time><time class="_76TfH" data-component="ScreenReaderOnly" datetime="2022-06-21T14:15:21.000Z">1 hours ago</time><time class="_1EAJU _30fPZ _2L258 _14LIk _3pVeq hmFfs _2F43D" data-component="Text">Tue 21 Jun 2022 at 10:15am</time></div></div><div class="_2oZZx" data-component="FeatureMedia"><figure class="_247xw _3qLh5 _sBMB" role="group" data-print="inline-media" aria-labelledby="101172386" data-component="Figure" data-uri="coremedia://imageproxy/101172386"><div class="_3poXF" data-component="IntersectionObserver"><div class="_1Axyg" style="--aspect-ratio:1.7777777777777777" data-component="AspectRatioContainer"><img alt="crowd summer solstice" src="https://live-production.wcms.abc-cdn.net.au/1e6ae64c3882dbb5e6c6614ee74be220?impolicy=wcms_crop_resize&cropH=1969&cropW=3500&xPos=0&yPos=145&width=862&height=485" class="jMqWO _1PHKk" sizes="100vw" data-component="Image"></div></div><figcaption class="_1EAJU _2_dbS _2L258 _14LIk _3pVeq hmFfs _2F43D" id="101172386" data-component="Figure__figcaption"> <!-- -->Pagan and druid rites are among the religious ceremonies that occur during the summer solstice.&nbsp;<cite class="_1EAJU _1ftZy _2L258 _14LIk _3pVeq hmFfs _2F43D" data-component="Figure__cite">(<span class="_1EAJU _1s6pr _2L258 _1BqKa _3pVeq hmFfs _2F43D" data-component="Byline"><span class="_1EAJU _2L258 _14LIk _3pVeq hmFfs _2F43D" data-component="Text"><span>Andrew Matthews/PA via AP</span></span></span>)</cite></figcaption></figure></div><div data-component="ShareBanner" class="_2rhNP"><div class="_13ReJ"><span class="_1EAJU _235_k _2L258 _14LIk _3pVeq hmFfs _2F43D" data-component="Text">Help keep family & friends informed by sharing this article</span><button class="_1KwgR _22AuU BwVii eCXal _2VqCY pigdr" title="Print" aria-label="Print this page" type="button" data-component="Button"><svg xmlns="http://www.w3.org/2000/svg"
Try adding this to your userContent.css:
Works :-).
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
Post Reply