🐞Navigating Channel Page, Specifically Home to videos = page freeze/failing to load

Open
#3,302 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
frontend, web-dev

Research direction

Start by reproducing the transition from a channel's Home tab to its Videos tab in Chrome with the extension enabled, then compare behavior with the extension disabled and with other extensions disabled. Done means the transition no longer freezes or fails to load while preserving the reported YouTube behavior.

Written by the indexing model from the issue text.

Description

Bug good first issue help wanted up-for-grabs
Concise Description
Transitioning from home tab on a channel to video tab causes the chrome tab to freeze. This might be an extension interplay going on. Main thing is that when I disable this extension youtube goes back to working seamlessly with all its adds, shorts, and other annoyances. Also disabling all other extensions exept this one and the error is still reporducable. It is a very particular bug as well. It only happens when going from home to video. Not the other way around or when jumping to other tabs on a channel.
Browser/s

Chrome

Other Browser:

No response

'Steps to reproduce' - Which of our features is required for the bug to happen?

Have extension on, Go from Home page to video page on a channel.

Since when?

I am sorry, I am not computer savy to know this answer off the top of my head. About a month ago.

Does the bug still happen when you log out of YouTube?

No

..No? Then please paste your yt.config_.EXPERIMENT_FLAGS. Twice (With the error & Without)

I think this is what you want:?

"EXPERIMENT_FLAGS": {
"ab_det_apb_b": true,
"ab_det_apm": true,
"ab_det_el_h": true,
"ab_det_em_inj": true,
"ab_l_sig_st": true,
"ab_l_sig_st_e": true,
"ab_sa_ef": true,
"action_companion_center_align_description": true,
"align_three_dot_menu_with_title_description": true,
"allow_skip_networkless": true,
"att_web_record_metrics": true,
"attmusi": true,
"attr_string_reactive": true,
"bg_st_hr": true,
"clean_up_manual_attribution_header": true,
"clear_user_partitioned_ls": true,
"compress_gel": true,
"cow_optimize_idom_compat": true,
"csi_config_handling_infra": true,
"deprecate_csi_has_info": true,
"disable_cached_masthead_data": true,
"disable_child_node_auto_formatted_strings": true,
"disable_enf_isd": true,
"disable_log_to_visitor_layer": true,
"disable_pacf_logging_for_memory_limited_tv": true,
"enable_ab_report_on_errorscreen": true,
"enable_ab_rp_int": true,
"enable_active_view_display_ad_renderer_web_home": true,
"enable_async_ab_enf": true,
"enable_client_creator_goal_ticker_bar_revamp": true,
"enable_client_only_wiz_direct_reactions": true,
"enable_client_sli_logging": true,
"enable_client_ve_spec": true,
"enable_dai_sdf_h5_preroll": true,
"enable_datasync_id_header_in_web_vss_pings": true,
"enable_entity_store_from_dependency_injection": true,
"enable_flow_logging_p4e": true,
"enable_fully_reactive_badge_shape": true,
"enable_gel_log_commands": true,
"enable_handles_account_menu_switcher": true,
"enable_inline_muted_playback_on_web_search": true,
"enable_inline_muted_playback_on_web_search_for_vdc": true,
"enable_inline_muted_playback_on_web_search_for_vdcb": true,
"enable_is_extended_monitoring": true,
"enable_live_overlay_feed_in_live_chat": true,
"enable_ltc_param_fetch_from_innertube": true,
"enable_mixed_direction_formatted_strings": true,
"enable_open_in_new_tab_icon_for_short_dr_for_desktop_search": true,
"enable_pacf_slot_asde_infeed_h5": true,
"enable_pacf_slot_asde_player_byte_h5": true,
"enable_pacf_slot_asde_player_byte_h5_TV": true,
"enable_pause_ads_on_ytv_html5": true,
"enable_pl_r_c_s": true,
"enable_pl_r_si_fa": true,
"enable_populate_att_psd_in_abe_feedback": true,
"enable_populate_psd_in_abe_feedback": true,
"enable_pv_screen_modern_text": true,
"enable_redirect_linking_for_desktop_web_client": true,
"enable_sdf_companion_h5": true,
"enable_sdf_dai_h5_midroll": true,
"enable_sdf_h5_endemic_mid_post_roll": true,
"enable_sdf_on_h5_unplugged_vod_midroll": true,
"enable_sdf_shorts_player_bytes_h5": true,
"enable_server_stitched_dai": true,
"enable_skip_ad_guidance_prompt": true,
"enable_skippable_ads_for_unplugged_ad_pod": true,
"enable_smearing_expansion_dai": true,
"enable_tectonic_ad_ux_for_halftime": true,
"enable_third_party_info": true,
"enable_topsoil_wta_for_halftime_live_infra": true,
"enable_track_defined_via_mutable_signal": true,
"enable_video_display_compact_button_group_for_desktop_search": true,
"enable_web_96_bit_csn": true,
"enable_web_delhi_icons": true,
"enable_web_home_top_landscape_image_layout_level_click": true,
"enable_web_tiered_gel": true,
"enable_wiz_always_try_logging_info_map": true,
"enable_wiz_queue_effect_and_on_init_initial_runs": true,
"enable_yt_ata_iframe_authuser": true,
"err_on_pl_r_c": true,
"export_networkless_options": true,
"fill_single_video_with_notify_to_lasr": true,
"h5_companion_enable_adcpn_macro_substitution_for_click_pings": true,
"h5_inplayer_enable_adcpn_macro_substitution_for_click_pings": true,
"h5_reset_cache_and_filter_before_update_masthead": true,
"high_ccv_client_side_caching_h5": true,
"html5_log_trigger_events_with_debug_data": true,
"html5_recognize_predict_start_cue_point": true,
"html5_server_stitched_dai_group": true,
"il_attach_cache_limit": true,
"il_use_view_model_logging_context": true,
"json_condensed_response": true,
"kev_adb_pg": true,
"kevlar_gel_error_routing": true,
"kevlar_sw_app_wide_fallback": true,
"kevlar_use_wil_icons": true,
"kevlar_vimio_use_shared_monitor": true,
"live_chat_enable_controller_extraction": true,
"live_chat_enable_rta_manager": true,
"log_click_with_layer_from_element_in_command_handler": true,
"log_errors_through_nwl_on_retry": true,
"log_gel_compression_latency": true,
"log_heartbeat_with_lifecycles": true,
"main_web_redirect_integration_riot": true,
"migrate_events_to_ts": true,
"migrate_remaining_web_ad_badges_to_innertube": true,
"mutable_signal_set_skip_unchanged": true,
"mweb_account_linking_noapp": true,
"mweb_deprecate_skip_ve_logging": true,
"mweb_shorts_comments_panel_id_change": true,
"networkless_gel": true,
"networkless_logging": true,
"new_csn_storage_design": true,
"nwl_send_fast_on_unload": true,
"nwl_send_from_memory_when_online": true,
"offline_error_handling": true,
"pageid_as_header_web": true,
"par_at_ep": true,
"polymer_bad_build_labels": true,
"polymer_verifiy_app_state": true,
"qoe_send_and_write": true,
"read_data_from_web_component_wrapper": true,
"record_app_crashed_web": true,
"remove_masthead_channel_banner_on_refresh": true,
"remove_slot_id_exited_trigger_for_dai_in_player_slot_expire": true,
"replace_client_url_parsing_with_server_signal": true,
"scheduler_use_raf_by_default": true,
"service_worker_static_routing_exclude_embed": true,
"service_worker_static_routing_registration": true,
"shared_enable_controller_extraction": true,
"shared_enable_sink_wrapping": true,
"shell_load_gcf": true,
"sink_wrapper_disable_runtime_shadycss": true,
"skip_invalid_ytcsi_ticks": true,
"skip_ls_gel_retry": true,
"skip_setting_info_in_csi_data_object": true,
"smarter_ve_dedupping": true,
"start_client_gcf": true,
"suppress_error_204_logging": true,
"sw_nav_request_network_first": true,
"transport_use_scheduler": true,
"use_color_palettes_modern_collections_v2": true,
"use_core_sm": true,
"use_csi_stp_handler": true,
"use_event_time_ms_header": true,
"use_fifo_for_networkless": true,
"use_infogel_early_logging": true,
"use_new_in_memory_storage": true,
"use_player_abuse_bg_library": true,
"use_request_time_ms_header": true,
"use_session_based_sampling": true,
"use_ts_visibilitylogger": true,
"vss_final_ping_send_and_write": true,
"vss_playback_use_send_and_write": true,
"web_api_url": true,
"web_attributed_string_race_fix": true,
"web_bind_fetch": true,
"web_button_vm_refactor_disabled": true,
"web_csi_action_sampling_enabled": true,
"web_csi_debug_sample_enabled": true,
"web_dedupe_ve_grafting": true,
"web_enable_ab_em_rsp": true,
"web_enable_ab_rsp_cl": true,
"web_enable_abd_ref": true,
"web_enable_course_icon_update": true,
"web_enable_error_204": true,
"web_enable_sink_yt_content_metadata_view_model": true,
"web_forward_command_on_pbj": true,
"web_gcf_hashes_innertube": true,
"web_honor_cache_for_back": true,
"web_log_memory_total_kbytes": true,
"web_masthead_visited_channel_color_fix": true,
"web_one_platform_error_handling": true,
"web_prefetch_preload_video": true,
"web_resizable_advertiser_banner_on_masthead_safari_fix": true,
"web_scheduler_auto_init": true,
"web_shorts_pivot_button_view_model_reactive": true,
"web_wiz_attributed_string_skip_empty": true,
"web_yt_config_context": true,
"webfe_disable_ab_em_plb": true,
"wil_icon_render_when_idle": true,
"wiz_diff_overwritable": true,
"wiz_memoize_stamper_items": true,
"wiz_use_generic_logging_infra": true,
"woffle_used_state_report": true,
"wpo_gel_strz": true,
"ytcp_paper_tooltip_use_scoped_owner_root": true,
"ytidb_fetch_datasync_ids_for_data_cleanup": true,
"H5_async_logging_delay_ms": 30000.0,
"app_shell_asset_log_fraction": 0.01,
"log_window_onerror_fraction": 0.1,
"tv_pacf_logging_sample_rate": 0.01,
"ytidb_transaction_ended_event_rate_limit": 0.02,
"botguard_async_snapshot_timeout_ms": 3000,
"check_navigator_accuracy_timeout_ms": 0,
"compression_disable_point": 10,
"custom_active_view_tos_timeout_ms": 3600000,
"gel_min_batch_size": 3,
"gel_queue_timeout_max_ms": 300000,
"hide_cta_for_home_web_video_ads_animate_in_time": 2,
"initial_gel_batch_timeout": 2000,
"max_body_size_to_compress": 500000,
"max_prefetch_window_sec_for_livestream_optimization": 10,
"min_prefetch_offset_sec_for_livestream_optimization": 20,
"network_polling_interval": 30000,
"send_config_hash_timer": 0,
"slow_compressions_before_abandon_count": 4,
"swatcheroo_pbs_max_delay_ms": 3000,
"web_foreground_heartbeat_interval_ms": 28000,
"web_logging_max_batch": 150,
"web_max_tracing_events": 50,
"web_tracing_session_replay": 0,
"wil_icon_max_concurrent_fetches": 9999,
"ytidb_remake_db_retries": 3,
"ytidb_reopen_db_retries": 3,
"il_payload_scraping": "",
"web_client_version_override": "",
"kevlar_command_handler_command_banlist": [],
"web_op_signal_type_banlist": [],
"web_tracing_enabled_spans": ["event", "command"]
},
"INNERTUBE_API_KEY": "AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8",
"INNERTUBE_API_VERSION": "v1",
"INNERTUBE_CLIENT_NAME": "WEB",
"INNERTUBE_CLIENT_VERSION": "2.20251024.01.00",
"INNERTUBE_CONTEXT": {
"client": {
"hl": "en",
"gl": "US",
"clientName": "WEB",
"clientVersion": "2.20251024.01.00"
}
},
"INNERTUBE_CONTEXT_CLIENT_NAME": 1,
"INNERTUBE_CONTEXT_CLIENT_VERSION": "2.20251024.01.00",
"LATEST_ECATCHER_SERVICE_TRACKING_PARAMS": {
"client.name": "WEB"
}

Are any errors or related log-messages shown in the Browser-Console? (F12)

No response

Tested as the only active extension? (incognito mode or another browser users):

None

Expected preferred behavior:

Go from home to video no freezing and ideally little to no lag. On the F12 it mansions pre loading which I think is being blocked which is why I think this is happening.

ImprovedTube Version

Sorry could not find.

Your Settings (From the Extension's -Hamburger menu > Settings > Backup & reset > Export settings)

A lot of options from general and few options from playlist like shuffle. No options enabled on the channel page in your extension. Did not find an export settings button. Appologies.

Your YouTube-Document

No response

OS / Device:

Windows 11

Dominant language
JavaScript
Stars
4.6k
Forks
996
Avg merge
2d 15h
Merged PRs (30d)
7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from code-charity/youtube

All issues in code-charity/youtube

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.