x.com error when signed on

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
Sablesword
Apollo supporter
Apollo supporter
Posts: 33
Joined: 2017-04-01, 06:50

x.com error when signed on

Post by Sablesword » 2025-08-13, 22:42

When I'm not signed on, I can view the accounts of others on X normally. When I am signed on I get a
"Something went wrong, but don’t fret — it’s not your fault." error

when signed on

Code: Select all

The connection to https://api.x.com/live_pipeline/events?topic=%2Flive_content%2F1755921453357162496 was interrupted while the page was loading.  
loader.AppModules-e4e3d8bb.e8e2cfda.js:1:5847
Content Security Policy: Couldn’t parse invalid host 'wasm-unsafe-eval'  
(unknown)
Content Security Policy: Ignoring “'unsafe-inline'” within script-src: nonce-source or hash-source specified  
(unknown)
Ignoring get or set of property that has [LenientThis] because the “this” object is incorrect.  
main.03bd3eaa.js:1:4768508
ReferenceError: WebAssembly is not defined[Learn More]  
loader.FwdForSdk-594367b3.d87e3f5a.js:1:1041045
When not signed on:

Code: Select all

Content Security Policy: Couldn’t parse invalid host 'wasm-unsafe-eval'  
(unknown)
Content Security Policy: Ignoring “'unsafe-inline'” within script-src: nonce-source or hash-source specified  
(unknown)
Ignoring get or set of property that has [LenientThis] because the “this” object is incorrect.  
main.03bd3eaa.js:1:4768508
ReferenceError: WebAssembly is not defined[Learn More]  
loader.FwdForSdk-594367b3.d87e3f5a.js:1:1041045
"[GSI_LOGGER]: Your client application uses one of the Google One Tap prompt UI status methods that may stop functioning when FedCM becomes mandatory. Refer to the migration guide to update your code accordingly and opt-in to FedCM to test your changes. Learn more: https://developers.google.com/identity/gsi/web/guides/fedcm-migration?s=dc#display_moment and https://developers.google.com/identity/gsi/web/guides/fedcm-migration?s=dc#skipped_moment"  
client:74:460
Content Security Policy: Couldn’t process unknown directive ‘require-trusted-types-for’  
(unknown)
Content Security Policy: Ignoring “'unsafe-inline'” within script-src: ‘strict-dynamic’ specified  
(unknown)
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified  
(unknown)
Content Security Policy: Ignoring “http:” within script-src: ‘strict-dynamic’ specified

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38378
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: x.com error when signed on

Post by Moonchild » 2025-08-13, 23:38

Looks like X wants WebAssembly. Please check if you have it enabled: Preferences -> Content -> tab "General" -> under "JavaScript make sure "Enable WebAssembly (WASM)" is checked.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Sablesword
Apollo supporter
Apollo supporter
Posts: 33
Joined: 2017-04-01, 06:50

Re: x.com error when signed on

Post by Sablesword » 2025-08-14, 01:30

No luck. I had WebAssembly unchecked, and I enabled it. Got the same error message.

The browser console does show that I'm no longer getting a complaint about WebAssembly no being defined. Otherwise the errors are the same.

Code: Select all

The connection to https://api.x.com/live_pipeline/events?topic=%2Flive_content%2F1755921453357162496 was interrupted while the page was loading.  
loader.AppModules-e4e3d8bb.e8e2cfda.js:1:5847
Content Security Policy: Couldn’t parse invalid host 'wasm-unsafe-eval'  
(unknown)
Content Security Policy: Ignoring “'unsafe-inline'” within script-src: nonce-source or hash-source specified  
(unknown)
Ignoring get or set of property that has [LenientThis] because the “this” object is incorrect.  
main.03bd3eaa.js:1:4768508

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38378
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: x.com error when signed on

Post by Moonchild » 2025-08-14, 09:28

Not sure why they wanted it then, unless some blackbox shenanigans for tracking or what not.

Unsure what the issue is, and i don't have an X account and will not get one to check, so I'm afraid that's all the help I can give right now.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Kris_88
Board Warrior
Board Warrior
Posts: 1164
Joined: 2021-01-26, 11:18

Re: x.com error when signed on

Post by Kris_88 » 2025-08-14, 11:32

mysterious warning: Ignoring get or set of property that has [LenientThis] because the “this” object is incorrect.
https://bugzilla.mozilla.org/show_bug.cgi?id=1298830

Kris_88
Board Warrior
Board Warrior
Posts: 1164
Joined: 2021-01-26, 11:18

Re: x.com error when signed on

Post by Kris_88 » 2025-08-14, 12:05

In general, this message in the console is not critical. I have no problem after logging in. At least the news feed shows.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38378
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: x.com error when signed on

Post by Moonchild » 2025-08-14, 14:43

It's actually something internal to devtools that causes this. The console itself triggers the warning.
See bug #860312
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Kris_88
Board Warrior
Board Warrior
Posts: 1164
Joined: 2021-01-26, 11:18

Re: x.com error when signed on

Post by Kris_88 » 2025-08-14, 17:21

Moonchild wrote:
2025-08-14, 14:43
It's actually something internal to devtools that causes this. The console itself triggers the warning.
See bug #860312
Yes, it is possible that this is a different error and only the message is similar. It is strange that a specific module related to the site is indicated.
main.03bd3eaa.js:1:4768508

User avatar
frostknight
Astronaut
Astronaut
Posts: 738
Joined: 2022-08-10, 02:25

Re: x.com error when signed on

Post by frostknight » 2025-08-16, 11:39

I didn't know using twitter was even possible for palemoon users. I tried to look at old twitter stuff and it said that blah blah crap about me using too old of a web browser.

Like who the eff cares.

Web sniffing user agents suck
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

Sessh
Fanatic
Fanatic
Posts: 247
Joined: 2018-01-11, 18:43

Re: x.com error when signed on

Post by Sessh » 2025-08-16, 17:17

I have an X account just for reading. Haven't had any major issues. Just the LenientThis warning in console.

User avatar
frostknight
Astronaut
Astronaut
Posts: 738
Joined: 2022-08-10, 02:25

Re: x.com error when signed on

Post by frostknight » 2025-08-16, 17:58

Sessh wrote:
2025-08-16, 17:17
I have an X account just for reading. Haven't had any major issues. Just the LenientThis warning in console.
That's interesting... you have a good setup maybe?

Either that or the latest palemoon handles it differently than previous ones. The question though is for how long will it work this way.

I have no idea.

Edit: I just tried to look at a twitter page and the user agent sniffer didn't give me trouble at all. Very interesting.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

Sessh
Fanatic
Fanatic
Posts: 247
Joined: 2018-01-11, 18:43

