function Url() { const _source = (this && this.source) || source; const _java = (this && this.java) || java; if (!_source || !_java) { console.error('Url() environment error: source or java is undefined'); return 'https://www.mhtmh.com'; } var original = { "sourceurl": "https://www.mhtmh.com", "Urls": [] }; if (!_source.getVariable() || _source.getVariable() == '') { _source.setVariable(JSON.stringify(original, null, "\t")); _java.toast('已初始化'); } try { return JSON.parse(_source.getVariable()).sourceurl; } catch (e) { console.error('Url() JSON parse error:', e.message); return 'https://www.mhtmh.com'; } }