Waarom finicity.com in kpn modem?

Pagina: 1
Acties:

Vraag


Acties:
  • 0 Henk 'm!

  • Jan_Klaassen768
  • Registratie: November 2005
  • Laatst online: 26-09 09:24
Iemand enig idee waarom de interface van mijn KPN modem een javascript van finicity.com probeert te laden. Mijn noscript blokkeert dit maar ik ben wel nieuwsgierig.

Ik zie dat het een fintech bedrijf onder Mastercard is maar snap de link met mijn modem niet. Op de site van KPN kan ik, geheel naar verwachting, niks vinden.
Google helpt ook niet en dit is 1e en enige keer dat me deze site opgevallen is.

Misschien dat iemand met kennis van zaken inhoudelijk kan aangeven wat dit script doet, ik kan er geen chocola van maken:
https://connect2.finicity...k/finicity-connect.min.js

Alle reacties


Acties:
  • 0 Henk 'm!

  • Speedmaster
  • Registratie: Juli 2005
  • Laatst online: 00:27

Speedmaster

Make my day...

Misschien script even tussen script tags zetten. Nu ga ik niet klikken op een JavaScript

Acties:
  • 0 Henk 'm!

  • Stroopwafels
  • Registratie: September 2009
  • Laatst online: 02-10 10:15
https://docs.finicity.com/c_connect-web-2-0-embed-iframe/
The Connect Web SDK is a Finicity JavaScript tag that accesses the SDK library. Add this tag anywhere you want to your web application.

Acties:
  • 0 Henk 'm!

  • kwibox
  • Registratie: Oktober 2022
  • Laatst online: 02-10 10:21
Offtopic: wat een draak van een modem/router zeg; stikt van de bugs, trage interface en simpele aanpassingen zoals een ander ip subnet/range instellen is niet mogelijk.

Die van mij snel vervangen door mn mikrotik, helaas hebben mijn ouders de kpn box nog hangen...

Acties:
  • 0 Henk 'm!

  • zx9r_mario
  • Registratie: Oktober 2004
  • Laatst online: 19:27
Is dat de Experiabox v12?

Acties:
  • 0 Henk 'm!

  • Jan_Klaassen768
  • Registratie: November 2005
  • Laatst online: 26-09 09:24
Een 'KPN BOX 12" model Sagemcomfast5359_KPN firmware V12.C.22.23.14

Acties:
  • 0 Henk 'm!

  • Jan_Klaassen768
  • Registratie: November 2005
  • Laatst online: 26-09 09:24
Speedmaster schreef op zaterdag 15 april 2023 @ 14:38:
Misschien script even tussen script tags zetten. Nu ga ik niet klikken op een JavaScript
Valide reactie. Dit is het script.