Re: x.com error when signed on

Post by Sessh » 2025-08-16, 19:17

Honestly, I don't remember ever having any Pale Moon related issues with X. I haven't had an account there for that long, but I did used to click on X links to read before it required an account. I'd guess it's been fine for awhile, but just guessing.

Now that I think of it, I did have to remove the UA for X/Twitter at some point because it was having an issue. I remember now. I had come here asking about it after I found a UA that worked, but was informed that the UA wasn't needed anymore and so I just removed it entirely. It's worked fine ever since.

Sablesword
Apollo supporter
Apollo supporter
Posts: 33
Joined: 2017-04-01, 06:50

Re: x.com error when signed on

Post by Sablesword » 2025-08-17, 10:45

Aug 12, 2025 was when I first started having any real issues with twitter/x on Pale Moon. Prior to that it was working just fine.

I tried the usual safe mode, clean profile things, and had a little trouble figuring out what was going on because the problem only did show up when I was logged in.

Sablesword
Apollo supporter
Apollo supporter
Posts: 33
Joined: 2017-04-01, 06:50

Re: x.com error when signed on

Post by Sablesword » 2025-08-17, 10:51

For what it's worth, here's the js source dump from "The connection to https://api.x.com/live_pipeline/events? ... 3357162496 was interrupted while the page was loading." which is the one error that shows up when I'm logged on but not when logged off.

Code: Select all

