joue-quroi / spoof-timezone

A privacy related add-on to spoof the timezone that is returned by your browser
http://add0n.com/spoof-timezone.html
Mozilla Public License 2.0
66 stars 14 forks source link

Break Azure Portal #34

Open EdiWang opened 6 months ago

EdiWang commented 6 months ago

This extension will make Azure portal throw error, Azure portal feature like notification icon won't be open.

image

pEzkBHKK1nDK.js:1 
 [fx]  12:30:31 PM MsPortalFx.Base.Diagnostics.ErrorReporter 1 MsPortalFx.Base.Diagnostics.ErrorReporter: message: t.toRelativeString is not a function
name: TypeError
stack: TypeError: t.toRelativeString is not a function
    at i.Widget.timestampToString (https://portal.azure.com/Content/Dynamic/EcVpeh5D0huZ.js:2:4595)
    at https://portal.azure.com/Content/Dynamic/EcVpeh5D0huZ.js:2:8021
    at Array.forEach (<anonymous>)
    at i.Widget._updateTimeSinceNotified (https://portal.azure.com/Content/Dynamic/EcVpeh5D0huZ.js:2:7962)
    at i.Widget.toggleNotificationsContextPane (https://portal.azure.com/Content/Dynamic/EcVpeh5D0huZ.js:2:3168)
    at https://portal.azure.com/Content/Dynamic/WAon2At5mTWP.js:343:10794

Object
a   @   pEzkBHKK1nDK.js:1

and also

_KtDLBeKnYbX.js:64 
 Uncaught TypeError: t.getTime is not a function
    at n.getFilterItemsForTimeContext (https://hosting.azureportal.chinacloudapi.cn/appinsights/Content/Dynamic/RU0TdmRCKblo.js:12:2601)
    at https://hosting.azureportal.chinacloudapi.cn/appinsights/Content/Dynamic/djFZ_g6HBx42.js:31:3899
    at https://portal.azure.cn/Content/Dynamic/_KtDLBeKnYbX.js:88:1791
    at Array.forEach (<anonymous>)
    at e.callback (https://portal.azure.cn/Content/Dynamic/_KtDLBeKnYbX.js:88:1770)
    at Function.notifySubscribers (https://portal.azure.cn/Content/Dynamic/_KtDLBeKnYbX.js:43:19965)
    at o.notifySubscribers (https://portal.azure.cn/Content/Dynamic/WfdV03mFTcsq.js:1:83396)
    at Function.valueHasMutated (https://portal.azure.cn/Content/Dynamic/_KtDLBeKnYbX.js:43:21727)
    at t (https://portal.azure.cn/Content/Dynamic/_KtDLBeKnYbX.js:43:21445)
    at Oe (https://portal.azure.cn/Content/Dynamic/WfdV03mFTcsq.js:1:80908)
    at https://portal.azure.cn/Content/Dynamic/WfdV03mFTcsq.js:1:94283
    at e.applyChange (https://portal.azure.cn/Content/Dynamic/WfdV03mFTcsq.js:1:94326)
    at https://portal.azure.cn/Content/Dynamic/WfdV03mFTcsq.js:1:103009
    at Object.usingState (https://portal.azure.cn/Content/Dynamic/WfdV03mFTcsq.js:1:72977)
    at Array.<anonymous> (https://portal.azure.cn/Content/Dynamic/WfdV03mFTcsq.js:1:102977)
    at e.handleMessage (https://portal.azure.cn/Content/Dynamic/_KtDLBeKnYbX.js:64:4953)
    at e.handleEventMessage (https://portal.azure.cn/Content/Dynamic/WfdV03mFTcsq.js:1:103463)
    at Array.<anonymous> (https://portal.azure.cn/Content/Dynamic/WfdV03mFTcsq.js:1:105651)
    at e.handleMessage (https://portal.azure.cn/Content/Dynamic/_KtDLBeKnYbX.js:64:4953)
    at _handleMessage (https://portal.azure.cn/Content/Dynamic/_KtDLBeKnYbX.js:64:11760)
    at D (https://portal.azure.cn/Content/Dynamic/_KtDLBeKnYbX.js:64:11461)
    at e._handler (https://portal.azure.cn/Content/Dynamic/_KtDLBeKnYbX.js:64:11921)
    at e._processInnerList (https://portal.azure.cn/Content/Dynamic/_KtDLBeKnYbX.js:64:3644)
    at e._processOuterList (https://portal.azure.cn/Content/Dynamic/_KtDLBeKnYbX.js:64:3896)
    at e.addItem (https://portal.azure.cn/Content/Dynamic/_KtDLBeKnYbX.js:64:4079)
From RPC: fx -> AppInsightsExtension