<!--
'use strict';var _typeof='function'==typeof Symbol&&'symbol'==typeof Symbol.iterator?function(b){return typeof b}:function(b){return b&&'function'==typeof Symbol&&b.constructor===Symbol&&b!==Symbol.prototype?'symbol':typeof b};(function(b,d){console.log('Connect SDK Version: 2.0.0');var g='finicityConnect';'function'==typeof define&&define.amd?define([g],d):'object'===('undefined'==typeof exports?'undefined':_typeof(exports))?module.exports=d():b[g]=d(),'u'!=('undefined'==typeof Promise?'undefined':_typeof(Promise))[0]||function(k,m){function q(z,A){return('undefined'==typeof A?'undefined':_typeof(A))[0]==z}function v(z,A){return A=function B(C,D,E,F,G,H){function I(J){return function(K){G&&(G=0,B(q,J,K))}}if(F=B.q,C!=q)return v(function(J,K){F.push({p:this,r:J,j:K,1:C,0:D})});if(E&&q(k,E)|q(m,E))try{G=E.then}catch(J){D=0,E=J}if(q(k,G))try{G.call(E,I(1),D=I(0))}catch(J){D(J)}else for(A=function e(J,K){return q(k,J=D?J:K)?v(function(L,M){w(this,L,M,E,J)}):z},H=0;H<F.length;)G=F[H++],q(k,C=G[D])?w(G.p,G.r,G.j,E,C):(D?G.r:G.j)(E)},A.q=[],z.call(z={then:function then(B,C){return A(B,C)},'catch':function _catch(B){return A(0,B)}},function(B){A(q,1,B)},function(B){A(q,0,B)}),z}function w(z,A,B,C,D){setTimeout(function(){try{C=D(C),D=C&&q(m,C)|q(k,C)&&C.then,q(k,D)?C==z?B(TypeError()):D.call(C,A,B):A(C)}catch(E){B(E)}})}function x(z){return v(function(A){A(z)})}window.Promise=v,v.resolve=x,v.reject=function(z){return v(function(A,B){B(z)})},v.all=function(z){return v(function(A,B,C,D){D=[],C=z.length||A(D),z.map(function(E,F){x(E).then(function(G){D[F]=G,--C||A(D)},B)})})}}('f','o'),function(k){var q=function m(){try{return!!Symbol.iterator}catch(A){return!1}}(),v=function(A){var B={next:function next(){var C=A.shift();return{done:void 0===C,value:C}}};return q&&(B[Symbol.iterator]=function(){return B}),B},w=function(A){return encodeURIComponent(A).replace(/%20/g,'+')},x=function(A){return decodeURIComponent(A).replace(/\+/g,' ')};'URLSearchParams'in k&&'a=1'===new URLSearchParams('?a=1').toString()||function a(){var A=function(C){if(Object.defineProperty(this,'_entries',{value:{}}),'string'==typeof C){if(''!==C){C=C.replace(/^\?/,'');for(var E,D=C.split('&'),F=0;F<D.length;F++)E=D[F].split('='),this.append(x(E[0]),1<E.length?x(E[1]):'')}}else if(C instanceof A){var G=this;C.forEach(function(H,I){G.append(H,I)})}},B=A.prototype;B.append=function(C,D){C in this._entries?this._entries[C].push(D.toString()):this._entries[C]=[D.toString()]},B.delete=function(C){delete this._entries[C]},B.get=function(C){return C in this._entries?this._entries[C][0]:null},B.getAll=function(C){return C in this._entries?this._entries[C].slice(0):[]},B.has=function(C){return C in this._entries},B.set=function(C,D){this._entries[C]=[D.toString()]},B.forEach=function(C,D){var E;for(var F in this._entries)if(this._entries.hasOwnProperty(F)){E=this._entries[F];for(var G=0;G<E.length;G++)C.call(D,E[G],F,this)}},B.keys=function(){var C=[];return this.forEach(function(D,E){C.push(E)}),v(C)},B.values=function(){var C=[];return this.forEach(function(D){C.push(D)}),v(C)},B.entries=function(){var C=[];return this.forEach(function(D,E){C.push([E,D])}),v(C)},q&&(B[Symbol.iterator]=B.entries),B.toString=function(){var C=[];return this.forEach(function(D,E){C.push(w(E)+'='+w(D))}),C.join('&')},k.URLSearchParams=A}()}('undefined'==typeof global?'undefined'==typeof window?'undefined'==typeof self?this:self:window:global),function(k){if(function m(){try{var w=new URL('b','http://a');return w.pathname='c%20d','http://a/c%20d'===w.href&&w.searchParams}catch(x){return!1}}()||function n(){var w=k.URL,x=function n(B,C){'string'!=typeof B&&(B+='');var D=document.implementation.createHTMLDocument('');if(window.doc=D,C){var E=D.createElement('base');E.href=C,D.head.appendChild(E)}var F=D.createElement('a');if(F.href=B,D.body.appendChild(F),F.href=F.href,':'===F.protocol||!/:/.test(F.href))throw new TypeError('Invalid URL');Object.defineProperty(this,'_anchorElement',{value:F})},z=x.prototype,A=function(B){Object.defineProperty(z,B,{get:function get(){return this._anchorElement[B]},set:function set(C){this._anchorElement[B]=C},enumerable:!0})};['hash','host','hostname','port','protocol','search'].forEach(function(B){A(B)}),Object.defineProperties(z,{toString:{get:function get(){var B=this;return function(){return B.href}}},href:{get:function get(){return this._anchorElement.href.replace(/\?$/,'')},set:function set(B){this._anchorElement.href=B},enumerable:!0},pathname:{get:function get(){return this._anchorElement.pathname.replace(/(^\/?)/,'/')},set:function set(B){this._anchorElement.pathname=B},enumerable:!0},origin:{get:function get(){var B={'http:':80,'https:':443,'ftp:':21}[this._anchorElement.protocol],C=this._anchorElement.port!=B&&''!==this._anchorElement.port;return this._anchorElement.protocol+'//'+this._anchorElement.hostname+(C?':'+this._anchorElement.port:'')},enumerable:!0},password:{get:function get(){return''},set:function set(){},enumerable:!0},username:{get:function get(){return''},set:function set(){},enumerable:!0},searchParams:{get:function get(){var B=new URLSearchParams(this.search),C=this;return['append','delete','set'].forEach(function(D){var E=B[D];B[D]=function(){E.apply(B,arguments),C.search=B.toString()}}),B},enumerable:!0}}),x.createObjectURL=function(){return w.createObjectURL.apply(w,arguments)},x.revokeObjectURL=function(){return w.revokeObjectURL.apply(w,arguments)},k.URL=x}(),void 0!==k.location&&!('origin'in k.location)){var v=function(){return k.location.protocol+'//'+k.location.hostname+(k.location.port?':'+k.location.port:'')};try{Object.defineProperty(k.location,'origin',{get:v,enumerable:!0})}catch(w){setInterval(function(){k.location.origin=v()},100)}}}('undefined'==typeof global?'undefined'==typeof window?'undefined'==typeof self?this:self:window:global)})(window,function(){function b(L){var M=setInterval(g,1e3,{type:B,selector:L});G=function onMessageFn(N){var O=N.data.data,P=N.data.type;N.origin===H&&(P===v?clearInterval(M):P===x?d(N.data.url):P===z?(F.success(O),K.destroy()):P===w?(F.cancel(O),K.destroy()):P===A?(F.error(O),K.destroy()):P===D?F.route(N.data):P===E&&F.user(N.data))},window.addEventListener('message',G)}function d(L){var M=window.top.outerHeight/2+window.top.screenY-q/2,N=window.top.outerWidth/2+window.top.screenX-m/2,O=window.open(L,'targetWindow','toolbar=no,location=no,status=no,menubar=no,width='+m+',height='+q+',top='+M+',left='+N);O.focus();var P=setInterval(function(){O.closed&&(clearInterval(P),g({type:C,closed:!0}))},1e3)}function g(L){I&&I.contentWindow&&I.contentWindow.postMessage(L,H)}var k='finicityConnectIframe',m=600,q=600,v='ack',w='cancel',x='url',z='done',A='error',B='ping',C='window',D='route',E='user',F,G,H,I,J;document.addEventListener('DOMContentLoaded',function(){var L=document.createElement('style');L.type='text/css',L.innerHTML='#'+k+'{\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n z-index: 10;\n background: rgba(0,0,0,0.8);\n }',document.getElementsByTagName('head')[0].appendChild(L)});var K={destroy:function destroy(){I&&I.parentNode&&I.parentNode.removeChild(I),J&&J.parentNode&&J.parentNode.removeChild(J),I=void 0,J=void 0,window.removeEventListener('message',G)},launch:function launch(L){var M=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},N=!!M.selector;if(F=M,I&&I.parentNode)throw new Error('You must destroy the iframe before you can open a new one. Call finicityConnect.destroy()');return new Promise(function(O,P){M.success=M.success||function(T){O(T)},M.error=M.error||function(T){P(T)},M.loaded=M.loaded||function(){},M.cancel=M.cancel||function(T){P(T)},M.route=M.route||function(){},M.user=M.user||function(){};var Q=document.querySelectorAll('meta[name="viewport"]');0===Q.length&&(J=document.createElement('meta'),J.setAttribute('name','viewport'),J.setAttribute('content','initial-scale=1'),document.head.appendChild(J)),I=document.createElement('iframe'),I.src=L,I.setAttribute('id',k),I.setAttribute('frameborder','0'),I.setAttribute('scrolling','no'),M.overlay&&I.setAttribute('style','background: '+M.overlay+';');var R=document.querySelector(M.selector)||document.body;R.appendChild(I),H=new URL(L).origin;var S=!1;I.onload=function(){S||(b(N),M.loaded(),S=!0)}})}};return K});