"use strict";(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["loader.AppModules-e4e3d8bb"],{392884:(e,t,i)=>{i.r(t),i.d(t,{AppInstallOnLandingPrompt:()=>Le,AudioModule:()=>Te,BottomCookieBannerPicker:()=>Me,ColumnFromPath:()=>Pe,ColumnTimelineAdapter:()=>Re,DtabBar:()=>Ue,GlobalKeyboardShortcuts:()=>Ne,IntercomStarter:()=>je,JetfuelDevBar:()=>Ve,LeaveSite:()=>Be,LivePipeline:()=>Ge,LoggedOutNotifications:()=>He,ModalSheet:()=>Ke,Toast:()=>$e,appReloader:()=>De,badgeTimers:()=>Ae,bindKeyboardShortcuts:()=>Oe,getScreenReaderShortcutsDataAttribute:()=>xe,ie11Reflower:()=>Ce,initGeoLocation:()=>ze,inputDetect:()=>Fe,multiAccountListFetcher:()=>Xe,redirectEmailUser:()=>We,scribeExternalReferer:()=>qe,userPresence:()=>Qe});var r={};i.r(r),i.d(r,{KEYBOARD:()=>U,MOUSE:()=>x,_private:()=>$,detectedType:()=>G,detectedTypes:()=>B,initialize:()=>V,register:()=>H,registerEvery:()=>X,registerSome:()=>K,reset:()=>q,unregister:()=>W});var n=i(567447),o=i(32399),a=i(105019),s=i(223543),c=i(80309),u=i(642028),l=i(634518),d=i(316391),f=i(551415),v=i(331879),p=i(337686),_=i(58255),h=i(130965),m=i(741803),g=i(516951),y=i(615656),b=i(304579),w=i(454319),k=i(390387),Z=i(71620),E=i(801501),S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3;window.requestIdleCallback?window.requestIdleCallback((function(){return e.fire()})):setTimeout((function(){return e.fire()}),t)};const I=function(e){if(!!k.Qb(e.getState())){var t=e.dispatch((0,Z.zr)("BADGE_TIMERS")((0,h.Z)({showToast:!1},y.ZP.AccessDeniedByBouncer,{customAction:g.Z}))),i=function(i){return e.dispatch(i).catch(t)},r=new E.Z(3e4).interval((function(){"background"!==m.Z.currentState&&(i((0,b.kJ)()),(0,w.Xy)(e.getState()).forEach(i))}));r.start(),S(r);m.Z.addEventListener("change",(function(e){"active"===e&&S(r)}))}};var L,D,T=i(69367),A=i.n(T),O=i(337011),M=i(457669),P=(i(276524),i(867047)),R=i.n(P),U="keyboard",x="mouse",N=[],C=(L={},(0,h.Z)(L,U,!1),(0,h.Z)(L,x,!1),L),z=(0,O.Z)((function e(t){var i=this;(0,M.Z)(this,e),this._handleTimerEnd=function(){i._count>=3&&i._handleDetected(),i._reset()},this._handleDetected=function(){i._reset(),i.detach(),i.detected()},this._reset=function(){clearTimeout(i._timer),i._timer=void 0,i._count=0},this._handleMouseMove=function(){i._count=i._count+1,i._count>=3?i._handleDetected():i._timer||(i._timer=setTimeout(i._handleTimerEnd,500))},this.attach=function(){document.addEventListener("mousemove",i._handleMouseMove),document.addEventListener("touchend",i._reset)},this.detach=function(){document.removeEventListener("mousemove",i._handleMouseMove),document.removeEventListener("touchend",i._reset)},this.detected=t,this._count=0})),F=(0,O.Z)((function e(t){var i=this;(0,M.Z)(this,e),this._handleKeyDown=function(e){var t,r=e.altKey,n=e.ctrlKey,o=e.metaKey,a=e.target;!(r||n||o)&&((t=a)instanceof HTMLInputElement||t instanceof HTMLTextAreaElement)||(i.detach(),i.detected())},this.attach=function(){document.addEventListener("keydown",i._handleKeyDown)},this.detach=function(){document.removeEventListener("keydown",i._handleKeyDown)},this.detected=t}));function j(e){C[e]=!0;var t=N.filter((function(e){return(0,e.matches)()})),i=N.filter((function(e){return!(0,e.matches)()}));N=i,t.forEach((function(e){return(0,e.callback)()}))}var V=function(){(D=[new F((function(){return j(U)})),new z((function(){return j(x)}))]).forEach((function(e){return e.attach()}))},B=function(){return Object.keys(C).filter((function(e){return C[e]}))},G=function(e){return C[e]},H=function(e,t){var i=function(){return C[t]};i()?R()(e):N.push({matches:i,callback:e})},K=function(e,t){var i=function(){return t.some((function(e){return C[e]}))};i()?R()(e):N.push({matches:i,callback:e})},X=function(e,t){var i=function(){return t.every((function(e){return C[e]}))};i()?R()(e):N.push({matches:i,callback:e})},W=function(e){var t=N.indexOf(e);t>-1&&N.splice(t,1)},q=function(){N=[],Object.keys(C).forEach((function(e){C[e]=!1})),D.forEach((function(e){return e.detach()}))},$={MOUSE_INTERVAL_TIME_IN_MS:500,SUCCESSIVE_MOUSE_EVENTS:3,detected:j},Q=i(528840);i(134798);var Y=i(806528),J=i(341276),ee=i(38562);const te=function(e){return(0,ee.JJ)(e.getState())?function(e){var t,i;return null!==(t=navigator)&&void 0!==t&&t.permissions?null===(i=navigator)||void 0===i||null===(i=i.permissions)||void 0===i?void 0:i.query({name:"geolocation"}).then((function(t){return e.dispatch((0,Y.ey)(t.state)),t.onchange=function(){e.dispatch((0,Y.ey)(this.state))},Promise.resolve(t.state)})):Promise.resolve()}(e).then((function(t){t===J.S.granted&&e.dispatch((0,Y.iG)())})):Promise.resolve()};var ie=i(323265);const re={init:function(e){ie.ZP.isDesktopOS()&&ie.ZP.isIE()&&m.Z.addEventListener("change",(function(t){if("active"===t&&e&&e.body){var i=e.body.style.display;e.body.style.display="none",e.body.clientHeight,e.body.style.display=i}}))}};var ne,oe=i(163390),ae=(i(666770),i(133906),i(559691),i(501536),i(460196),i(884608),i(636438),i(751005),i(959876),i(2027)),se=i(446914),ce=i(88656);function ue(e){return"EventSource"in window&&e.isTrue("livepipeline_client_enabled")}function le(){if(!ne)throw new Error("LivePipeline instance has not been initialized");return ne}const de={isSupported:ue,isSupportedAndReady:function(e){return ue(e)&&!!ne},create:function(e,t,i){if(!ue(e))throw new Error("This browser does not support LivePipeline");if(ne)throw new Error("LivePipeline should only be initialized once");var r=new ae.Z({makeEventSource:function(e){var t=function(e){var t=e.map(encodeURIComponent).join(","),r=function(e){return"".concat(e,"/live_pipeline/events?topic=").concat(t)},n=r(window.location.hostname.endsWith("twitter.com")?"https://api.twitter.com":"https://api.x.com"),o=i.getReplacementHost(new URL(n));return o?r("https://".concat(o)):n}(e);return Promise.resolve(new window.EventSource(t,{withCredentials:!0}))},updateSubscriptions:function(e){return t.withEndpoint(se.Z).updateSubscriptions(e).catch((function(e){if(e)if(e instanceof ce.Z&&(0,y.VZ)(e,y.ZP.SessionNotFound))r.restartEventSource();else if(!(e instanceof ce.Z)&&e instanceof Error)return Promise.reject(e);return Promise.resolve()}))}});return ne=r,m.Z.addEventListener("change",(function(e){return function(e){"active"===e?le().resume():le().suspend()}(e)})),r},get:le,destroy:function(){ne&&ne.teardown(),ne=void 0}};const fe=function(e){var t=(0,Z.zr)("MULTI_ACCOUNT_LIST_UPDATER"),i=e.dispatch(t((0,h.Z)({showToast:!1},y.ZP.AccessDeniedByBouncer,{customAction:g.Z}))),r=function(t){return e.dispatch(t).catch(i)};(window.requestIdleCallback||window.requestAnimationFrame)((function(){r((0,w.s2)()).then((function(){(0,w.Xy)(e.getState()).forEach(r)}))}))};var ve=i(192464),pe=(i(143832),i(41930),i(840590)),_e=["/login/error","/i/flow/lite_login","/i/flow/login","/i/flow/signup"];const he=function(e,t){var i=!k.Qb(t),r=k.$q(t),n=pe.ZP.location.pathname;-1===_e.indexOf(n)&&i&&r&&pe.ZP.replace("/i/flow/lite_login")};var me=i(754544),ge=i(401388),ye=i(945656),be=i(31326),we=i(840647),ke=i(833773),Ze=i(396987),Ee=i(782826),Se={page:"external",action:"referred"};const Ie=function(e,t,i,r){var n=function(e){return r.dispatch((0,Z.zr)(e)({}))},o=ke.zI({featureSwitches:t,query:pe.ZP&&pe.ZP.location.query});if((0,ge.Z)(o))return Promise.resolve();if(o.referer&&!Ee.ZP.isExternalUrl(o.referer)&&!Ee.ZP.isInternalRedirect(o.referer))return Promise.resolve();o.referer||(o.referer=""),o.referral_details_str||(o.referral_details_str=""),o.referral_type||(o.referral_type=0);var a=(0,Ze.hZ)(t);a&&(o.external_referer_cookie_value=a);var s=ke.ti(o),c=(0,me.Z)((0,me.Z)({},Se),{},{client:(0,we.Z)().clientName});a&&s&&(c.action="set_access_referer_cookie");var u,l=i.createEventObject(c,"client_event",o),d=i.createPayload([l]);u=o?e.withEndpoint(be.Z).referer({landing_url:o.url,referral_details:o.referral_details_str||void 0,referrer_url:o.referer||void 0}).catch((function(){return n("OCF_EXTERNAL_REFERER")})):Promise.resolve();var f=e.withEndpoint(ye.Z).externalReferer(d).then((function(e){e&&(0,Ze.QF)(t,e[0])})).catch((function(){return n("SCRIBE_EXTERNAL_REFERER")}));return Promise.all([f,u])};var Le=o.Z,De=p,Te=_.w,Ae=I,Oe=function(e,t){var i,r=Object.keys(e),n=!1,o=function(){n||(i=A()(t),r.forEach((function(t){return i.bind(t,(function(i){var r;(0,Q.z)(window.location.pathname)||(r=e[t],function(e){e.preventDefault(),e.stopPropagation(),r(e)})(i)}))})))};return K(o,[U,x]),function(){n=!0,W(o),i&&i.unbind(r)}},Me=a.Z,Pe=null,Re=null,Ue=s.Z,xe=oe.wR,Ne=c.ZP,Ce=re,ze=te,Fe=r,je=u.Z,Ve=l.Z,Be=d.Z,Ge=de,He=f.Z,Ke=n.Z,Xe=fe,We=he,qe=Ie,$e=v.Z,Qe=ve.Z},944681:(e,t,i)=>{i.d(t,{k:()=>n,Q:()=>o});const r=function(e,t,i){var r=new Date,n=r.getFullYear()-e,o=r.getMonth()+1-t;if(o<0)n-=1;else if(0===o){r.getDate()-i<0&&(n-=1)}return n};var n=function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return e&&t&&i?r(e,t,i)<18:n},o=function(){return(new Date).getFullYear()-120}},396987:(e,t,i)=>{i.d(t,{QF:()=>s,Qo:()=>c,hZ:()=>a});var r=i(918621),n="external_referer",o=604800;function a(e){return(0,r.ej)({cookieName:n,featureSwitches:e})}function s(e,t){var i=t&&t.encryptedReferralDetails||"",a=t&&t.encryptedReferer||"",s=t&&void 0!==t.referralType?"".concat(t.referralType):"";if(i||a||s){var c="".concat(encodeURIComponent(a),"|").concat(s,"|").concat(encodeURIComponent(i));(0,r.d8)(n,c,{cookieOptions:{maxAge:o,encode:function(e){return e}},featureSwitches:e})}}var c=function(e){var t=a(e);if(t&&t.split("|").length>1){var i=t.split("|");return{encryptedReferer:i[0],referralType:i[1],encryptedReferralDetails:i[2]}}}},833773:(e,t,i)=>{i.d(t,{zI:()=>l,ti:()=>d,bi:()=>f});i(396987);var r=i(754544),n=i(580681),o=i(615985),a=(i(143832),i(267944),i(577058),i(142303),i(818420),i(401388)),s=i(2430),c=i(782826),u=Object.freeze({Web:0,Email:1,Partner:2,Market:3,Access:4});function l(e){var t,i,l,d,f=(0,r.Z)({},null);e.emptyIfServerRendered;var v=e.httpReferer,p=void 0===v?null!==(t=document.referrer)&&void 0!==t?t:"":v,_=e.query,h=void 0===_?null!==(i=window.location.search)&&void 0!==i?i:{}:_,m=e.requestUrl,g=void 0===m?window.location.href:m,y=function(e){var t={};return["cn","iid","original_referer","nid","refsrc","ref_src","ref_url","s","partner","uid","url"].forEach((function(i){t[i]=(0,s.BX)(e[i])})),t}(h),b=y.cn,w=y.iid,k=y.nid,Z=y.original_referer,E=y.partner,S=y.ref_src,I=y.ref_url,L=y.refsrc,D=y.s,T=y.uid,A=y.url,O=Object.freeze({});if(null!=e.referralMapping?O=e.referralMapping:null!=e.featureSwitches&&(O=function(e){var t,i={},r=e.getArrayValue("shortened_tracking_parameters_mapping"),a=(0,o.Z)(r);try{for(a.s();!(t=a.n()).done;){var s=t.value.split(":");if(2===s.length){var c=(0,n.Z)(s,2),u=c[0],l=c[1];i[u]=l}}}catch(d){a.e(d)}finally{a.f()}return i}(e.featureSwitches)),S)f={referral_type:u.Web,referral_details_str:S};else if("email"===L||w){var M;try{M=window.atob(b)}catch(x){M="invalid"}var P=["twcamp^email",k&&"twsrc^".concat(k),T&&"twcon^".concat(T),w&&"twterm^".concat(w),"twgr^".concat(M)].filter(Boolean).join("|");f={referral_type:u.Email,referral_details_str:P}}else if(D){var R=O[D];R&&(f={referral_type:u.Web,referral_details_str:R})}else E?f={referral_type:u.Partner,referral_details_str:"twsrc^".concat(E)}:p&&c.ZP.isExternalUrl(p)&&(f={referral_type:u.Web});var U=null!==(l=null!==(d=null!=I?I:Z)&&void 0!==d?d:A)&&void 0!==l?l:p;return U.length>256&&(U=U.substring(0,256)),U&&(f=(0,r.Z)((0,r.Z)({},f),{},{referer:U})),(0,a.Z)(f)||(f=(0,r.Z)((0,r.Z)({},f),{},{url:g})),f}function d(e){return e.referral_type===u.Access}function f(e){return e.referral_type===u.Web}},355335:(e,t,i)=>{i.d(t,{Z:()=>u,k:()=>c});var r=i(580681),n=(i(559691),i(501536),i(884608),i(636438),i(751005),i(959876),i(143832),i(267944),i(739128),i(276524),i(245806)),o=i(307264),a=i(187786),s=i(113998);var c=(0,o.cn)(function(){try{return"true"===sessionStorage.getItem("jfDev")}catch(e){return!1}}());const u=function(){var e=(0,s.useHistory)(),t=(0,s.useLocation)(),i=(0,a.KO)(c),o=(0,r.Z)(i,2),u=o[0],l=o[1];n.useEffect((function(){var e=new URLSearchParams(t.search).get("jfDev"),i=sessionStorage.getItem("jfDev"),r=!1;e?("1"!==e&&"true"!==e||(r=!0),"0"!==e&&"false"!==e||(r=!1)):r="true"===i,r?(l(!0),sessionStorage.setItem("jfDev","true")):(l(!1),sessionStorage.removeItem("jfDev"))}),[t.search,l]);var d=n.useCallback((function(i){var r=new URLSearchParams(t.search);i?(r.set("jfDev","1"),sessionStorage.setItem("jfDev","true")):(r.delete("jfDev"),sessionStorage.removeItem("jfDev"));var n=r.toString();e.push({pathname:t.pathname,search:n}),l(i)}),[e,t.pathname,t.search,l]);return{isDev:u,enableDev:n.useCallback((function(){d(!0)}),[d]),disableDev:n.useCallback((function(){d(!1)}),[d])}}},163390:(e,t,i)=>{i.d(t,{OX:()=>v,Od:()=>d,PN:()=>p,uq:()=>l,wR:()=>h});var r=i(861772),n=(i(143832),i(267944),i(203796),i(559691),i(501536),i(228775),i(251067)),o=i(522171),a=i(111677),s=i.n(a),c=i(912021),u=i(323265),l=Object.freeze({toggleCommandCenter:"mod+k",openKeyboardShortcuts:"?",swipeLeft:"left",swipeRight:"right",nextItem:"j",previousItem:"k",refresh:".",nightMode:"z",bookmark:"b",block:"x",mute:"u",newTweet:"n",newMessage:"m",toggleDMDrawer:"i",goHome:"g h",goExplore:"g e",goNotifications:"g n",goMentions:"g r",goProfile:"g p",goLikes:"g l",goLists:"g i",goMessages:"g m",goGrok:"g g",goToDrafts:"g f",goToScheduled:"g t",goSettings:"g s",goToUser:"g u",goBookmarks:"g b",goTopArticles:"g a",goDisplay:"g d",search:"/",audio:{dock:"a d",play:"a space",mute:"a m"},video:{play1:"k",play2:"space",mute:"m"},columns:{createNewColumn:"c n",duplicateColumn:"c d",focusOnReorderButton:"c r",lastColumn:"c 0",nextColumn:"]",nthColumn:"c 1..9",prevColumn:"[",removeColumn:"c backspace",toggleColumnOptions:"c o",undoRemoveColumn:"c u"},decks:{createNewDeck:"d n",editActiveDeck:"d e",lastPinnedDeck:"d 0",manageAllDecks:"d m",nthPinnedDeck:"d 1..9"},labs:{openCommandCenter:">"}}),d=(0,c.Z)((function(e){var t=e?[{description:s().b7fa0cfe,keys:l.goTopArticles,universal:!1}]:[];return[].concat((0,r.Z)([]),(0,r.Z)((0,n.fH)(n.vw.prod)?[]:[{description:"Toggle Command Center",keys:"".concat(f," k"),universal:!1}]),[{description:s().d5696fcc,keys:l.openKeyboardShortcuts,universal:!0},{description:s().a83d4280,keys:l.nextItem,universal:!0},{description:s().g0048656,keys:l.previousItem,universal:!0},{description:s().a690c4d0,keys:"Space",universal:!0},{description:s().e893811a,keys:l.refresh,universal:!1},{description:s().ha8209bc,keys:l.goHome,universal:!1},{description:s().fcf3e54c,keys:l.goExplore,universal:!1},{description:s().eb75875e,keys:l.goNotifications,universal:!1},{description:s().cdb53d7a,keys:l.goMentions,universal:!1},{description:s().fa98627a,keys:l.goProfile,universal:!1},{description:s().d4ebc798,keys:l.goToDrafts,universal:!1},{description:s().fd6a3f30,keys:l.goToScheduled,universal:!1},{description:s().d7b8ebaa,keys:l.goLikes,universal:!1},{description:s().b0041756,keys:l.goLists,universal:!1},{description:s().d4986f86,keys:l.goMessages,universal:!1},{description:s().h5860a68,keys:l.goGrok,universal:!1},{description:s().bb081ea2,keys:l.goSettings,universal:!1},{description:s().i3145aa0,keys:l.goBookmarks,universal:!1}],t,[{description:s().eee2ed92,keys:l.goToUser,universal:!1},{description:s().ee5ccf3e,keys:l.goDisplay,universal:!1}])})),f=u.ZP.isMac()?"⌘":"CTRL",v=function(){return[{description:s().ab3d53f8,keys:l.newTweet,universal:!1},{description:s().de94bda6,keys:"".concat(f," Enter"),universal:!1},{description:s().e736990a,keys:l.newMessage,universal:!1},{description:s().a9ae1e78,keys:l.search,universal:!1},{description:s().fe731016,keys:o.Z.shortcuts.like,universal:!1},{description:s().d17df548,keys:o.Z.shortcuts.reply,universal:!1},{description:s().g062295e,keys:o.Z.shortcuts.retweet,universal:!1},{description:s().h01621a4,keys:o.Z.shortcuts.share,universal:!0},{description:s().gb303814,keys:l.bookmark,universal:!1},{description:s().c03b1126,keys:l.mute,universal:!1},{description:s().ebd2abb2,keys:l.block,universal:!1},{description:s().hc6c5510,keys:"Enter",universal:!0},{description:s().eebdef38,keys:o.Z.shortcuts.openMediaModal,universal:!0},{description:s().b488758c,keys:l.toggleDMDrawer,universal:!1}]},p=function(){return[{description:s().c82314e0,keys:l.video.play1,universal:!0},{description:s().c82314e0,keys:l.video.play2,universal:!0},{description:s().b881560e,keys:l.video.mute,universal:!0},{description:s().a94f7302,keys:l.audio.dock,universal:!1},{description:s().a7e604c6,keys:l.audio.play,universal:!1},{description:s().f978c4fc,keys:l.audio.mute,universal:!1}]},_=(0,c.Z)((function(e){var t=d(e),i=v(),n=p(),o={};return[].concat((0,r.Z)(i),(0,r.Z)(n),(0,r.Z)(t),(0,r.Z)([])).forEach((function(e){var t=e.description,i=e.keys;Array.isArray(i)?i.forEach((function(e){o[e]=t})):o[i]=t})),JSON.stringify(o)})),h=function(e,t){if(t)return{dataSet:{"at-shortcutkeys":_(e)}}}},166677:(e,t,i)=>{i.d(t,{$r:()=>re,O9:()=>te,ZP:()=>ne,vK:()=>oe});var r,n,o,a,s,c=i(754544),u=i(130965),l=(i(563431),i(369730),i(688715)),d=i(111677),f=i.n(d),v=i(653843),p=i(122123),_=i(417144),h=i(884495),m=i(716233),g=i(540387),y=f().b8098028,b=f().b36f4170,w=f().hab3781e,k=f().f6c4fb02,Z=f().g0af3dd2,E=f().b8c8b0be,S=f().ica6d718,I=f().b28d44f7({limit:15}),L=f().i1db7d13,D=f().baac0ed7,T=L({limit:512}),A=f().a22385bb,O=f().be0440bf,M=A({limit:140}),P=f().feeba512,R=f().db123c02,U=f().db6001e7({limit:5}),x=f().eb96d952,N=f().i859a9d4,C=f().b3880588,z=f().ca058b68,F=f().id24379c,j=f().h4d7cbcc,V=(0,l.ju)("https://support.x.com/articles/20156423"),B=(0,l.ju)("https://help.x.com/using-twitter/twitter-videos"),G=function(e){return{text:e}},H=function(e){return{text:e,action:{label:N,link:V}}},K=function(e){return{text:e,action:{label:N,link:B}}},X=(r={},(0,u.Z)(r,v.Y7.GIF_IS_TOO_LARGE,G(I)),(0,u.Z)(r,v.Y7.CANNOT_BE_PROCESSED,G(y)),(0,u.Z)(r,v.Y7.FILE_IS_NOT_AN_IMAGE,G(w)),r),W=(n={},(0,u.Z)(n,_.d.ZERO_FILE_LENGTH,G(b)),(0,u.Z)(n,_.d.TIMEOUT,G(C)),n),q=(0,c.Z)((0,c.Z)({},W),{},(o={},(0,u.Z)(o,_.d.FILE_TOO_LARGE,G(U)),(0,u.Z)(o,_.d.UNSUPPORTED_MEDIA,H(R)),(0,u.Z)(o,_.d.INVALID_MEDIA,H(P)),o)),$=(0,c.Z)((0,c.Z)({},W),{},(a={},(0,u.Z)(a,_.d.FILE_TOO_LARGE,G(I)),(0,u.Z)(a,_.d.UNSUPPORTED_MEDIA,H(Z)),(0,u.Z)(a,_.d.INVALID_MEDIA,H(k)),a)),Q=(0,c.Z)((0,c.Z)({},W),{},(s={},(0,u.Z)(s,_.d.FILE_TOO_LARGE,G(T)),(0,u.Z)(s,_.d.UNSUPPORTED_MEDIA,K(S)),(0,u.Z)(s,_.d.INVALID_MEDIA,K(E)),s)),Y=Object.freeze({RESIZE:"resize",UPLOAD:"upload",METADATA:"metadata",MAXDURATION:"maxduration",MAXSIZE:"maxsize"}),J=1048576,ee=1073741824,te=function(e){return Object.values(Y).includes(e.type)},ie=function(e){var t=e.code,i=e.limit,r=e.type;if(t)switch(r){case Y.MAXSIZE:return t===m.BW.GIF_IS_TOO_LARGE?G(I):t===m.BW.VIDEO_IS_TOO_LARGE&&void 0!==i?G(i>=ee?D({limit:Math.round(i/ee)}):L({limit:Math.round(i/J)})):G(T);case Y.MAXDURATION:return void 0!==i?i>140?G(O({limit:Math.round(i/60)})):{text:A({limit:Math.round(i)}),action:{label:h.Z.LongerVideoUpload.defaultContent.actionLabel,link:{pathname:"/i/premium_sign_up?referring_page=".concat(h.Z.LongerVideoUpload.referringPage),external:!0}}}:G(M);case Y.RESIZE:return X[t];case Y.UPLOAD:if(e.isImage)return q[t];if(e.isGif)return $[t];if(e.isVideo)return Q[t];break;case Y.METADATA:return G(j)}},re=function(e){if(te(e))return e};function ne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:F,i=re(e);if(i){var r=e.message?"".concat(t," ").concat(e.message):t;return ie(i)||G(r)}}function oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:z;return e.type===p.gK.type&&e.code===p.gK.NO_DIMENSIONS?G(x):e.type===g.hb.type&&e.code===g.hb.NO_DIMENSIONS?K(E):G(t)}},221562:(e,t,i)=>{i.d(t,{BX:()=>Z,Uk:()=>g,Xj:()=>y,ZP:()=>A});var r,n=i(754544),o=i(457669),a=i(337011),s=i(130965),c=i(859151),u=i(580681),l=i(838596),d=i.n(l),f=i(595088),v=i(161821),p=i(184605),_=i(716233),h=i(774717),m=Object.freeze({LocalFile:"local_file",Remote:"remote"}),g=Object.freeze({Cancel:"cancel",Failure:"failure",Success:"success",Complete:"complete",Invalid:"invalid"}),y=Object.freeze({InProgress:"in_progress",Complete:"complete",Failure:"failure",Canceled:"canceled"}),b=function(e){return e?w(e):void 0},w=function(e){return(0,f.Z)(e).filter((function(e){var t=(0,u.Z)(e,2);t[0];return void 0!==t[1]})).map((function(t){var i=(0,u.Z)(t,2),r=i[0],n=i[1];return"object"===(0,c.Z)(n)?"".concat(r,"=").concat(k(e[r])):"".concat(r,"=").concat(String(n))})).join(";")},k=function(e){return(0,v.Z)(e).filter((function(e){return void 0!==e})).map(String).join(":")},Z=Object.freeze({Full:"full",Hash:"hash",Processing:"processing",SruUpload:"sru_upload",UploadSubmitUntilSruFinish:"upload_submit_until_sru_finish",Metadata:"metadata"}),E=Object.freeze({SruUpload:"sru_upload_no_eager",UploadSubmitUntilSruFinish:"upload_submit_until_sru_finish_no_eager"}),S=(r={},(0,s.Z)(r,Z.SruUpload,E.SruUpload),(0,s.Z)(r,Z.UploadSubmitUntilSruFinish,E.UploadSubmitUntilSruFinish),r),I=Object.freeze({All:"all",Short:"short",Medium:"medium",Long:"long",XLong:"xlong",L90to140s:"l90to140s",L140to300s:"l140to300s",L300to600s:"l300to600s",L600to1200s:"l600to1200s",L1200to1800s:"l1200to1800s",L1800to2700s:"l1800to2700s",L2700to3600s:"l2700to3600s",L3600to4500s:"l3600to4500s",L4500to5400s:"l4500to5400s",L5400to6300s:"l5400to6300s",L6300to7200s:"l6300to7200s",L7200to10800s:"l7200to10800s",L10800to14400s:"l10800to14400s",LGT14400s:"lgt14400s"}),L=function(e,t){return(0,p.Z)(e)&&(0,p.Z)(t)?Math.round(t-e):void 0},D=function(){return window.performance?window.performance.now():Date.now()},T=function(e,t){return e===_.xz.DMGif||e===_.xz.TweetGif?I.All:e!==_.xz.DMVideo&&e!==_.xz.TweetVideo&&e!==_.xz.AmplifyVideo||void 0===t?"":t<10?I.Short:t<20?I.Medium:t<45?I.Long:t<90?I.XLong:t<140?I.L90to140s:t<300?I.L140to300s:t<600?I.L300to600s:t<1200?I.L600to1200s:t<1800?I.L1200to1800s:t<2700?I.L1800to2700s:t<3600?I.L2700to3600s:t<4500?I.L3600to4500s:t<5400?I.L4500to5400s:t<6300?I.L5400to6300s:t<7200?I.L6300to7200s:t<10800?I.L7200to10800s:t<14400?I.L10800to14400s:I.LGT14400s},A=function(){function e(t){var i,r,n,a,s,c,u=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,o.Z)(this,e),this._pausedDuration={},this._pauseTimes={},this._startTimes={},this._eagerUploadDisabled=u,this._impressionId=d().v4(),this._keyPrefix=(r=(i=t).isExternal,n=i.mediaCategory,a=i.videoDuration,s=r?m.Remote:m.LocalFile,c=T(n,a),"".concat(s,":").concat(n,":").concat(c)),this.setMetadata({submitted:!1})}return(0,a.Z)(e,[{key:"reportOperationComplete",value:function(e,t){var i=this;(Array.isArray(e)?e:[e]).forEach((function(e){void 0!==i._pauseTimes[e]&&i.toggleOperationPaused(e,!1);var r=L(i._startTimes[e],D());if(i._keyPrefix&&void 0!==r){void 0!==i._pausedDuration[e]&&(r-=i._pausedDuration[e]);var n=i._getKey(e,t);i._record(n,r,e===Z.Full?i._metadata:e===Z.Metadata?i._fileMetadata:void 0),i._startTimes[e]=void 0}}))}},{key:"reportOperationStart",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(Array.isArray(e)?e:[e]).forEach((function(e){if(void 0===t._startTimes[e]&&(t._startTimes[e]=D(),t._keyPrefix&&i)){var r=t._getKey(e,"start");t._record(r,0)}}))}},{key:"reportUploadSubmit",value:function(){var e;if(null===(e=this._metadata)||void 0===e||!e.submitted){this.setMetadata({submitted:!0});var t=L(this._startTimes[Z.Full],D());if(this._keyPrefix&&void 0!==t){void 0!==this._pausedDuration[Z.Full]&&(t-=this._pausedDuration[Z.Full]);var i=this._getKey(Z.Full,"submit");this._record(i,t,this._metadata)}}}},{key:"setMetadata",value:function(e){this._metadata=(0,n.Z)((0,n.Z)({},this._metadata),e)}},{key:"setFileMetadata",value:function(e){this._fileMetadata=(0,n.Z)((0,n.Z)({},this._fileMetadata),e)}},{key:"toggleOperationPaused",value:function(e,t){if(t&&void 0===this._pauseTimes[e])this._pauseTimes[e]=D();else if(!t){var i=L(this._pauseTimes[e],D());void 0!==i&&(this._pausedDuration[e]=this._pausedDuration[e]?this._pausedDuration[e]+i:i,this._pauseTimes[e]=void 0)}}},{key:"_getKey",value:function(e,t){var i=this._eagerUploadDisabled&&S[e]||e;return"".concat(this._keyPrefix,":").concat(i,":").concat(t)}},{key:"_record",value:function(e,t,i){var r={duration_ms:t,impression_id:this._impressionId,metadata:b(i)};h.IM(e,r,"media_upload")}},{key:"_getStartTimes",value:function(){return this._startTimes}},{key:"_resetStartTimes",value:function(e){this._startTimes=(0,n.Z)({},e)}}]),e}()},716233:(e,t,i)=>{i.d(t,{BW:()=>h,SB:()=>k,TO:()=>E,Tz:()=>g,U$:()=>w,ff:()=>m,vC:()=>b,vn:()=>Z,xz:()=>y,y$:()=>p});i(134798);var r=i(182056),n=i(323265),o=i(540387),a=1024,s=1024*a,c=1,u=4096,l=2048,d=400,f=1500,v={Image:5,Gif:15,Avatar_Gif:5},p={Duration:{0:140,1:600,2:7200},Size:{0:512,1:1024,2:40960}},_=600,h={GIF_IS_TOO_LARGE:1,VIDEO_IS_TOO_LARGE:2},m={VIDEO_IS_TOO_LONG:1},g={MEDIA_NOT_FOUND:0,INVALID_MEDIA_CODE:1},y=Object.freeze({AmplifyVideo:"amplify_video",CommunityBanner:"community_banner_image",ListBanner:"list_banner_image",TweetImage:"tweet_image",TweetVideo:"tweet_video",TweetGif:"tweet_gif",DMImage:"dm_image",DMVideo:"dm_video",DMGif:"dm_gif",Subtitles:"subtitles",ProfileBanner:"banner_image"}),b=Object.freeze({Tweet:"tweet",Dm:"dm",CommunityBanner:"community_banner",ListBanner:"list_banner",ProfileBanner:"profile_banner",Avatar:"avatar",Verification:"verification",TwitterArticle:"twitter_article"}),w=function(e){var t=e.height,i=e.left,r=e.width,n=Math.round(t/2),o=Math.round(i+r/2);return"&salient_rect=".concat(o,",").concat(n,",1,1")};function k(e){var t,i=null===(t=e.featureSwitches)||void 0===t?void 0:t.isTrue("blue_longer_video_enabled"),r=function(e){return e.userClaims.isTrueAndEnabled("subscriptions_long_video_upload")||e.featureSwitches.isTrue("subscriptions_long_video_upload_override")||!1}(e);return i||r?1:0}function Z(e,t,i,h,m){var g,y,w=null==h?void 0:h.location,Z=k({featureSwitches:e,userClaims:t});if(i.isSubtitles)g=0;else if(i.isGif)switch(w){case b.Avatar:g=e.getNumberValue("media_async_upload_max_avatar_gif_size",v.Avatar_Gif)*s;break;case b.Dm:case b.Tweet:default:g=e.getNumberValue("media_async_upload_max_gif_size",v.Gif)*s}else{if(!(i instanceof o.ZP))return function(e,t,i){var o;switch(t){case b.Avatar:o=d;break;case b.CommunityBanner:case b.ListBanner:case b.ProfileBanner:o=f;break;default:o=n.ZP.isDesktopOS()?u:l}var c=e.getNumberValue("media_async_upload_max_image_size",v.Image)*s;return r.Z.getConnectionInfo().then((function(r){var s=c;return"slow-2g"===r.effectiveType?s=e.getNumberValue("responsive_web_media_upload_limit_slow_2g",150)*a:i||"2g"===r.effectiveType?s=e.getNumberValue("responsive_web_media_upload_limit_2g",250)*a:"3g"===r.effectiveType?s=e.getNumberValue("responsive_web_media_upload_limit_3g",1500)*a:"4g"!==r.effectiveType||n.ZP.isDesktopOS()||t!==b.Tweet||(o=u),{maxDimension:o,maxFileSize:Math.min(c,s)}}),(function(){return{maxDimension:o,maxFileSize:c}}))}(e,w,m);if(1===Z){if("dm"===w)y=e.getNumberValue("media_async_upload_longer_dm_video_max_video_duration",_);else y=e.getNumberValue("media_async_upload_longer_video_max_video_duration",p.Duration[Z])*c;g=e.getNumberValue("media_async_upload_longer_video_max_video_size",p.Size[Z])*s}else y=e.getNumberValue("media_async_upload_max_video_duration",p.Duration[Z])*c,g=e.getNumberValue("media_async_upload_max_video_size",p.Size[Z])*s}return Promise.resolve({maxFileSize:g,maxDuration:y})}function E(e){return!(n.ZP.isIOS()&&e.size>3e8)}},147595:(e,t,i)=>{i.d(t,{R:()=>n});var r=i(337394),n=function(e){var t=e.find((function(e){var t,i;return(null===(t=e.product)||void 0===t?void 0:t.rest_id)&&r.v5.premium[null===(i=e.product)||void 0===i?void 0:i.rest_id]&&"Inactive"!==e.state&&"Stripe"===e.payment_source})),i=e.find((function(e){var t,i;return(null===(t=e.product)||void 0===t?void 0:t.rest_id)&&r.v5.premium[null===(i=e.product)||void 0===i?void 0:i.rest_id]&&"Inactive"!==e.state&&"Twitter"!==e.payment_source&&"Ads"!==e.payment_source})),n=e.find((function(e){var t,i;return(null===(t=e.product)||void 0===t?void 0:t.rest_id)&&r.v5.premium[null===(i=e.product)||void 0===i?void 0:i.rest_id]&&"Inactive"!==e.state&&("Twitter"===e.payment_source||"Ads"===e.payment_source)}));return t||i||n}},192464:(e,t,i)=>{i.d(t,{Z:()=>u});var r=i(457669),n=i(337011),o=(i(666770),i(2138)),a=i(666536),s=i(624479),c=i(163889);const u=new(function(){function e(){var t=this;(0,r.Z)(this,e),this.usersInApp={},this._throttledInitialFetch=(0,o.Z)((function(){t.store.dispatch(s.ZP.fetchManyIfNeeded(Object.keys(t.usersInApp)))}),1500)}return(0,n.Z)(e,[{key:"init",value:function(e){this.store=e,this.usersInApp={}}},{key:"registerUserInApp",value:function(e){Object.keys(this.usersInApp).length>50&&(this.usersInApp={},(0,c.ZP)(new Error("Registered users in app has exceeded 50"),{level:"warning"})),this.usersInApp[e]?this.usersInApp[e]=this.usersInApp[e]+1:(this.usersInApp[e]=1,(0,a.Z)(this._throttledInitialFetch(),100))}},{key:"deregisterUserInApp",value:function(e){this.usersInApp[e]&&this.usersInApp[e]>1?this.usersInApp[e]=this.usersInApp[e]-1:delete this.usersInApp[e]}}]),e}())},946208:(e,t,i)=>{i.d(t,{Id:()=>o,ZP:()=>c,h_:()=>a});var r=i(457669),n=i(337011),o=(i(143832),i(41930),i(559691),i(501536),i(460196),i(884608),i(636438),i(751005),i(959876),[".srt","text/plain",""]),a=function(e){return-1!==o.indexOf(e.type)},s=function(e){return"WEBVTT FILE\r\n\r\n".concat(e.replace(/\{\\([ibu])\}/g,"</$1>").replace(/\{\\([ibu])1\}/g,"<$1>").replace(/\{([ibu])\}/g,"<$1>").replace(/\{\/([ibu])\}/g,"</$1>").replace(/(\d\d:\d\d:\d\d),(\d\d\d)/g,"$1.$2").replace(/\r\n\{\\an8\}/g," line:5%\r\n"))},c=function(){function e(t){var i=this;(0,r.Z)(this,e),this.fileHandle=new Blob([t],{type:"text/plain charset=UTF-8"}),t instanceof File&&(this.name=t.name),this.size=t.size,this.type=this.fileHandle.type,this.url=window.URL.createObjectURL(this.fileHandle),this.fileHandle.text&&this.fileHandle.text().then((function(e){i.vtt=URL.createObjectURL(new Blob([s(e)],{type:"text/plain charset=UTF-8"}))})),this.isVideo=!1,this.isImage=!1,this.isGif=!1,this.isSubtitles=!0}return(0,n.Z)(e,[{key:"dispose",value:function(){this.url&&window.URL.revokeObjectURL(this.url)&&window.URL.revokeObjectURL(this.vtt)}}]),e}()},540387:(e,t,i)=>{i.d(t,{Wv:()=>a,ZP:()=>c,hb:()=>s,jn:()=>o});var r=i(457669),n=i(337011),o=(i(134798),i(666770),i(559691),i(501536),i(460196),i(884608),i(636438),i(751005),i(959876),["video/mp4","video/quicktime"]),a=function(e){return-1!==o.indexOf(e.type)},s={type:"video-load",NO_DIMENSIONS:10,LOAD_FAILED:11,TOO_LARGE:12},c=function(){function e(t,i){(0,r.Z)(this,e),this.fileHandle=t,t instanceof File&&(this.name=t.name),this.size=t.size,this.type=t.type;try{this.url=window.URL.createObjectURL(this.fileHandle)}catch(n){this.url=""}this.isVideo=!0,this.isImage=!1,this.isGif=!1,this.isSubtitles=!1,this.isAmplify=!!i}return(0,n.Z)(e,[{key:"withDimensionsAndOrientation",value:function(e){var t=this;return function(e,t){return new Promise((function(i,r){var n=function(e,t){var i=new Error(e);i.code=t,i.type=s.type,r(i)},o=document.createElement("video");o.onloadedmetadata=function(){t||o.videoWidth&&o.videoHeight?i(o):n("Video lacks height or width",s.NO_DIMENSIONS)},o.onerror=function(){n("Error loading image",s.LOAD_FAILED)},o.src=e}))}(this.url,e).then((function(e){var i=e.duration,r=e.videoHeight,n=e.videoWidth;return t.width=n,t.height=r,t.duration=i,t.video=e,t.isBrowserSupported=!(0===r||0===n),t}))}},{key:"dispose",value:function(){this.url&&window.URL.revokeObjectURL(this.url)}}]),e}()}}]);

