Greasy Fork is available in English.

Tabview Youtube

Pretvorite komentare i liste u kartice za YouTube videe

< Feedback on Tabview Youtube

Review: Good - script works

§
Posted: 23/03/2023

Comment tab isn't counting anymore. Please fix it. Thank you.

§
Posted: 23/03/2023

It can be shown correctly previously?
Please tell me your browser & version & OS.

§
Posted: 27/03/2023
Edited: 27/03/2023

Sorry for commenting late. I'm using Edge, version 111.0.1661.54 (64bit). I'm using both Win 10 & 11.
It can be shown previously but I didn't remember when and what version.

§
Posted: 27/03/2023

My Chrome also has the same problem. I'm using Chrome 111.0.5563.111(Official Build) (64 bit)

§
Posted: 05/05/2023

I found out that when I access youtube as a guest, the number of comments are counted as usual, But when logged in by my account, it did not count anymore.

§
Posted: 05/05/2023

I found out that when I access youtube as a guest, the number of comments are counted as usual, But when logged in by my account, it did not count anymore.

I guess there might be some settings in your YouTube after logged are different with the normal.

Recently I made a tool to capture the settings in YouTube.

https://greasyfork.org/en/scripts/465494-youtube-configuration
Please install it, when it did not count anymore, click the menu of that userscript, click "Read"

The popup will be shown. Please capture the entire list (screenshots) and also "ctrl-A" to select all and "ctrl-C" to copy.

Give me both the screenshots and the text, so that I can test in the same environment as yours.

§
Posted: 05/05/2023

Here my config.

EXPERIMENT_FLAGS.action_companion_center_align_description: true,
EXPERIMENT_FLAGS.action_companion_center_align_description: true,
EXPERIMENT_FLAGS.enable_pacf_through_ybfe_tv_for_page_top_formats: true,
EXPERIMENT_FLAGS.enable_rta_manager: true,
EXPERIMENT_FLAGS.kevlar_enable_em_offlineable_discovery: true,
EXPERIMENT_FLAGS.kevlar_show_em_dl_btn: true,
EXPERIMENT_FLAGS.kevlar_show_em_dl_menu_item: true,
EXPERIMENT_FLAGS.kevlar_show_em_dl_settings_tab: true,
EXPERIMENT_FLAGS.max_prefetch_window_sec_for_livestream_optimization: 10,
EXPERIMENT_FLAGS.min_prefetch_offset_sec_for_livestream_optimization: 20,
EXPERIMENT_FLAGS.polymer_on_demand_shady_dom: true,
EXPERIMENT_FLAGS.suggest_caption_correction_menu_item: true,
EXPERIMENT_FLAGS.use_rta_manager_for_async: true,
EXPERIMENT_FLAGS.web_enable_imp_audio_cc: true,
EXPERIMENT_FLAGS.web_enable_pdp_mini_player: true,
EXPERIMENT_FLAGS.web_modern_surveys: true,
EXPERIMENT_FLAGS.web_modern_vwt_surveys: true,
EXPERIMENT_FLAGS.web_modern_vwt_surveys_sampled: true,
EXPERIMENT_FLAGS.web_modern_vwt_surveys_sampled_unclickable_video: true,
EXPERIMENT_FLAGS.web_modern_vwt_surveys_v2: true,
EXPERIMENT_FLAGS.web_player_caption_language_preference_stickiness_duration: 0,
FEXP_EXPERIMENTS.1: 23986017,
FEXP_EXPERIMENTS.10: 24405914,
FEXP_EXPERIMENTS.11: 24415864,
FEXP_EXPERIMENTS.12: 24433679,
FEXP_EXPERIMENTS.13: 24437577,
FEXP_EXPERIMENTS.14: 24439361,
FEXP_EXPERIMENTS.15: 24443594,
FEXP_EXPERIMENTS.16: 24449113,
FEXP_EXPERIMENTS.17: 24468691,
FEXP_EXPERIMENTS.18: 24470719,
FEXP_EXPERIMENTS.19: 24483241,
FEXP_EXPERIMENTS.2: 24000320,
FEXP_EXPERIMENTS.20: 24499792,
FEXP_EXPERIMENTS.21: 24514873,
FEXP_EXPERIMENTS.22: 24516157,
FEXP_EXPERIMENTS.23: 24537882,
FEXP_EXPERIMENTS.24: 24550458,
FEXP_EXPERIMENTS.25: 24557784,
FEXP_EXPERIMENTS.3: 24004644,
FEXP_EXPERIMENTS.4: 24007246,
FEXP_EXPERIMENTS.5: 24080738,
FEXP_EXPERIMENTS.6: 24135310,
FEXP_EXPERIMENTS.7: 24208765,
FEXP_EXPERIMENTS.8: 24219382,
FEXP_EXPERIMENTS.9: 24255165,
GAPI_LOCALE: "en_US",
GL: "JP",
GOOGLE_FEEDBACK_PRODUCT_DATA.accept_language: "ja,en;q=0.9,en-GB;q=0.8,en-US;q=0.7",
HL: "en",
HTML_LANG: "en",
INNERTUBE_CONTEXT.request.consistencyTokenJars.0.encryptedTokenJarContents: "ACeCFAWPJTilGecAEUw37owUN5_xgOWFbkxSbkG-z1L__jJzx90RSyjM8p6MiYgVKLx7lfx4fBplED4ZHvwM9ONpBLAr-kYBW1tcXp1vaKvA3Z-7vSUl3dvCVZA02bkjDPA4VsQlfB37Iv9tAzMwVR_EA_C0N-wHqgcdqZ12SR2OYA",
INNERTUBE_CONTEXT_GL: "JP",
INNERTUBE_CONTEXT_HL: "en",
LIVE_CHAT_BASE_TANGO_CONFIG.requiresAuthToken: false,
LOGGED_IN: true,
PAGE_BUILD_LABEL: "youtube.desktop.web_20230504_01_RC00",
PAGE_CL: 529318761,
SBOX_LABELS.SUGGESTION_DISMISSED_LABEL: "Suggestion removed",
SBOX_LABELS.SUGGESTION_DISMISS_LABEL: "Remove",
SBOX_SETTINGS.REQUEST_LANGUAGE: "en",
SBOX_SETTINGS.SBOX_STRINGS.SBOX_REPORT_SUGGESTIONS: "Report search predictions",
SBOX_SETTINGS.SUGGESTION_BOX_RESTYLE: false,
TIME_CREATED_MS: 1683272855180,
initialBodyClientWidth: 1263,
initialInnerHeight: 569,
initialInnerWidth: 1280

