Expand All Facebook Responses

Update for 2023+

This no longer works. This tool stopped working sometime early in 2023, and I will no longer be maintaining it. It kinda-sorta still works (better on old / legacy threads), and I’ll leave it up indefinitely. It has stopped working due to Facebook changes that, as a human, make no sense to me and have finally caused me to ignore Facebook (going on six months now).

Old introduction

I have written a JavaScript bookmarklet that expands all comments and replies in Facebook posts. This applies only to the full version of the Facebook website (e.g., www.facebook.com) and not to other web versions (e.g., m.facebook.com, touch.facebook.com) or to versions of the mobile app.

Bookmarklets are not the prettiest or best-understood things in the world, but I’m making it available in case people want to use it.

To install or update the bookmarklet, click here to bring up a page with the bookmarklet in it, along with some simple instructions.

Also see my Scroll All bookmarklet.

2021-02-17: I put this in GitHub.

What does this help with?

This expands Facebook posts so that you can see/read all comments and replies from top to bottom without clicking. This is how I use it, and I use it only on individual posts with usually many fewer than 100 comments and replies.

Others use this to expand multiple posts prior to archiving them. That wasn’t my original usage model and can hit Facebook limitations on how much it will retrieve (plus, it gets slower the longer it runs), but it’s still better than manually clicking.

To isolate a single post to a browser tab, ctrl-click on the post’s time stamp link, which is a permalink URL.

Warnings

If you need to 100% guarantee this bookmarklet does not click on something it shouldn’t, your only option is to avoid it altogether.

This is a bookmarklet and can only do what you can do, as you. There’s always the risk of clicking on something that wasn’t intended, especially if the code I write now decides to click on something that becomes something else in the future. This is what happened in 2020 with the translation links: they became indistinguishable from the like links (and the untranslate links, and the remove preview links). It became easier to remove the translation feature from the bookmarklet than claim to be able to figure out to not click the like link.

I would characterize the latest changes as follows: in some cases, where it used to be possible to select a list of links that should be clicked, now that list needs to be filtered by what should not be clicked. Unfortunately, that list of what not to click is probably incomplete. I found many cases to avoid, but others might find other cases.

This bookmarklet will not traipse down a multistep procedure, such as submitting a comment or sharing something. Check your Facebook activity log—you can likely undo any action taken. I myself would probably commit harakiri if I found out I had acted on a Trump post I was lurking on and could not undo it.

2021-01-20 notes

When I originally wrote this bookmarklet in 2014, I could hardly believe it kept working with no changes. I sat on it for about one year with no changes to Facebook before publishing it. Now in early 2021, Facebook changes every day in such a way that breaks this bookmarklet. The daily UI changes are gratuitous and serve no visual purpose.

The daily Facebook change involves an image ribbon and the CSS used to display an image from the ribbon. It all changes under the covers daily, yet there’s no visual change. I thought I’d be able to fix the problem by programmatically analyzing the CSS on-the-fly but no, both the CSS rule name and the CSS rule itself change (every day), for no actual purpose. There doesn’t seem to be a way to programmatically determine the CSS rule name from anything fixed. Plus, parsing CSS across browsers seems to have insurmountable security restrictions.

Up to this point, I managed to keep this completely independent of the display language, meaning you could choose any of the 112 languages supported by Facebook and this tool would work. I did this by keying only off the CSS and DOM structure.

This has changed now that Facebook changes CSS names and definitions daily. I’ve resorted—in only one case—to parsing display text. Of the possible 112 languages, I’ve added support for 34 or so. Maybe eventually I’ll link to a list of supported languages so it’s clearer. Part of the problem is that now, if Facebook changes the translation of the text I’m using, including fixing problems, it will break the bookmarklet.

The failure when a language is not supported is not terrible; under certain conditions, the bookmarklet won’t click a link that retrieves more replies. I think I’ve eliminated the problem with expand / collapse loops (using code), and only some threads won’t be fully expanded.

