diff --git a/layouts/lists/script.js b/layouts/lists/script.js index 9b467483..89c0f507 100644 --- a/layouts/lists/script.js +++ b/layouts/lists/script.js @@ -250,6 +250,7 @@ async function renderListMembers(c) { if(!cursor || listMembers.length === 0) end = true; renderListData(listInfo); let container = document.getElementById('list-members'); + if (vars.extensionCompatibilityMode) container.setAttribute('data-testid', 'cellInnerDiv') for(let i in listMembers) { let t = listMembers[i]; appendUser(t, container); diff --git a/layouts/profile/script.js b/layouts/profile/script.js index bf26852e..8e028019 100644 --- a/layouts/profile/script.js +++ b/layouts/profile/script.js @@ -698,6 +698,7 @@ async function updateTimeline() { async function renderFollowing(clear = true, cursor) { loadingFollowing = true; let userList = document.getElementById('following-list'); + if (vars.extensionCompatibilityMode) userList.setAttribute('data-testid', 'primaryColumn') if(clear) { if(pageUser.id_str === user.id_str) { userList.innerHTML = html` @@ -753,6 +754,7 @@ let unsaved = false; async function renderFollowers(clear = true, cursor) { loadingFollowers = true; let userList = document.getElementById('followers-list'); + if (vars.extensionCompatibilityMode) userList.setAttribute('data-testid', 'primaryColumn') if(clear) { if(pageUser.id_str === user.id_str) { let unfollows = await new Promise(resolve => { diff --git a/scripts/helpers.js b/scripts/helpers.js index 99e90dab..3e0c0fff 100644 --- a/scripts/helpers.js +++ b/scripts/helpers.js @@ -1514,7 +1514,8 @@ async function appendUser(u, container, label, usernameClass = '') { u.verified = false; } userElement.innerHTML = html` -
+ + ${vars.extensionCompatibilityMode ? `${escapeHTML(u.name)}` : ''} ${u.screen_name}