§
Posted: 05/05/2023

Sorry for hearing that. I'm using Tampermonkey too

§
Posted: 05/05/2023
Edited: 05/05/2023

Later I will try to change to code to make this feature better.
This counting number is always a pain...

I will update you when the update is done.

§
Posted: 05/05/2023

Later I will try to change to code to make this feature better.
This counting number is always a pain...

I will update you when the update is done.

Thank you so much. I will keep find what problem is. I try the other google account and it count as usual. Seem the problem is my account.

§
Posted: 07/05/2023

Updated. Please update to v4.7.6
Try to see if it works for you or not.

§
Posted: 07/05/2023
Edited: 07/05/2023

Updated. Please update to v4.7.6
Try to see if it works for you or not.

It's not working. I'm tried the other 3,4 Google account and it worked fine. Seem my account is problem.

§
Posted: 07/05/2023

Updated. Please update to v4.7.6
Try to see if it works for you or not.

It's not working. I'm tried the other 3,4 Google account and it worked fine. Seem my account is problem.

sorry I just found a bug before an hour.
You might try one more times for v4.7.10

§
Posted: 08/05/2023

It's still not working :(

§
Posted: 09/05/2023

... try this

open the comment tab, when loading shown and the comment count number is shown inside the tab container.

in the url, paste this.


_javascript:function innerDOMCommentsCountLoader(){try{document.querySelector("ytd-watch-flexy");let e=new Date-100,t=new Date-40,n=[...document.querySelectorAll("ytd-comments#comments #count.ytd-comments-header-renderer, ytd-comments#comments ytd-item-section-renderer.ytd-comments#sections #header ~ #contents > ytd-message-renderer.ytd-item-section-renderer")],s=+`${Date.now()-e}00`,o=Array(n.length);o.newFound=!1;let r=0,l=-1,m=t;for(let i of(t=s,n)){let d=0;if("count"===i.id?d=1:(i.textContent||"").trim()&&(d=2),d>0){let c=m-0,$=c>4||c<-4;$&&(o.newFound=!0,l=r),o[r]={elm:i,isNew:$,isLatest:!1,f:[d-1]},o[r].status=d,o[r].text=i.textContent,r++}}if(o.length>r&&(o.length=r),l>=0){o[l].isLatest=!0;let a=o[l].elm;a&&(innerDOMCommentsCountTextCache=a.textContent)}else if(1===o.length){let u=o[0].elm;if(u){let y=u.textContent;y!==innerDOMCommentsCountTextCache&&(loadedCommentsDT.set(u,s+1),o.newFound=!0,o[0].isNew=!0,o[l=0].isLatest=!0),innerDOMCommentsCountTextCache=y}}return Object.assign(o,o.map(e=>({elm:e.elm.nodeName+"#"+e.elm.id+"."+[...e.elm.classList].join("."),text:e.elm.textContent,isNew:e.isNew,isLatest:e.isLatest}))),o}catch(w){alert(w+"")}return[0]}alert(JSON.stringify(innerDOMCommentsCountLoader(),null,2));


After pasting, delete the "_" in the prefix. ("_javascript:" -> "javascript:")

A box will be pop-up. Screen capture it.



Correct result shall be similar to this.

§
Posted: 09/05/2023

This is mine.

§
Posted: 11/05/2023

Install this version.


https://greasyfork.org/en/scripts/428651-tabview-youtube?version=1189061


Open the video page

1. Whether the count can be shown or not.

2.

Right click the page, click Inspect

Check the Console message. Make sure Verbose is checked.

Screen capture the messages, should be the same as my screenshot.

§
Posted: 11/05/2023

I think in your console messages, you might not have "[tyt] pageRendered".

After your checking, I should be able to find the root cause and fix it.

§
Posted: 12/05/2023

The count can be shown in the latest version. Thank you so much <3

§
Posted: 12/05/2023

The count can be shown in the latest version. Thank you so much <3

Just to confirm that, you mean
4.8.3 right??

§
Posted: 12/05/2023

Yes. I'm using 4.8.3

§
Posted: 02/07/2023

Yes. I'm using 4.8.3

Hey, I have a good news for you. I upgrade one of my scripts to make it more powerful to resolve the issue related to account authorization.

It should help you to see the comments count back.

https://greasyfork.org/en/scripts/457255-reset-youtube-settings

Post reply

Sign in to post a reply.