//# sourceMappingURL=finicity-connect.min.js.map
-->

Acties:
  • +1 Henk 'm!

  • AW_Bos
  • Registratie: April 2002
  • Laatst online: 01:03

AW_Bos

Liefhebber van nostalgie... 🕰️

Ik neem even de moeite om het tussen code-tags te plaatsen, en de spaghetti te ontrafen

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
<!--
'use strict';
var _typeof = 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator ? function(b) {
    return typeof b
} : function(b) {
    return b && 'function' == typeof Symbol && b.constructor === Symbol && b !== Symbol.prototype ? 'symbol' : typeof b
};
(function(b, d) {
    console.log('Connect SDK Version: 2.0.0');
    var g = 'finicityConnect';
    'function' == typeof define && define.amd ? define([g], d) : 'object' === ('undefined' == typeof exports ? 'undefined' : _typeof(exports)) ? module.exports = d() : b[g] = d(), 'u' != ('undefined' == typeof Promise ? 'undefined' : _typeof(Promise))[0] || function(k, m) {
            function q(z, A) {
                return ('undefined' == typeof A ? 'undefined' : _typeof(A))[0] == z
            }

            function v(z, A) {
                return A = function B(C, D, E, F, G, H) {
                    function I(J) {
                        return function(K) {
                            G && (G = 0, B(q, J, K))
                        }
                    }
                    if (F = B.q, C != q) return v(function(J, K) {
                        F.push({
                            p: this,
                            r: J,
                            j: K,
                            1: C,
                            0: D
                        })
                    });
                    if (E && q(k, E) | q(m, E)) try {
                        G = E.then
                    } catch (J) {
                        D = 0, E = J
                    }
                    if (q(k, G)) try {
                        G.call(E, I(1), D = I(0))
                    } catch (J) {
                        D(J)
                    } else
                        for (A = function e(J, K) {
                                return q(k, J = D ? J : K) ? v(function(L, M) {
                                    w(this, L, M, E, J)
                                }) : z
                            }, H = 0; H < F.length;) G = F[H++], q(k, C = G[D]) ? w(G.p, G.r, G.j, E, C) : (D ? G.r : G.j)(E)
                }, A.q = [], z.call(z = {
                    then: function then(B, C) {
                        return A(B, C)
                    },
                    'catch': function _catch(B) {
                        return A(0, B)
                    }
                }, function(B) {
                    A(q, 1, B)
                }, function(B) {
                    A(q, 0, B)
                }), z
            }

            function w(z, A, B, C, D) {
                setTimeout(function() {
                    try {
                        C = D(C), D = C && q(m, C) | q(k, C) && C.then, q(k, D) ? C == z ? B(TypeError()) : D.call(C, A, B) : A(C)
                    } catch (E) {
                        B(E)
                    }
                })
            }

            function x(z) {
                return v(function(A) {
                    A(z)
                })
            }
            window.Promise = v, v.resolve = x, v.reject = function(z) {
                return v(function(A, B) {
                    B(z)
                })
            }, v.all = function(z) {
                return v(function(A, B, C, D) {
                    D = [], C = z.length || A(D), z.map(function(E, F) {
                        x(E).then(function(G) {
                            D[F] = G, --C || A(D)
                        }, B)
                    })
                })
            }
        }('f', 'o'),
        function(k) {
            var q = function m() {
                    try {
                        return !!Symbol.iterator
                    } catch (A) {
                        return !1
                    }
                }(),
                v = function(A) {
                    var B = {
                        next: function next() {
                            var C = A.shift();
                            return {
                                done: void 0 === C,
                                value: C
                            }
                        }
                    };
                    return q && (B[Symbol.iterator] = function() {
                        return B
                    }), B
                },
                w = function(A) {
                    return encodeURIComponent(A).replace(/%20/g, '+')
                },
                x = function(A) {
                    return decodeURIComponent(A).replace(/\+/g, ' ')
                };
            'URLSearchParams' in k && 'a=1' === new URLSearchParams('?a=1').toString() || function a() {
                var A = function(C) {
                        if (Object.defineProperty(this, '_entries', {
                                value: {}
                            }), 'string' == typeof C) {
                            if ('' !== C) {
                                C = C.replace(/^\?/, '');
                                for (var E, D = C.split('&'), F = 0; F < D.length; F++) E = D[F].split('='), this.append(x(E[0]), 1 < E.length ? x(E[1]) : '')
                            }
                        } else if (C instanceof A) {
                            var G = this;
                            C.forEach(function(H, I) {
                                G.append(H, I)
                            })
                        }
                    },
                    B = A.prototype;
                B.append = function(C, D) {
                    C in this._entries ? this._entries[C].push(D.toString()) : this._entries[C] = [D.toString()]
                }, B.delete = function(C) {
                    delete this._entries[C]
                }, B.get = function(C) {
                    return C in this._entries ? this._entries[C][0] : null
                }, B.getAll = function(C) {
                    return C in this._entries ? this._entries[C].slice(0) : []
                }, B.has = function(C) {
                    return C in this._entries
                }, B.set = function(C, D) {
                    this._entries[C] = [D.toString()]
                }, B.forEach = function(C, D) {
                    var E;
                    for (var F in this._entries)
                        if (this._entries.hasOwnProperty(F)) {
                            E = this._entries[F];
                            for (var G = 0; G < E.length; G++) C.call(D, E[G], F, this)
                        }
                }, B.keys = function() {
                    var C = [];
                    return this.forEach(function(D, E) {
                        C.push(E)
                    }), v(C)
                }, B.values = function() {
                    var C = [];
                    return this.forEach(function(D) {
                        C.push(D)
                    }), v(C)
                }, B.entries = function() {
                    var C = [];
                    return this.forEach(function(D, E) {
                        C.push([E, D])
                    }), v(C)
                }, q && (B[Symbol.iterator] = B.entries), B.toString = function() {
                    var C = [];
                    return this.forEach(function(D, E) {
                        C.push(w(E) + '=' + w(D))
                    }), C.join('&')
                }, k.URLSearchParams = A
            }()
        }('undefined' == typeof global ? 'undefined' == typeof window ? 'undefined' == typeof self ? this : self : window : global),
        function(k) {
            if (function m() {
                    try {
                        var w = new URL('b', 'http://a');
                        return w.pathname = 'c%20d', 'http://a/c%20d' === w.href && w.searchParams
                    } catch (x) {
                        return !1
                    }
                }() || function n() {
                    var w = k.URL,
                        x = function n(B, C) {
                            'string' != typeof B && (B += '');
                            var D = document.implementation.createHTMLDocument('');
                            if (window.doc = D, C) {
                                var E = D.createElement('base');
                                E.href = C, D.head.appendChild(E)
                            }
                            var F = D.createElement('a');
                            if (F.href = B, D.body.appendChild(F), F.href = F.href, ':' === F.protocol || !/:/.test(F.href)) throw new TypeError('Invalid URL');
                            Object.defineProperty(this, '_anchorElement', {
                                value: F
                            })
                        },
                        z = x.prototype,
                        A = function(B) {
                            Object.defineProperty(z, B, {
                                get: function get() {
                                    return this._anchorElement[B]
                                },
                                set: function set(C) {
                                    this._anchorElement[B] = C
                                },
                                enumerable: !0
                            })
                        };
                    ['hash', 'host', 'hostname', 'port', 'protocol', 'search'].forEach(function(B) {
                        A(B)
                    }), Object.defineProperties(z, {
                        toString: {
                            get: function get() {
                                var B = this;
                                return function() {
                                    return B.href
                                }
                            }
                        },
                        href: {
                            get: function get() {
                                return this._anchorElement.href.replace(/\?$/, '')
                            },
                            set: function set(B) {
                                this._anchorElement.href = B
                            },
                            enumerable: !0
                        },
                        pathname: {
                            get: function get() {
                                return this._anchorElement.pathname.replace(/(^\/?)/, '/')
                            },
                            set: function set(B) {
                                this._anchorElement.pathname = B
                            },
                            enumerable: !0
                        },
                        origin: {
                            get: function get() {
                                var B = {
                                        'http:': 80,
                                        'https:': 443,
                                        'ftp:': 21
                                    } [this._anchorElement.protocol],
                                    C = this._anchorElement.port != B && '' !== this._anchorElement.port;
                                return this._anchorElement.protocol + '//' + this._anchorElement.hostname + (C ? ':' + this._anchorElement.port : '')
                            },
                            enumerable: !0
                        },
                        password: {
                            get: function get() {
                                return ''
                            },
                            set: function set() {},
                            enumerable: !0
                        },
                        username: {
                            get: function get() {
                                return ''
                            },
                            set: function set() {},
                            enumerable: !0
                        },
                        searchParams: {
                            get: function get() {
                                var B = new URLSearchParams(this.search),
                                    C = this;
                                return ['append', 'delete', 'set'].forEach(function(D) {
                                    var E = B[D];
                                    B[D] = function() {
                                        E.apply(B, arguments), C.search = B.toString()
                                    }
                                }), B
                            },
                            enumerable: !0
                        }
                    }), x.createObjectURL = function() {
                        return w.createObjectURL.apply(w, arguments)
                    }, x.revokeObjectURL = function() {
                        return w.revokeObjectURL.apply(w, arguments)
                    }, k.URL = x
                }(), void 0 !== k.location && !('origin' in k.location)) {
                var v = function() {
                    return k.location.protocol + '//' + k.location.hostname + (k.location.port ? ':' + k.location.port : '')
                };
                try {
                    Object.defineProperty(k.location, 'origin', {
                        get: v,
                        enumerable: !0
                    })
                } catch (w) {
                    setInterval(function() {
                        k.location.origin = v()
                    }, 100)
                }
            }
        }('undefined' == typeof global ? 'undefined' == typeof window ? 'undefined' == typeof self ? this : self : window : global)
})(window, function() {
    function b(L) {
        var M = setInterval(g, 1e3, {
            type: B,
            selector: L
        });
        G = function onMessageFn(N) {
            var O = N.data.data,
                P = N.data.type;
            N.origin === H && (P === v ? clearInterval(M) : P === x ? d(N.data.url) : P === z ? (F.success(O), K.destroy()) : P === w ? (F.cancel(O), K.destroy()) : P === A ? (F.error(O), K.destroy()) : P === D ? F.route(N.data) : P === E && F.user(N.data))
        }, window.addEventListener('message', G)
    }

    function d(L) {
        var M = window.top.outerHeight / 2 + window.top.screenY - q / 2,
            N = window.top.outerWidth / 2 + window.top.screenX - m / 2,
            O = window.open(L, 'targetWindow', 'toolbar=no,location=no,status=no,menubar=no,width=' + m + ',height=' + q + ',top=' + M + ',left=' + N);
        O.focus();
        var P = setInterval(function() {
            O.closed && (clearInterval(P), g({
                type: C,
                closed: !0
            }))
        }, 1e3)
    }

    function g(L) {
        I && I.contentWindow && I.contentWindow.postMessage(L, H)
    }
    var k = 'finicityConnectIframe',
        m = 600,
        q = 600,
        v = 'ack',
        w = 'cancel',
        x = 'url',
        z = 'done',
        A = 'error',
        B = 'ping',
        C = 'window',
        D = 'route',
        E = 'user',
        F, G, H, I, J;
    document.addEventListener('DOMContentLoaded', function() {
        var L = document.createElement('style');
        L.type = 'text/css', L.innerHTML = '#' + k + '{\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n z-index: 10;\n background: rgba(0,0,0,0.8);\n }', document.getElementsByTagName('head')[0].appendChild(L)
    });
    var K = {
        destroy: function destroy() {
            I && I.parentNode && I.parentNode.removeChild(I), J && J.parentNode && J.parentNode.removeChild(J), I = void 0, J = void 0, window.removeEventListener('message', G)
        },
        launch: function launch(L) {
            var M = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {},
                N = !!M.selector;
            if (F = M, I && I.parentNode) throw new Error('You must destroy the iframe before you can open a new one. Call finicityConnect.destroy()');
            return new Promise(function(O, P) {
                M.success = M.success || function(T) {
                    O(T)
                }, M.error = M.error || function(T) {
                    P(T)
                }, M.loaded = M.loaded || function() {}, M.cancel = M.cancel || function(T) {
                    P(T)
                }, M.route = M.route || function() {}, M.user = M.user || function() {};
                var Q = document.querySelectorAll('meta[name="viewport"]');
                0 === Q.length && (J = document.createElement('meta'), J.setAttribute('name', 'viewport'), J.setAttribute('content', 'initial-scale=1'), document.head.appendChild(J)), I = document.createElement('iframe'), I.src = L, I.setAttribute('id', k), I.setAttribute('frameborder', '0'), I.setAttribute('scrolling', 'no'), M.overlay && I.setAttribute('style', 'background: ' + M.overlay + ';');
                var R = document.querySelector(M.selector) || document.body;
                R.appendChild(I), H = new URL(L).origin;
                var S = !1;
                I.onload = function() {
                    S || (b(N), M.loaded(), S = !0)
                }
            })
        }
    };
    return K
});