It only takes 5 – 10 minutes to add support for a language (not long). Facebook supports 112 languages (supporting them all would take days). I’m happy adding individual languages, but I plan to do that only if I hear of them (i.e., upon request).

2020-11-30 update

I made a difficult decision today to make a change based on Facebook’s incessant changing and breaking this tool (collapse/expand looping). The change is intended to prevent loops, but it is at the cost of an occasional (rare, I hope) incomplete expansion.

There will be just as much maintenance, except it will be to click on something that should be clicked on rather than to avoid clicking on something that shouldn’t be clicked on. When it breaks every few days, it will cause some (hopefully) rare expansions to be incomplete rather than to get stuck in infinite loops.

I’m also hoping to address the problem of leapfrogging, where certain locales are greater-than-one Facebook builds ahead of me, so they never benefit from the changes I make, as I’m always a few builds back.

Details of what this does

Output is logged to both a temporary visual text area and to the browser console. The text area goes away when it’s done, so if you want to see a record of what happened after-the-fact, you’ll need to hit F12 and open the browser console. When the script completes, it logs a numerical total of all responses being displayed. New log text goes to the top rather than the bottom.

The bookmarklet clicks on links to get more responses. It clicks and waits for the new content, which is recursively checked for new links. After all the responses are obtained, it clicks any and all See More links.

It finds links to click by querying on CSS style names and is thus cultural language independent and should work with Facebook set to display in any language, with the exception of:

Before expansion begins, comment filtering is checked and, if needed, changed to All comments. This is starting as an English-only feature; additional languages added upon request. Messing with comment filtering is optional (see bookmarklet settings).

Please don’t do this

This isn’t recommended on posts that have many thousands of throw-away comments:

  1. You probably aren’t really interested in that many throw-away comments.
  2. It gets slower and slower as more comments are pulled over, which I think is more of a browser thing than a Facebook thing.

If you want to stop the bookmarklet, hit ESC if ESC doesn’t conflict with what you are doing, or click the bookmarklet again. If you run it again, it will pick up where it left off (effectively, not literally).

Bookmarklet settings (new)

This section is new as of 2019-03-14.

Please be aware that modifying settings for this bookmarklet is weird and backwards, but bookmarklets are themselves a little weird. To modify the settings, you must run the bookmarklet from Facebook; the settings UI comes up at the end by pressing ‘s’ sometime during its run; changes you make are for next time, not this time, if that makes sense.

You can customize the bookmarklet from any Facebook page, but if you want to ensure that it finds nothing to expand, you can run it on a Facebook page with no posts, such as https://www.facebook.com/find-friends/browser/.

The UI settings will not persist across browser sessions if you are incognito/private or running Tor’s Firefox browser (see next section).

If you use this UI, you can no longer have multiple Expand All bookmarklets with different settings (see next section).

Customizing the bookmarklet (old)

This section is old as of 2019-03-14. I’m leaving it here in case their are fanatics who either use Facebook incognito/privately or use Tor’s Firefox browser.

You can customize what the bookmarklet does. You can install multiple bookmarklets, each with a different customization.

When you edit the bookmark (Properties in Firefox), you will see near the very beginning todo=6. You can change the numerical value. With this value, you control four bits of instruction:

  • 1: not used anymore
  • 2: expand comments
  • 4: expand replies
  • 8: not used anymore
  • 16: do not ensure comment filter (if it exists) is set to All comments

In combination, there are 8 possible values. Some examples, starting with a value of 6:

  • Subtract 4 to not expand replies
  • Add 16 to not change any comment filters

Note that I only regularly use (hence, test) the default value.

Why did I do this?

I looked around to see if someone else had done something like this already, and of course I might have missed something, but it became apparent to me that it would be easier to do this myself than to keep looking for something that actually worked (everything I tried did not work).

