webrecorder / behaviors

Webrecorder Automated In-Page Behavior Framework
GNU Affero General Public License v3.0
11 stars 6 forks source link

New twitter hot fixes #54

Closed N0taN3rd closed 4 years ago

N0taN3rd commented 4 years ago

updated the new twitter timeline behavior to account for the changes twitter made in how they render the tweets in the dom.

The primary change was done for the layout of the tweets

  1. The loading element used to be the second child of the element with aria-label="Timeline: Conversation" or "Timeline: 's Tweets" but it is now the first

  2. Now use css transitions for loading of tweets rather than the top progress bar, and had to account for that fact by waiting for the root loading element to have kids