Repository Public
1/**2 * =============================================================================3 * SP BOUCHER | SOFTWARE & RESEARCH4 * ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING5 * =============================================================================6 *7 * Project : FB Ka Automation8 * File : pages-2026-12/bin/fb_pick2.js9 * Module : pages-2026-1210 * Repository : https://git.spboucher.ai/fb-ka-automation11 * Created : 2026-12-0112 * Last Modified : 2026-12-0113 *14 * Author : Simon-Pierre Boucher15 * Position : Professor of Finance16 * Institution : Université du Québec en Outaouais (UQO)17 * Organization : SP Boucher18 * Website : https://spboucher.ai19 * Git : https://git.spboucher.ai20 *21 * Preferred Contact: contact@spboucher.ai22 * Development : dev@spboucher.ai23 * Support : support@spboucher.ai24 * Security/Admin : admin@spboucher.ai25 *26 * Copyright (c) 202627 * Simon-Pierre Boucher28 * All rights reserved where applicable. This file is governed by the29 * applicable project license, copyright notices and relevant law.30 * Existing third-party rights and notices remain unaffected.31 *32 * License : None specified (no license file in this repository)33 *34 * Do not embed credentials, private keys, access tokens,35 * certificates or confidential personal information.36 *37 * =============================================================================38 * END OF SP BOUCHER SOURCE HEADER39 * =============================================================================40 */4142(function(){try{var opts=document.querySelectorAll('[role=option]');if(!opts.length){var cat=document.querySelector('input[aria-label="Rechercher une catégorie"]');var d=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,'value');cat.focus();d.set.call(cat,'Immobilie');cat.dispatchEvent(new Event('input',{bubbles:true}));d.set.call(cat,'Immobilier');cat.dispatchEvent(new Event('input',{bubbles:true}));return 'REOPENED';}43var t=null;opts.forEach(function(e){if(!t&&(e.innerText||'').trim()==='Immobilier')t=e;});if(!t)return 'NO_OPT '+opts.length;44var r=t.getBoundingClientRect();var x=r.left+r.width/2,y=r.top+r.height/2;var el=document.elementFromPoint(x,y)||t;45var o={bubbles:true,cancelable:true,view:window,clientX:x,clientY:y,button:0,pointerId:1,pointerType:'mouse',isPrimary:true};46el.dispatchEvent(new PointerEvent('pointerover',o));el.dispatchEvent(new PointerEvent('pointerdown',o));el.dispatchEvent(new MouseEvent('mousedown',o));el.dispatchEvent(new PointerEvent('pointerup',o));el.dispatchEvent(new MouseEvent('mouseup',o));el.dispatchEvent(new MouseEvent('click',o));47return 'picked on '+el.tagName+' sel='+t.getAttribute('aria-selected')+' html='+t.outerHTML.slice(0,200);}catch(e){return 'ERR '+e;}})()48