Warnings and notes

  • This works today based on how Facebook is rendered in HTML today. It might break tomorrow, and I might not be able to fix it.
  • The script doesn’t parse display text.
  • You can run the bookmarklet multiple times. Sometimes it helps to do this if Facebook is slow and timeouts result in an incomplete expansion.
  • If you want to see the bookmarklet’s JavaScript in a readable format, copy-and-paste it into a beautifier such as jsbeautifier.org. In fact, if you know JavaScript, you might want to do this to boost your confidence that I am not trying to hack you with some malicious script.

Troubleshooting

Make sure you are using the latest bookmarklet. Let me know what language you use Facebook in and which browser family you use.

If this bookmarklet used to work and stopped working, chances are Facebook has changed, and I need to change the bookmarklet. I might notice the breakage myself, but it probably won’t hurt to let me know about it. Changes I’ve made are listed here.

As we learned in 2018, Facebook changes can roll out over a period of a few months. I’m in Silicon Valley (Santa Clara, California, U.S.A.), and my guess is that I can be the last to see changes (and thus, problems), as Facebook seems to use less-trafficked areas as beta sites.

If you’ve never seen it work in a situation:

If it doesn’t work for a public Facebook post that you can reveal without a violation of your privacy, send me or post a comment here with the permalink URL in it, and I will look at it.

If it works except for some non-public posts, chances are I won’t have be able to observe what makes it special and therefore won’t be able to fix it. I might be able to reproduce a problem in my own private context, depending on having the problem adequately described.

  • Bear in mind that this just automates clicking that you would otherwise do. Manually click on what is not working, and assess the situation from there.
  • You can run this bookmark multiple times without penalty. Sometimes doing so can reveal a clue, especially interspersed with your own clicking.
  • I consider myself a regular Facebook user. If there’s something unusual or nonstandard about your situation, feel free to elaborate. For example, I have no idea how to create, see, or show a “hidden comment.”
  • Facebook has limitations. Please read the section titled “Please don’t do this.”
  • It often doesn’t matter how brilliant you are at capturing the problem (e.g., with screenshots). If I can’t reproduce the problem, I probably can’t fix it or test any fix now and in the future.


Posted

in

by

Comments