//# sourceMappingURL=finicity-connect.min.js.map
-->

Telecommunicatie van vroeger
🚅Alles over spoor en treintjes


Acties:
  • 0 Henk 'm!

  • DataGhost
  • Registratie: Augustus 2003
  • Laatst online: 01:10

DataGhost

iPL dev

Heb je allemaal niks aan, van die obfuscated shit. Nu staan er dus twee moeilijk lange posts zonder info. Het is gewoon een deel van een SDK zoals @Stroopwafels al linkte. De "echte" source kan je zien in de .js.map file die in de laatste regel genoemd wordt. Maar zelfs dan heb je er nog steeds niet aan, zolang je niet weet of de code überhaupt aangeroepen wordt, en als dat al gebeurt zal dat elders in de interface zijn, waarvan wij de code dus niet kunnen zien. Dus als je daar iets gevonden hebt kan je eens gaan kijken welke calls dan precies gedaan worden, als dat al gebeurt. De code ziet er heftig oninteressant uit, zal wel een convenience-functie uit gebruikt worden. Beetje dom dat dat dan van een externe URL geladen moet worden.

[ Voor 8% gewijzigd door DataGhost op 16-04-2023 23:18 ]


Acties:
  • 0 Henk 'm!

  • AW_Bos
  • Registratie: April 2002
  • Laatst online: 01:03

AW_Bos

Liefhebber van nostalgie... 🕰️

Beste oplossing is om de request-tab te bekijken de ontwikkelaars-console van de browser. Dan weet je precies welke data er wordt overgestuurd.

Voor Firefox bijvoorbeeld:
https://firefox-source-do...equest_details/index.html

Een bijzonder krachtig tooltje die 'geheimen' blootlegt. ;)

[ Voor 10% gewijzigd door AW_Bos op 18-04-2023 15:29 ]

Telecommunicatie van vroeger
🚅Alles over spoor en treintjes

Pagina: 1