Kris_88
Board Warrior
Board Warrior
Posts: 1164
Joined: 2021-01-26, 11:18

Re: x.com error when signed on

Post by Kris_88 » 2025-08-17, 13:37

Try
dom.enable_performance_observer = true
in about:config page

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38378
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: x.com error when signed on

Post by Moonchild » 2025-08-17, 14:00

Kris_88 wrote:
2025-08-17, 13:37
in about:config page
Or, simpler:
Image2.png
You do not have the required permissions to view the files attached to this post.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Kris_88
Board Warrior
Board Warrior
Posts: 1164
Joined: 2021-01-26, 11:18

Re: x.com error when signed on

Post by Kris_88 » 2025-08-17, 14:04

Moonchild wrote:
2025-08-17, 14:00
Or, simpler:
Oh, you made this setting in the GUI.
Great.

User avatar
frostknight
Astronaut
Astronaut
Posts: 738
Joined: 2022-08-10, 02:25

Re: x.com error when signed on

Post by frostknight » 2025-08-18, 02:26

@moonchild Actually, the performance observers aren't needed I don't think... at least not to view the page.

I tried visiting a twitter page yesterday and I was able to view it as much as I used to before elon took over.

Something about the last two releases fixed it I think.

Unless elon did something which if it happened, was probably accidental.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

Kris_88
Board Warrior
Board Warrior
Posts: 1164
Joined: 2021-01-26, 11:18

Re: x.com error when signed on

Post by Kris_88 » 2025-08-18, 02:46

I have some images in my feed not showing up (spinner spins endlessly) when performance observer is not enabled. I've checked several times. It's possible that this setting has a more obvious effect in other cases on Twitter.

Sablesword
Apollo supporter
Apollo supporter
Posts: 33
Joined: 2017-04-01, 06:50

Re: x.com error when signed on

Post by Sablesword » 2025-08-19, 21:10

The more I poke around, the more the issue seems to be that

Code: Select all

"The connection to https://api.x.com/live_pipeline/events? ... 3357162496 was interrupted while the page was loading."
error. But my js-foo is far too weak to make sense of the js source dump.