GetScatter / scatter-js

Importable JavaScript library that allows web applications to directly interface with Scatter Desktop, Classic and Mobile.
MIT License
262 stars 148 forks source link

Scatter not found in Firefox #165

Closed dawsbot closed 4 years ago

dawsbot commented 4 years ago

When using a firefox browser from recent history (version 57 released August 2017. Download here) and the following setup code, our web application is unable to connect to scatter. There was no response at all and no console errors. This works in all other desktop browsers, and it did connect properly using Firefox nightly:

import ScatterJS from '@scatterjs/core';
import ScatterEOS from '@scatterjs/eosjs2';
import ScatterLynx from '@scatterjs/lynx';
import { Api, JsonRpc } from 'eosjs';
import { WALLET_PACK } from '../../../config/endpoint-config';

export const SCATTER_ID = 'scatter';
export const LYNX_ID = 'lynx';

ScatterJS.plugins(new ScatterEOS(), new ScatterLynx({ Api, JsonRpc }));

export { ScatterJS };

export const network = ScatterJS.Network.fromJson(WALLET_PACK);
export const unmodifiedNetwork = WALLET_PACK;

export const rpc = new JsonRpc(network.fullhost());

Is this a known issue? You can see this behavior on our site at https://everipedia.org


My Environment

image

image

Working Version

As stated above, this was not an issue with firefox nightly

image

dawsbot commented 4 years ago

I spoke with NSJames over Telegram and he squashed this bug 🕷️ 🔨 🙌