New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
m.pikicast.com - site is not usable #14124
Comments
I get an ad. second swipe I have yet another screen, but my korean is sub-par. ;) @channy Could you help us figure out what is written in this last screen? |
I was able to reproduce the issue, it appears that when swiping the page, on Firefox the cartoon is not displayed (black pages are displayed). Affected area: <div class="card swiper-slide" data-card-id="27797897" style="width: 388px;">
<div class="card-body">
<div class="img" style="max-height: 732px; background: rgb(0, 0, 0) none repeat scroll 0% 0%;">
<img id="app-contents-card-photo-image" class="img-responsive" src="https://cdnb.pikicast.com/500/2017/12/05/500_27797897_1512439193.jpeg" onerror="this.src='/images/3.0/thumbnail_dummy.png';" alt="">
</div>
<div class="text-area">
<p class="text"><span></span></p>
<!--
<a href="javascript:void(0);" class="text_more" id="app-contents-card-text-more">더보기</a>
<a href="javascript:void(0);" class="text_origin" id="app-contents-card-text-origin">접기</a>
-->
<div class="card_order"><a href="javascript:;" class="page_prev">이전</a><div class="combine_btn_wrap"><span class="combine_view_btn" data-cardindex="1">모아보기</span><span class="paging">1/55</span></div><a href="javascript:;" class="page_next">다음</a></div>
<div class="app-contents-card-btn-comments"><a href="javascript:;">18</a></div>
<div class="card_like"><a id="app-contents-card-btn-like">좋아요</a></div>
<div class="app-contents-card-btn-share"><a href="javascript:;">공유하기</a></div>
</div>
<div class="text_modal app-contents-card-text-origin"></div>
</div>
<div class="img_layer_wrap" style="display: none;"><div class="img_layer"></div></div>
</div> Tested with: |
This is working for me. |
ah understood. the second transition should lead to a cartoon. Changing the UA string doesn't fix it. (s = g.handle) || (s = g.handle = function(t) {
return "undefined" != typeof ce && ce.event.triggered !== t.type ? ce.event.dispatch.apply(e, arguments) : void 0
} But the interesting part is that in Firefox none of the images of the manga are downloaded. https://cdnb.pikicast.com/550/2017/12/05/550_27797897_1512439194.webp in https://m.pikicast.com/js/app-contents-slide.js?v=1526451083590 render: function () {
var e = _.clone(this._model);
return e.locked = this._locked,
e.photoUrl = e[o && e.webPUrl ? 'webPUrl' : 'url'],
e.postingClassName = _.bind(function () {
if (e.postingMeta.expiryFlag) return 'closed';
switch (e.postingMeta.postType) {
case 'IMAGE':
return 'img';
case 'VIDEO':
return 'avi';
case 'TEXT':
return 'txt'
}
}, This probably starts before this. because this is never triggered for example in Firefox. |
to be continued… |
Is this trying to use webp? |
yes it does. but what I'm not sure about is that why the pages are missing. and as I said
|
ok my bad this is triggered!!! I had set the breakpoint at the wrong place. It goes through and gets URLs such as We get this error message in the console too. TypeError: t is undefined; can't access its "contentDocument" property[Learn More] with a crazy number of errors which makes the CPU goes high. triggered by
exactly this line: e = t.contentDocument ? t.contentDocument : t.contentWindow.document, <iframe src="/brandcard/" id="ad-tx" class="app-contents-brandcard_cont_ban_img" marginwidth="0" marginheight="0" scrolling="NO" style="height: 414px; margin-left: -138px; margin-top: -207px;" frameborder="0"></iframe> includes indeed a var t = $('#brandTx').find('iframe'); There is no There's JS inside trying to create iframe without success. or maybe it's a new error created because of us removing |
The contact is cs@pikicast.com The content on desktop |
getContentsCardItems: function() {
var e = this.getContentsCover(),
t = r.toggleProtocol(this.getCDNUrl()),
n = _.clone(this._contents.cardList);
switch (this.getContentsType()) {
case u.CURATION:
n = _.filter(
n,
_.bind(function(e) {
return _.contains(
[c.PHOTO, c.VIDEO, c.LANDING, c.YOUTUBE],
e.cardType
);
}, this)
);
}
return _.each(
n,
_.bind(function(i, a) {
(i.contentsId = this.getContentsId()),
(i.contentsType = this.getContentsType()),
(i.contentsTypes = this.getContentsTypes()),
(i.editorPhotoUrl = e.editorPhotoUrl),
(i.editorName = e.editorName),
(i.isOfficial = e.isOfficial),
(i.udate = e.udate),
(i.fromApp = this.getFromApp()),
(i.url = r.addHost(t, i.url)),
(i.videoThumbnailImageUrl = r.addHost(
t,
i.videoThumbnailImageUrl
)),
(i.liveStreamingUrl = r.addHost(t, i.liveStreamingUrl)),
(i.webPUrl = r.addHost(t, i.webPUrl)),
(i.sourceUrl = i.sourceUrl
? r.getSourceUrl(i.sourceUrl)
: "javascript:void(0);"),
(i.appViewUrl = r.getAppViewUrl(this.getContentsId())),
(i.userDefaultPhotoUrl = this.getUserDefaultPhotoUrl()),
(i.emptyDefaultPhotoUrl = this.getEmptyDefaultPhotoUrl()),
(i.shareUrl = r.getShareUrl(this.getContentsId())),
_.each(i.itemList, function(e, n) {
e.imageUrl = r.addHost(t, e.imageUrl);
}),
(i.cardsLength = n.length),
(i.pageNo = a + 1),
(i.isBGM = e.isBGM),
(i.editorMark = e.editorMark),
(i.indexnum = 0),
(i.inflowSource = this.getInflowSource()),
(i.osType = this.getOsType());
}, this)
);
}, (to note that in Chrome there are crazy number of error messages and it has a tendency to crash devtools.) The way things are being processed. it initiazes an array which contains the URL in So everything is already set up at the start. it will fetch for each image of the Array. i.webPUrl = r.addHost(t, i.webPUrl), so if they were providing the URL for jpeg images or if Firefox supports webP we are all set. |
Close as duplicate of #1294490 (Mozilla) |
URL: https://m.pikicast.com/contents-slide/?contentsId=550667
Browser / Version: Firefox Mobile 59.0
Operating System: Android 8.1.0
Tested Another Browser: Yes
Problem type: Site is not usable
Description: content no show(cartoon)
Steps to Reproduce:
load page
swipe page
ad show
content no show
From webcompat.com with ❤️
The text was updated successfully, but these errors were encountered: