User: ---
File: /Users/simonersen/Documents/Personnel/Extension mbn/content.js

(function() {
  // Vérifie si le pop-up existe déjà pour éviter les doublons
  if (!document.getElementById('custom-popup')) {
    // Crée le pop-up
    const popup = document.createElement('div');
    popup.id = 'custom-popup';
    popup.style.cssText = `
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: #4684ee;
      z-index: 10000;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    `;

    // Ajoute du contenu au pop-up
    popup.innerHTML = `
      <div class="loader-container">
        <div class="loader">
          <div>
            <span>{</span>
            <span>}</spans>
          </div>
        </div>
      </div>
    `;

    // Ajoute des styles pour le loader et les accolades
    const style = document.createElement('style');
    style.innerHTML = `
      html, body {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
      }

      body {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #4684ee;
      }

      .loader-container {
        text-align: center;
      }

      .loader {
        color: #fff;
        font-family: Consolas, Menlo, Monaco, monospace;
        font-weight: bold;
        font-size: 7rem;
        opacity: 0.8;
      }

      .loader span {
        display: inline-block;
        animation: pulse 0.2s alternate infinite ease-in-out;
      }

      .loader span:nth-child(odd) {
        animation-delay: 0.2s;
      }

      @keyframes pulse {
        to {
          transform: scale(0.8);
          opacity: 0.5;
        }
      }
    `;
    document.head.appendChild(style);

    // Ajoute le pop-up au DOM
    document.body.appendChild(popup);
  }
})();



const bouton1 = document.querySelector('#idp-EDU');
bouton1.click();

const bouton2 = document.querySelector('#button-submit');
bouton2.click();



const bouton3 = document.querySelector('#bouton_eleve');
bouton3.click();


const champTexte1 = document.querySelector('#username'); 
champTexte1.value = 's.ersen' ; 

const champTexte2 = document.querySelector('#password'); 
champTexte2.value = 'fk==uZ+UzpappaVX:PC9vUj@)8tpED%;.Q&gaC?D2t?@?[Nb5y@Kf%:gAkKuAf@d' ; 

const bouton4 = document.querySelector('#bouton_valider');
bouton4.click();

Assistant: [system: file uploaded]
User: ---
File: /Users/simonersen/Documents/Personnel/Extension mbn/content2.js

(function() {
  // Vérifie si le pop-up existe déjà pour éviter les doublons
  if (!document.getElementById('custom-popup')) {
    // Crée le pop-up
    const popup = document.createElement('div');
    popup.id = 'custom-popup';
    popup.style.cssText = `
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: #4684ee;
      z-index: 10000;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    `;

    // Ajoute du contenu au pop-up
    popup.innerHTML = `
      <div class="loader-container">
        <div class="loader">
          <div>
            <span>{</span>
            <span>}</spans>
          </div>
        </div>
      </div>
    `;

    // Ajoute des styles pour le loader et les accolades
    const style = document.createElement('style');
    style.innerHTML = `
      html, body {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
      }

      body {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #4684ee;
      }

      .loader-container {
        text-align: center;
      }

      .loader {
        color: #fff;
        font-family: Consolas, Menlo, Monaco, monospace;
        font-weight: bold;
        font-size: 7rem;
        opacity: 0.8;
      }

      .loader span {
        display: inline-block;
        animation: pulse 0.2s alternate infinite ease-in-out;
      }

      .loader span:nth-child(odd) {
        animation-delay: 0.2s;
      }

      @keyframes pulse {
        to {
          transform: scale(0.8);
          opacity: 0.5;
        }
      }
    `;
    document.head.appendChild(style);

    // Ajoute le pop-up au DOM
    document.body.appendChild(popup);
  }
})();



const bouton3 = document.querySelector('#bouton_eleve');
bouton3.click();


const champTexte1 = document.querySelector('#username'); 
champTexte1.value = 's.ersen' ; 

const champTexte2 = document.querySelector('#password'); 
champTexte2.value = 'fk==uZ+UzpappaVX:PC9vUj@)8tpED%;.Q&gaC?D2t?@?[Nb5y@Kf%:gAkKuAf@d' ; 

const bouton4 = document.querySelector('#bouton_valider');
bouton4.click();
Assistant: [system: file uploaded]
User: ---
File: /Users/simonersen/Documents/Personnel/Extension mbn/manifest.json

{
  "manifest_version": 3,
  "name": "My Extension",
  "version": "3.2",
  "permissions": [
    "webNavigation",
    "activeTab",
    "tabs",
    "storage",
    "https://cas.monbureaunumerique.fr/*",
    "https://educonnect.education.gouv.fr/*"
  ],
  "content_scripts": [
    {
      "matches": ["https://cas.monbureaunumerique.fr/*"],
      "js": ["content.js"]
    },
    {
      "matches": ["https://educonnect.education.gouv.fr/*"],
      "js": ["content2.js"]
    }
  ]
}
Assistant: [system: file uploaded]
User: que penses-tu de mon extension
Assistant: