Not Working
I installed the extension but format button not showing in the UI
@SumitNub12 Can you post screenshot and also if there are any error in console window?
The Format button stopped showing after I updated my chrome to Version 120.0.6099.109 (Official Build) (64-bit). I am not seeing any error in console
On Chrome Version 120.0.6099.109 (Official Build) (x86_64), extension version: 1.8
Doesn't work in Dynamic Layout
Works in Split (old) layout
Tested on page: https://leetcode.com/problems/sum-root-to-leaf-numbers/description/
Possibly related to (from Dev console)
div.flex.flex-nowrap.items-center
Source code looking for
div.flex div.items-center div.mr-auto
not matching?
On Chrome Version 120.0.6099.109 (Official Build) (x86_64), extension version: 1.8
Doesn't work in Dynamic Layout
Works in Split (old) layout
Tested on page: https://leetcode.com/problems/sum-root-to-leaf-numbers/description/
@SkandaB I have released the fix for this issue. This should be automatically released once its approved https://github.com/madhur/leetcode-format-chrome-extension/pull/27
@SkandaB @shubhamsharma04 The new version has been released. Pls check if this fixes the issue.
Checked with v 1.9 of the extension Not working
(Tried these options)
- Delete cache and cookies
- Disable and enable extension
- Log out and log in again
- Change to split layout and back to dynamic again
None of these worked
@madhur , The Format has moved to Testcase section
Also script.js#L29 is incorrect
Should be
if (document.getElementById('format-button') !== null)
Will help in debugging.
@SkandaB @shubhamsharma04 The new version has been released. Pls check if this fixes the issue.
Its working for me
@madhur , The
Formathas moved to Testcase sectionAlso script.js#L29 is incorrect
Should be
if (document.getElementById('format-button') !== null)Will help in debugging.
@SkandaB Do you have a premium account? It seems to be having an issue because of presence of debugger, which normal accounts do not have.
Unfortunately, I do not have premium account , so I am unable to reproduce.
Yes, premium account.
No worries, thanks for the attempt. Appreciate it
On Tue, Dec 26, 2023, 8:00 AM Madhur Ahuja @.***> wrote:
@madhur https://github.com/madhur , The Format has moved to Testcase section [image: Screen Shot 2023-12-25 at 2 01 18 PM] https://private-user-images.githubusercontent.com/5369621/292780495-15899fb7-c6bc-4a9f-a376-08e5a131897a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MDM2MDY2NzMsIm5iZiI6MTcwMzYwNjM3MywicGF0aCI6Ii81MzY5NjIxLzI5Mjc4MDQ5NS0xNTg5OWZiNy1jNmJjLTRhOWYtYTM3Ni0wOGU1YTEzMTg5N2EucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQUlXTkpZQVg0Q1NWRUg1M0ElMkYyMDIzMTIyNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyMzEyMjZUMTU1OTMzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9M2E0Y2ExMGNmYjA4Y2Y2N2Y4ZDRlNmExODEyZjc2MmI5N2Q1ODJkNzAyMjM0MTA1M2I0N2E2NGVhZGJjZDE0MCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.QEnV2KU3QPnJK85p4TlO-nVDnh0J4FubaWzOH3LvQNU
Also script.js#L29 https://github.com/madhur/leetcode-format-chrome-extension/blob/25dc76ad7472e52b84a4056a9f751456a1408194/script.js#L29 is incorrect
Should be
if (document.getElementById('format-button') !== null)
Will help in debugging.
@SkandaB https://github.com/SkandaB Do you have a premium account? It seems to be having an issue because of presence of debugger, which normal accounts do not have.
Unfortunately, I do not have premium account , so I am unable to reproduce.
— Reply to this email directly, view it on GitHub https://github.com/madhur/leetcode-format-chrome-extension/issues/26#issuecomment-1869633381, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABI66FPBI2V7IWIKHE4HHWLYLLYCNAVCNFSM6AAAAABA6T3I76VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZGYZTGMZYGE . You are receiving this because you were mentioned.Message ID: @.***>
@madhur , The
Formathas moved to Testcase sectionAlso script.js#L29 is incorrect Should be
if (document.getElementById('format-button') !== null)Will help in debugging.
@SkandaB Do you have a premium account? It seems to be having an issue because of presence of debugger, which normal accounts do not have.
Unfortunately, I do not have premium account , so I am unable to reproduce.
Thanks for looking into this. FWIW, I have a premium account and it is working for me. The problem could be something else other than the debugger.


