V1P3R-FMG / free-map-genie

Chromium/Firefox extension that unlocks mapgenie pro features for free.
MIT License
145 stars 9 forks source link

[BUG] Unable to mark locations or create new presets #36

Open Tsuzuriko opened 8 months ago

Tsuzuriko commented 8 months ago

Describe the bug Trying to mark a location past the free limit brings up the pop-up telling to upgrade to Pro. As for the presets, trying to create a new preset, it also brings a pop-up saying it is a premium feature.

To Reproduce

  1. Go to any map
  2. Click on any marker after reaching the free limit / click on save preset.
  3. Pop-ups show up

Expected behavior Earlier today both marking and preset creation features worked correctly.

Screenshots Annotation 2024-01-09 130339 Annotation 2024-01-09 130350

Desktop:

Additional context Happening on both Chrome and Firefox, either logged in or as a mock user. Tried it on 2 different maps with the same results. Also tried reverting to 2.0.3 and applying the temporary console fix to no avail.

MrFusiion commented 8 months ago

Weird looks like the api filter is not working correctly for you, Do you have any errors in your console? And do you have the "declarative net request feature enabled in the browser action.

Edit: It looks like the non Declarative net request blocker is unable to block api on Firefox at the moment, So I hope I can fix it. In your case Idk why its not working in Chrome.

Tsuzuriko commented 8 months ago

I used the Clear function and reinstalled the extension on Chrome and now it seems to be working fine other than Presets, but that's already on your radar.

Tried doing the same on Firefox but I'm still having issues, I can live with that for now though. Still, I can't for the life of me figure out how to change the language of DevTools on Firefox, as F1 doesn't have language settings and my browser is already set to EN-US as the main language, yet the console shows a bunch of text in PT-BR.

I'll still send a pic of it just in case, but I apologize if the language barrier gets in the way. image image

Here it is in text form:


Alguns cookies estão usando incorretamente o atributo “SameSite“ 3
O cookie "XSRF-TOKEN" não tem o atributo "SameSite" com valor válido. Em breve, cookies sem o atributo "SameSite" ou com valor inválido serão tratados como "Lax". Significa que o cookie não será mais enviado em contextos de terceiros. Se sua aplicação depender da disponibilidade deste cookie em tais contextos, adicione o atributo "SameSite=None". Saiba mais sobre o atributo "SameSite" em https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite [the-lands-between](https://mapgenie.io/elden-ring/maps/the-lands-between)
O cookie "laravel_session" não tem o atributo "SameSite" com valor válido. Em breve, cookies sem o atributo "SameSite" ou com valor inválido serão tratados como "Lax". Significa que o cookie não será mais enviado em contextos de terceiros. Se sua aplicação depender da disponibilidade deste cookie em tais contextos, adicione o atributo "SameSite=None". Saiba mais sobre o atributo "SameSite" em https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite [the-lands-between](https://mapgenie.io/elden-ring/maps/the-lands-between)
O cookie "usprivacy" não tem o atributo "SameSite" com valor válido. Em breve, cookies sem o atributo "SameSite" ou com valor inválido serão tratados como "Lax". Significa que o cookie não será mais enviado em contextos de terceiros. Se sua aplicação depender da disponibilidade deste cookie em tais contextos, adicione o atributo "SameSite=None". Saiba mais sobre o atributo "SameSite" em https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite 2 [inject.js:3559:29](moz-extension://1438d113-43f0-41d2-a429-dcf66ee7ebfc/public/js/inject.js)
User not loggedin [content.js:11:98927](moz-extension://a17e0ac8-7fba-4506-b2be-9a421c27e058/content.js)
    setup moz-extension://a17e0ac8-7fba-4506-b2be-9a421c27e058/content.js:11
    <anonymous> moz-extension://a17e0ac8-7fba-4506-b2be-9a421c27e058/content.js:11
    <anonymous> moz-extension://a17e0ac8-7fba-4506-b2be-9a421c27e058/content.js:11
    <anonymous> moz-extension://a17e0ac8-7fba-4506-b2be-9a421c27e058/content.js:11
    <anonymous> moz-extension://a17e0ac8-7fba-4506-b2be-9a421c27e058/content.js:11
Falha no carregamento do <script> com origem em “https://cdn.ziffstatic.com/pg/mapgenie.js”. [the-lands-between:136:102](https://mapgenie.io/elden-ring/maps/the-lands-between)
Falha no carregamento do <script> com origem em “https://cdn.static.zdbb.net/js/z0WVjCBSEeGLoxIxOQVEwQ.min.js”. [the-lands-between:144:111](https://mapgenie.io/elden-ring/maps/the-lands-between)
Falha no carregamento do <script> com origem em “https://www.googletagmanager.com/gtag/js?id=G-ZZRVRWZWGJ”. [the-lands-between:157:89](https://mapgenie.io/elden-ring/maps/the-lands-between)
Falha no carregamento do <script> com origem em “https://cdn.mapgenie.io/js/map.js?id=a1254c81de76af0bf6d400c106c1187e”. [the-lands-between:1060:92](https://mapgenie.io/elden-ring/maps/the-lands-between)
Falha no carregamento do <script> com origem em “https://sb.scorecardresearch.com/cs/6036202/beacon.js”. [the-lands-between:1:1](https://mapgenie.io/elden-ring/maps/the-lands-between)
Initial Filter 
Object { locationIds: null, categoryIds: null, groupIds: null, tagIds: null, regionIds: null, routeWaypoints: null, highlightRegions: false, zoom: undefined, search: null, rotation: null }
[map.js:1:575834](https://cdn.mapgenie.io/js/map.js?ready&id=a1254c81de76af0bf6d400c106c1187e)
Adding locations took 1 ms. [map.js:1:448059](https://cdn.mapgenie.io/js/map.js?ready&id=a1254c81de76af0bf6d400c106c1187e)
WebGL warning: texImage: Alpha-premult and y-flip are deprecated for non-DOM-Element uploads.
Unknown message type: 
Object { type: "fmg:attached" }
[map.js:1:482334](https://cdn.mapgenie.io/js/map.js?ready&id=a1254c81de76af0bf6d400c106c1187e)
WebGL warning: texImage: Alpha-premult and y-flip are deprecated for non-DOM-Element uploads. 6
WebGL warning: texImage: Alpha-premult and y-flip are deprecated for non-DOM-Element uploads. 9
WebGL warning: texImage: Alpha-premult and y-flip are deprecated for non-DOM-Element uploads. 8
Uncaught (in promise) Error: Promise timed out: Failed to get element #nitro-floating-wrapper.
    p moz-extension://a17e0ac8-7fba-4506-b2be-9a421c27e058/content.js:11
    s moz-extension://a17e0ac8-7fba-4506-b2be-9a421c27e058/content.js:11
    setTimeout handler*h/< moz-extension://a17e0ac8-7fba-4506-b2be-9a421c27e058/content.js:11
    h moz-extension://a17e0ac8-7fba-4506-b2be-9a421c27e058/content.js:11
    v moz-extension://a17e0ac8-7fba-4506-b2be-9a421c27e058/content.js:11
    cleanupProUpgradeAds moz-extension://a17e0ac8-7fba-4506-b2be-9a421c27e058/content.js:11
    setup moz-extension://a17e0ac8-7fba-4506-b2be-9a421c27e058/content.js:11
    async* moz-extension://a17e0ac8-7fba-4506-b2be-9a421c27e058/content.js:11
    async* moz-extension://a17e0ac8-7fba-4506-b2be-9a421c27e058/content.js:11
    <anonymous> moz-extension://a17e0ac8-7fba-4506-b2be-9a421c27e058/content.js:11
    <anonymous> moz-extension://a17e0ac8-7fba-4506-b2be-9a421c27e058/content.js:11
[content.js:11:6274](moz-extension://a17e0ac8-7fba-4506-b2be-9a421c27e058/content.js)
O recurso em “https://cdn.ziffstatic.com/pg/mapgenie.prebid.js” pré-carregado com carga antecipada de link não foi usado em alguns segundos. Verifique se todos os atributos da tag de pré-carregamento estão definidos corretamente.
MrFusiion commented 8 months ago

Well the language is not a big problem the line numbers and functions names are still in English those are the only important things. But the errors don't give much info I afraid.

For the Firefox version all I know at the moment is that Non declarative net request feature is not fully working.

Can you check if its enabled, and if not when you enable it you still get the same error? image

Tsuzuriko commented 8 months ago

Yeah it was enabled. Wish I could help more, but the console seems to be pretty much the same. image image