500 responses to “Expand All Facebook Responses”

  1. sam lam Avatar
    sam lam

    hello my friend first thank you for this amazing tool second i need your help i have post with 20 k comments as you know its impossible to expand all the comments if you any normal pc because the page will break down

    is it possible to extract all the comments as text or as PDF without expanding the comments is it technically possible ?

    do you have any trick to expand or extract all the comment if there is like 20 thousand comments ?

    best regards

    1. Jens-Ingo Farley Avatar
      Jens-Ingo Farley

      Some ideas:

      1) Start with a fresh browser (one that hasn’t stressed the system): save the permalink URL you want to expand and load it into a fresh browser EXE.
      2) Keep in mind, you can run the bookmarklet multiple times. If it stops or fails, you can run it again, and for the most part it will pick up where it left off.
      3) I haven’t really experimented with the following, but possibly stopping the bookmarklet and restarting it (over time, to let resources settle) might be beneficial.
      4) Use Chrome rather than Firefox. My unsubstantiated feeling is that Chrome manages resources better than Firefox.

      The only thing this bookmarklet does is click automation: it does what you could do, only faster and more meticulously. Doing something to get comments without showing them is outside this purview.

  2. Jens-Ingo Farley Avatar
    Jens-Ingo Farley

    Change made today. See installation page.

    Details: If comments are filterable, select All Comments. A new bookmarklet setting can cause this step to be skipped.

  3. Kathy Avatar
    Kathy

    Anyone know how to auto-expand all like of a post?
    Please help me T____T Thanks!

    1. Jens-Ingo Farley Avatar
      Jens-Ingo Farley

      FYI, I don’t know what it means to expand likes.

      1. Kathy Avatar
        Kathy

        Like you made Expand All Facebook Comments at once.
        Is it possible to see all reactions at once? (like the photo below)
        https://gph.is/g/E0lyKvY

        1. Jens-Ingo Farley Avatar
          Jens-Ingo Farley

          I understand now. A basic reaction expander should be very easy for me to make. I will look at it shortly.

        2. Jens-Ingo Farley Avatar
          Jens-Ingo Farley

          After clicking See More for about 1 – 3 seconds, I got the following popup:

          Sorry, but I’m not going to pursue this.

  4. Joel Derfner Avatar
    Joel Derfner

    I’m having a weird bug with the new settings. If I haven’t used the bookmarklet for a few minutes it seems to reset the settings—I have “click continue reading,” “expand comments,” and “expand replies” checked, and it keeps checking “translate all comments,” and it unchecking “click continue reading.” And then, if there are comments to be translated, when it starts translating them it freezes and I can’t do anything except refresh the page.

    Has anybody else reported this? Do you think there’s anything I can do about it?

    1. Jens-Ingo Farley Avatar
      Jens-Ingo Farley

      It sounds like you are making/checking the settings changes with the browser navigated outside of Facebook, at least some of the time. You need to make the settings changes from a Facebook page, for security reasons.

      Translate All can take a long time, as in multiple minutes, especially if you have hundreds of comments, exactly the same amount of time as manually clicking Translate All.

  5. Mohammed Avatar
    Mohammed

    Thank you. Great job

  6. XIUYU WU Avatar

    Firstly thank you for this wonderful book marklet. But I have met some strange bug. I was visiting the url: https://www.facebook.com/pg/iKonNews/posts/
    with Chrome 79, as first, the book marklet works well. However, several hours later, it can’t expand all comments. I set the todo=2, and the log information only says “Press Enter to post”. But the bookmarklet can still work on Firefox now.
    By the way, when i’m using selenium package of python, it seems that the book marklet doesn’t work. It only give the message “Press Enter to the post”

    1. Jens-Ingo Farley Avatar
      Jens-Ingo Farley

      It still works for me. I’m in Silicon Valley, and we seem to get Facebook changes last, by a few months. I’m guessing that Facebook tries out changes in lower traffic areas first. All I can really do is wait for it to break here.

      You might want to check your ‘All Activity’ log to make sure it hasn’t done something undesirable.

    2. Jens-Ingo Farley Avatar
      Jens-Ingo Farley

      Update: cleared my cache, and now I think I’m seeing a problem. Will look at it shortly.

  7. Alycia LeClaire Avatar

    Expand All is not working anymore as of this afternoon 🙁

    1. Jens-Ingo Farley Avatar
      Jens-Ingo Farley

      It might have reached end-of-life with the latest Facebook changes. See my blog.

      1. Jeff Avatar
        Jeff

        Sad to hear the about the changes, I hope a solution can be found eventually. Thank you for all the work and time you have put into this, the tool has proved to be invaluable in my work as an investigator/researcher.

      2. Soda Avatar
        Soda

        Hi, it looks like they’ve removed data-testid attribute from all elements, so this selector can’t be used for collecting reply links anymore. However, “a._4sxc” might work –
        I’ve replaced part of ensureCommentsShowing() code with this:

        let filter = [];
        window.rootNode.querySelectorAll(“a._4sxc”).forEach(item=>{
        filter.push(item);
        });

        worked ok for collecting and expanding all “view more comments / replies” links, at least in my area.
        Please don’t give up on bookmarklet, it’s highly useful, and there isn’t any good alternative around.

        1. Jeff Avatar
          Jeff

          Is there a way for me to implement this as a user with no coding knowledge at all? I’d love to continue using the bookmarklet

          1. Jens-Ingo Farley Avatar
            Jens-Ingo Farley

            No. It might take me awhile, but I do intend to revive (most of) it.

  8. Jeff Avatar
    Jeff

    Cheers, your work is definitely much appreciated. I wish I could help

  9. Gabarito Avatar
    Gabarito

    Yes, your script is sorely missed.
    Please, when you got it fixed, let us know.
    Very annoying to expand hundreds of comments and “show more” links.

    Many thanks.

    1. Derek Avatar
      Derek

      Another thumbs-up from a long time user. I’m keeping fingers crossed while waiting for your success.

  10. Cheryl Avatar

    I was so bummed to see that this script no longer works. It was such a wonderful little tool that saved me many extra clicks.

  11. Mathi Avatar
    Mathi

    Hi, earlier that “”Expand All” bookmark Icon working fine, but now a days not working. So I removed and added new bookmark button. But totally not working what to do?

    My requirements given below:

    1. View more comments
    2. View previous replies
    3. View more replies
    4. Should not translate

    1. Jens-Ingo Farley Avatar
      Jens-Ingo Farley

      The last 14 or so comments on this post all have to do with it no longer working. It doesn’t work with the latest Facebook changes, both the New Facebook and the Classic Facebook (which was updated to be based, loosely, on the New Facebook, even though it doesn’t really look different). I am working on fixing the bookmarklet, but it will take some serious time (weeks).

      Minimal status at original blog entry

  12. Wendy Avatar

    My dear friend, I would like to donate money to support you (hopefully) figuring out expand-all. I am utterly unable to keep up with my social group The Darwin Awards, by clicking.

    thank you for so much time, you saved me and gave me, with your bookmarklette.

    Wendy

    1. Cheryl Spencer Avatar

      Me too! Let us know where we can donate.

    2. Jens-Ingo Farley Avatar
      Jens-Ingo Farley

      Thank you, but donations will not speed things up. I’ve put another mini-update in the blog entry.

  13. Millard J. Melnyk Avatar
    Millard J. Melnyk

    No worries man! All the best. I use especially the Expand multiple times a day. WONDERFUL tools! I know how hard it can be to fix things sometimes, especially if you’re trying to keep up with a product like Facebook that I assume isn’t very forthcoming with the info you need. All the best, and I’ll take what I can get in the interim. ANYTHING is better than find:repli, click, click, click, click, then find:see more, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click, click…

    LOL

  14. 6pac Avatar
    6pac

    Is there any chance that an update can cure this inane “functionality” (as FB calls it) of comments defaulting to “most relevant”?
    Utterly infuriating!!

    1. Jens-Ingo Farley Avatar
      Jens-Ingo Farley

      Different people will want different defaults. There’s no way to change the default that I know of. When I get this bookmarklet working again, it should change the filter to ‘All Comments’ before expanding, but that’s not the same as changing the default.

  15. NL Avatar
    NL

    Any idea when expand all will work again? I don’t use translate feature, but I need to archive a months worth of posts for a group for my research! I understand these things take time, but any updates?

    1. Jens-Ingo Farley Avatar
      Jens-Ingo Farley

      I hope to have an updated bookmarklet either late this week or early next week.

  16. Jens-Ingo Farley Avatar
    Jens-Ingo Farley

    I updated the bookmarklet. It works well for me, but there will be more updates. I haven’t updated the blog post yet but will in a few days.

    1. NL Avatar
      NL

      THANK YOU

    2. Millard J Avatar
      Millard J

      AWESOME! Thanks man!

    3. Joel Derfner Avatar
      Joel Derfner

      THANK YOU SO, SO MUCH!

  17. Em B Avatar
    Em B

    Hurrah!! And THANK YOU.

  18. Millard J Melnyk Avatar
    Millard J Melnyk

    Working great so far! Seems faster too. Nice job Jens-Ingo! This tool saves me SO much time everyday! (Yeah, Facebook fanatic here, lol.)

  19. Mathi Avatar

    Thank you dude, working fine…. excellent

  20. Gabarito Avatar
    Gabarito

    Thank you for the update!
    It’s working very well!

    But, what about “Traverse Facebook Comments by Time”?
    It’s not working, or I’m missing its correct use.

    Thanks.

    1. Jens-Ingo Farley Avatar
      Jens-Ingo Farley

      I haven’t gotten to that yet.

    2. Jens-Ingo Farley Avatar
      Jens-Ingo Farley

      “Traverse Facebook Comments by Time” cannot be repaired because timestamps no longer appear in HTML.

      1. Millard J Melnyk Avatar
        Millard J Melnyk

        That’s disconcerting. Why would a transparent, straightforward, honest company that in no way exploits our information remove timestamps? Makes no sense. Almost makes it seem like they’re trying to cover tracks or something…

        1. Jens-Ingo Farley Avatar
          Jens-Ingo Farley

          The way I see it, it was a miracle that they used to include it, and only a pity that they stopped. It’s odd to include “metadata” in HTML that isn’t displayed.

  21. frederic Avatar
    frederic

    Jens-Ingo Farley, Many thanks for your hard work! It was terrible to be without it!
    Positive was that when it didn’t work, I started ignoring Facebook. Who still has to click?
    It’s great that it works again. Thank you Jens-Ingo Farley!

  22. Ky Avatar
    Ky

    Is it okay to use now? It won’t “like” any posts on its own?

    1. Jens-Ingo Farley Avatar
      Jens-Ingo Farley

      Please see the updated blog post. There’s no way to guarantee anything.

  23. Ivan Avatar
    Ivan

    Awesome work. This is by far the most useful outside-Facebook addition which I use. Thank you!

  24. frederic Avatar
    frederic

    Hello Jens-Ingo Farley
    Your bookmarklet works great! Thanks! As you just write yourself, when there are a lot of posts, it freezes. In my opinion the best is Firefox, Chrome (Cromium, Opera, etc.) tab crash sooner or later.

    I just have another problem. If it is not possible now the whole page in one tab, What to do bookmarklet which loads the entire Facebook group, for example, and each basic post opens on a new tab (as it was during read more, or if it has more than e.g. 10 reactions), where everyone can runs Expand All?
    The problem is that the stored html is 80 MB, but in Firefox it can take up 11-16GB RAM (Chrome 3-4GB, then tab crash).
    Set how many posts to display for the first time. Open them in separate tabs. Pause. Continue Open new ones in separate tabs. In this way, the whole history of a group could be archived gradually.

    I don’t know what those browsers do, but it takes GB to process a few MB in a consistent way. When I save and then watch, it’s cool, fast. But realtime is horror. I sometimes need to look at the older ones, but getting to them is quite difficult. It’s interesting for me that it goes very fast on a smartphone.

    Or another option, Expand All only for main posts older than, newer than? Date from to…

    I don’t know if it’s feasible, if Expand All quits itself if it finds it inactive for a few minutes. I left my PC on for 2 days. Nothing. Neither save the page nor quit Expand All. I have a good PC (the most powerful single core. There is no way to make the scrip use more threads?). One of the reasons for new PC was yours great bookmarklet!

    Sadly, a lot of not only companies put information on FB and not on their website. Somewhere they don’t even have an email contact, just Facebook. If they have email, they will write off in a few days, while on Facebook almost immediately. I wonder what they will do if there is no Facebook or blocked, deleted. Otherwise, life would be easier. Maybe because of that.
    I’m sorry, I’m angry.

    Thank you Jens-Ingo Farley for your work, for your help!
    Good health!

    1. Jens-Ingo Farley Avatar
      Jens-Ingo Farley

      Firstly, I don’t think I said it can freeze when there are a lot of posts. Secondly, it sounds like you are focusing on the Classic UI, whereas I am now focused almost 100% on the New UI. Only the Classic UI should have and can be opening Continue Reading links in new tabs, and the option to do that is off by default (and is moot in the New UI).

      Are you using the Classic or New UI?

      1. frederic Avatar
        frederic

        “It gets slower and slower as more comments are pulled over” – the result is 100% one core utilization, neverending aborting. I don’t know what it does, but from my point of view it’s freezing.

        Classic UI, that when a person is not logged in. Everything works, no complaints. Thank you!

        “To isolate a single post to a browser tab, ctrl-click on the post’s time stamp link, which is a permalink URL.” – this. Some possibility that a new supplementary booklet would open all in a new tabs?

        Now I do it by holding END. Fun activity. But if I use your Expand All, the browser can’t handle it after a while. That would be a solution to automate it, to open on new tabs (1main with more than…10? 20? reactions) and then those “Expand All”. I think that browser handles could be 50-100 tabs at a time.

        The only thing I could do AutoHotkey Ctrl+S, Enter, Ctrl-Tab, where before I enter the number of tabs to save. Quite embarrassing. But it has helped me several times already when Chrome collapsed with more than 100 tabs open (when i need an old version, not a new one). I would use this in the case of Facebook 🙂

        I hope you understand. I don’t know if I write it well (translator).

        1. frederic Avatar
          frederic

          That’s my idea that whole pages, groups, could be stored completely:

          FB Page (one main tab) – load everything without Expand All
          -> new tab -> Main Post1 -> Expand All -> Comments – Replies
          -> new tab -> Main Post2 -> Expand All -> Comments – Replies
          -> new tab -> Main Post3 -> Expand All -> Comments – Replies
          = 4 tabs, save 4 html files.
          pause, continue
          -> new tab -> Main Post4 -> Expand All -> Comments – Replies
          -> new tab -> Main Post5 -> Expand All -> Comments – Replies
          -> new tab -> Main Post6 -> Expand All -> Comments – Replies
          ….

          Your great Expand All has no problem to open 2k+ Comments, Replies, but whole all in one FB Page tab can’t handle any browser. Firefox yes, but ExpandAll does not, or vice versa? I don’t know how they communicate with each other, but 11-16GB of RAM for 1 process is enough and it’s still growing, Firefox can be used (another tab), but the page cannot be saved and Expand All can be closed :).

        2. Jens-Ingo Farley Avatar
          Jens-Ingo Farley

          The New interface did away with Continue Reading links; instead, content is expanded in-place without opening tabs. When Facebook permanently switches to the New interface, I will remove the Continue Reading support.

          Can you try the New interface?

          1. frederic Avatar
            frederic

            In FF (Chrome too), where I am not logged in to FB, I have a white look. Nothing to switch anywhere. ExpandAll 100% works.

            On the browser where I logged in to FB, took on a rather disgusting, new look. ExpandAll works only partially (ExpandAll is Expand not all). After switching to the Classic works 100%.
            I used the currently available ExpandAll version.

            If I have a New UI, generally will there be with New UI less RAM consumption?

          2. Jens-Ingo Farley Avatar
            Jens-Ingo Farley

            I have not compared RAM usage between the Classic and New UIs. The point I was getting at is that the New UI does not have Continue Reading links, meaning posts are never put into tabs.

          3. Jens-Ingo Farley Avatar
            Jens-Ingo Farley

            I did a quick comparison of Classic vs. New. I should have timed them and didn’t, but the main positive thing about the New interface is that it is faster (I think). However, it uses more memory (a classic tradeoff). I expanded a post that had 7,732 responses in the New interface and 7,718 responses in the Classic (in FF), and the tab grew to about 5,500 MB in the New interface and 18% less (4,500 MB) in the Classic interface.

            Still, I assume the future is the New interface and that the Classic interface will go away shortly.

  25. Joel Derfner Avatar
    Joel Derfner

    My God, I love this bookmarklet—it has saved me so much time and agony. THANK YOU.

    In the last week or so, I’ve noticed that sometimes the bookmarklet seems to take a REALLY long time to expand things. I THINK I’ve noticed this both in Classic and in New views (I should have made a note of this before leaving this comment—I’m sorry; I’ll check and comment again), and it sometimes happens on posts with not a lot of comments—20 or 30. Any idea what that might be about?

    Thanks again for the amazing bookmarklet.

    1. Jens-Ingo Farley Avatar
      Jens-Ingo Farley

      I have to say “no,” I haven’t noticed it slowing down. It actually seems faster to me (I use the New interface all the time).

      Really, the thing to do, if you can reproduce it, is to try expansion manually and see if it’s slow there, too.

      1. Joel Derfner Avatar
        Joel Derfner

        Whoops—and now I’ve found out that I’ve completely misunderstood what you mean by New interface, because it hasn’t been rolled out in my area yet (New York City). I’ll assume that the slowness is related to Classic interface and I’ll keep my fingers crossed that we get access to New soon.

        Thanks so much!

      2. Joel Derfner Avatar
        Joel Derfner

        Just letting you know—I switched from Brave (a Chrome clone) to Chrome, and this problem disappeared entirely. Not sure why—Brave is, iirc, two major releases behind Chrome, so maybe that’s it, or maybe there’s something else going on. Anyway, the problem is gone!

  26. Mary Maxwell Avatar
    Mary Maxwell

    I would love the same functionality for Nextdoor.com

  27. Steven Allen Avatar
    Steven Allen

    Thank you for sharing your code/bookmarklet! What license if any is applied to the scroll all and expand all bookmarklets? Do you have git repo we can fork from?

    1. Jens-Ingo Farley Avatar
      Jens-Ingo Farley

      There is no license or public git repo. Two big reasons for not wanting to set up a public repo: there are many, some non-mergeable changes; Facebook could change any day and irreparably break something (à la my now defunct Link All bookmarklet).

    2. Jens-Ingo Farley Avatar
      Jens-Ingo Farley

      Today, I put this in GitHub.

  28. Rasmus Underbjerg Pinnerup Avatar
    Rasmus Underbjerg Pinnerup

    I guess FB have changed something in their new interface, because even when I use the newest version of the Expand All bookmarklet (downloaded just now), it gets stuck in a loop, repeatedly showing and then again hiding messages.

    1. Jens-Ingo Farley Avatar
      Jens-Ingo Farley

      I’ve attempted to fix it, for today. Facebook might change their HTML again, even repeatedly, so it might break again, in which case I will fix it again (assuming it can be).

  29. frederic Avatar
    frederic

    Hi Jens-Ingo Farley!
    Only today did a new facebook appear to me. Just one group. Now I have everything classic with only one group new. All not logged in to Facebook.

    I used the latest available version Expand All for NewUI. There is a problem. It seems to work, but across the full page prompts me to Log in. It’s not like clicking personally, above the page. The whole side is white, nothing to see only Log In. I have to press X a few times (18) to show me the FB group. As if there were 18 semi translucent layers. I see nothing, but your bookmarklet works.

    1. Jens-Ingo Farley Avatar
      Jens-Ingo Farley

      If I don’t log in, I still get the classic interface, and I don’t see a problem with it. As long as I’m unable to reproduce a problem, I likely cannot fix it.

      If running the bookmarklet causes multiple log-in overlays to appear, it must be clicking on something (that it shouldn’t) that triggers that. Whenever it clicks something, it logs the text of what it’s clicking. That would normally provide the necessary clues to what it’s doing.

      If you would like to communicate over email, my address can be found slightly obfuscated at About Me.

    2. Jens-Ingo Farley Avatar
      Jens-Ingo Farley

      Here’s my guess: With the new interface, any time you click on most things, it asks you to log in, whether clicking manually or via this bookmarklet.

      1. frederic Avatar
        frederic

        It’s weird, I watch that group every day and today it’s a classic again.
        I didn’t change anything on my side. Just like that. The classic is back 😀

Leave a Reply to john Anderson Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.