IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

JavaScript Discussion :

Propriété innerHTML inaccessible


Sujet :

JavaScript

  1. #1
    Membre confirmé
    Homme Profil pro
    Inscrit en
    Octobre 2012
    Messages
    172
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Octobre 2012
    Messages : 172
    Par défaut Propriété innerHTML inaccessible
    Bonjour,

    J'ai écrit un scrapper en JS, rien de compliqué.
    Tout fonctionne seulement certaines balises font qu'on ne peut accéder à leur .innerHTML ou même à leur .textContent.

    dans la console lors d'un console.log() elles apparaissent d'ailleurs comme :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    console.log(elt)  >>  [object HTMLLIElement]
    console.log(elt.innerHTML)  >> undefined
    console.log(elt.textContent)  >> undefined
    Toutes les autres apparaissent comme un bout du DOM qu'on peut étendre/réduire à souhait.
    et leurs innerHTML/textContent affichent évidemment leur contenu textuel au lieu du "undefined" dans le cas présent.

    Comment est ce possible ?
    Peut on y remédier ?

    D'avance merci

  2. #2
    Rédacteur/Modérateur

    Avatar de SpaceFrog
    Homme Profil pro
    Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Inscrit en
    Mars 2002
    Messages
    39 658
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 75
    Localisation : Royaume-Uni

    Informations professionnelles :
    Activité : Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Secteur : Industrie

    Informations forums :
    Inscription : Mars 2002
    Messages : 39 658
    Billets dans le blog
    1
    Par défaut
    si tu fais un console.log de ton élément
    Déplie les propriétés de l'élement en console, tu verras toutes ses propriétés
    Ma page Developpez - Mon Blog Developpez
    Président du CCMPTP (Comité Contre le Mot "Problème" dans les Titres de Posts)
    Deux règles du succès: 1) Ne communiquez jamais à quelqu'un tout votre savoir...
    Votre post est résolu ? Alors n'oubliez pas le Tag

    Venez sur le Chat de Développez !

  3. #3
    Membre confirmé
    Homme Profil pro
    Inscrit en
    Octobre 2012
    Messages
    172
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Octobre 2012
    Messages : 172
    Par défaut
    Justement je ne peux pas !
    le console.log() me renvoie juste "[HTMLLIElement]" en texte non cliquable

  4. #4
    Rédacteur/Modérateur

    Avatar de SpaceFrog
    Homme Profil pro
    Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Inscrit en
    Mars 2002
    Messages
    39 658
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 75
    Localisation : Royaume-Uni

    Informations professionnelles :
    Activité : Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Secteur : Industrie

    Informations forums :
    Inscription : Mars 2002
    Messages : 39 658
    Billets dans le blog
    1
    Par défaut
    Tu as un bout de code HTML que l'on peut voir ?
    tu peux faire un fiddle ou un codepen ?

    Ton scrapper fonctionne comment ? tu parcoures comment les éléments ?
    Ma page Developpez - Mon Blog Developpez
    Président du CCMPTP (Comité Contre le Mot "Problème" dans les Titres de Posts)
    Deux règles du succès: 1) Ne communiquez jamais à quelqu'un tout votre savoir...
    Votre post est résolu ? Alors n'oubliez pas le Tag

    Venez sur le Chat de Développez !

  5. #5
    Membre confirmé
    Homme Profil pro
    Inscrit en
    Octobre 2012
    Messages
    172
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Octobre 2012
    Messages : 172
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
     
            test = document.querySelector("div.truc");
    	console.log(test);
     
    	name = document.querySelector("ul.truc li");
     
      	console.log(name);
      	console.log('NAME :: ' + name.innerHTML);
      	console.log("NAME 2 :: " + name.textContent);
      	console.log("NAME 3 :: " + name.outerHTML);
    j'ai simplement changé les selectors et ecrit un test sur un div pour pouvoir te montrer la différence entre les deux cf l'image résultat de la console ci-dessous ::
    Nom : CaptureX.PNG
Affichages : 165
Taille : 7,9 Ko

    je recupere le div et le li de l'exacte meme facon.
    au console log,
    - le div apparaît normalement : dépliable et j’accède au innerHTML tout a fait normalement
    - le LI (CE li devrais je dire car d'autres plus loin dans la page fonctionnent correctement) n'apparait pas normalement

    juste un texte non dépliable et surtout je ne peux pas accéder au innerHTML...

  6. #6
    Rédacteur/Modérateur

    Avatar de SpaceFrog
    Homme Profil pro
    Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Inscrit en
    Mars 2002
    Messages
    39 658
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 75
    Localisation : Royaume-Uni

    Informations professionnelles :
    Activité : Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Secteur : Industrie

    Informations forums :
    Inscription : Mars 2002
    Messages : 39 658
    Billets dans le blog
    1
    Par défaut
    Tu as le HTML associé ?
    Ma page Developpez - Mon Blog Developpez
    Président du CCMPTP (Comité Contre le Mot "Problème" dans les Titres de Posts)
    Deux règles du succès: 1) Ne communiquez jamais à quelqu'un tout votre savoir...
    Votre post est résolu ? Alors n'oubliez pas le Tag

    Venez sur le Chat de Développez !

  7. #7
    Membre confirmé
    Homme Profil pro
    Inscrit en
    Octobre 2012
    Messages
    172
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Octobre 2012
    Messages : 172
    Par défaut
    oui voila le div du test et le LI que je cherche à avoir est celui dont j'ai masqué le contenu

    Nom : CaptureX2.PNG
Affichages : 172
Taille : 54,1 Ko

  8. #8
    Rédacteur/Modérateur

    Avatar de SpaceFrog
    Homme Profil pro
    Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Inscrit en
    Mars 2002
    Messages
    39 658
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 75
    Localisation : Royaume-Uni

    Informations professionnelles :
    Activité : Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Secteur : Industrie

    Informations forums :
    Inscription : Mars 2002
    Messages : 39 658
    Billets dans le blog
    1
    Par défaut
    Et tu penses que je vais le recopier depuis ton image ?
    Ma page Developpez - Mon Blog Developpez
    Président du CCMPTP (Comité Contre le Mot "Problème" dans les Titres de Posts)
    Deux règles du succès: 1) Ne communiquez jamais à quelqu'un tout votre savoir...
    Votre post est résolu ? Alors n'oubliez pas le Tag

    Venez sur le Chat de Développez !

  9. #9
    Membre confirmé
    Homme Profil pro
    Inscrit en
    Octobre 2012
    Messages
    172
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Octobre 2012
    Messages : 172
    Par défaut
    Ah pardon

    Sur n'importe quel profil Linkedin :: le nom & prénom en gras tout en haut en dessous de la photo.

    Ils ont récemment changé ce bout de DOM, encart des infos de base (passage v3)

  10. #10
    Rédacteur/Modérateur

    Avatar de SpaceFrog
    Homme Profil pro
    Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Inscrit en
    Mars 2002
    Messages
    39 658
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 75
    Localisation : Royaume-Uni

    Informations professionnelles :
    Activité : Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Secteur : Industrie

    Informations forums :
    Inscription : Mars 2002
    Messages : 39 658
    Billets dans le blog
    1
    Par défaut
    Cela ne me donne pas le codee HTML ...
    un simple copier coller du outerHTML sur le source ...
    et tu le colles ici dans une balise code #
    Ma page Developpez - Mon Blog Developpez
    Président du CCMPTP (Comité Contre le Mot "Problème" dans les Titres de Posts)
    Deux règles du succès: 1) Ne communiquez jamais à quelqu'un tout votre savoir...
    Votre post est résolu ? Alors n'oubliez pas le Tag

    Venez sur le Chat de Développez !

  11. #11
    Membre confirmé
    Homme Profil pro
    Inscrit en
    Octobre 2012
    Messages
    172
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Octobre 2012
    Messages : 172
    Par défaut
    En inspectant la page tu aurais le code
    je pensais que tu préfèrerais l'avoir en "live" justement

    mais voici le copié collé du outerHTML de l'objet ::
    Code HTML : Sélectionner tout - Visualiser dans une fenêtre à part
    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
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    <div class="authentication-outlet launchpad-cp-enabled">
      <div id="profile-content" class="extended">
      <div class="body">
        <div id="profile-wrapper" class="pv-profile-wrapper pv-profile-wrapper--below-nav">
        <iframe src="about:blank" class="pv-profile-wrapper__empty-iframe"></iframe>
     
    <div id="ember40" class="self-focused ember-view"><!---->
    <div id="ember41" class="pv-profile-sticky-header pv-profile-sticky-header--hidden ember-view"><!----></div>
        <div class="pv-content profile-view-grid neptune-grid two-column ghost-animate-in">
            <section id="ember42" class="pv-ad-banner--light ad-banner-container is-header-zone ember-view"><iframe class="ad-banner" width="100%" height="17" src="about:blank" scrolling="no" title="publicité"></iframe>
     
    <!----></section>
     
          <div class="core-rail" role="main">
            <div id="ember43" class="ember-view">  <div id="ember44" class="ember-view"><section id="ember45" class="pv-top-card-v3 artdeco-card ember-view"><!---->
      <!---->
     
        <div id="ember47" class="profile-background-image profile-background-image--loading ember-view"><!----></div>
     
      <div class="ph5 pb5">
        <div class="display-flex">
          <div class="pv-top-card-v3--photo text-align-left">
            <div class="pv-top-card-section__photo-wrapper pv-top-card-v2-section__photo-wrapper pv-top-card-v3-section__photo-wrapper">
                  <div class="pv-top-card-section__edit-photo pv-top-card-v2-section__edit-photo profile-photo-edit">
                    <div class="profile-photo-edit__camera-plus"></div>
                    <a href="#" class="profile-photo-edit__file-upload-input" data-ember-action="" data-ember-action-48="48"></a>
                    <span class="visually-hidden">Photo de profil</span>
                  </div>
            </div>
          </div>
     
          <div class="flex-1 flex-column display-flex mt3 mb1">
            <div class="display-flex justify-flex-end align-items-center">
                <section id="ember49" class="pe-hub-section ember-view"><button data-control-name="profile_edit_fab" aria-expanded="false" aria-controls="pe-hub-section" id="ember50" class="pe-hub-section__expand-button pe-hub__action pe-hub-section__expand-button--v2-topcard artdeco-button artdeco-button--icon-right artdeco-button--2 artdeco-button--primary ember-view">  <li-icon aria-hidden="true" type="caret-filled-down-icon" class="artdeco-button__icon" size="small"><svg viewBox="0 0 24 24" width="24px" height="24px" x="0" y="0" preserveAspectRatio="xMinYMin meet" class="artdeco-icon" focusable="false"><path d="M8.8,10.66L14,5.12A0.07,0.07,0,0,0,13.93,5H2.07A0.07,0.07,0,0,0,2,5.12L7.2,10.66A1.1,1.1,0,0,0,8.8,10.66Z" class="small-icon" style="fill-opacity: 1"></path></svg></li-icon>
     
    <span class="artdeco-button__text">
        Ajouter une section au profil
    </span></button>
     
    <!----></section>
                <div id="ember51" class="inline-flex ember-view"><!----><!----><!----><div id="ember52" class="pv-s-profile-actions__overflow ember-view"><artdeco-dropdown id="ember53" class="ember-view"><artdeco-dropdown-trigger aria-expanded="false" role="button" placement="bottom" id="ember54" class="ember-view">      <button aria-expanded="false" id="ember55" class="ml2 mr2 pv-s-profile-actions__overflow-toggle artdeco-button artdeco-button--muted artdeco-button--2 artdeco-button--secondary ember-view"><!---->
    <span class="artdeco-button__text">
        Plus…
    </span></button>
     
    <!----></artdeco-dropdown-trigger>
    <artdeco-dropdown-content justification="left" placement="bottom" data-dropdown="" tabindex="-1" aria-hidden="true" id="ember56" class="pv-s-profile-actions__overflow-dropdown display-flex ember-view">      <ul class="full-width">
              <li id="ember58" class="ember-view">  <div id="ember59" class="ember-view"><artdeco-dropdown-item data-dropdown="" id="ember60" class="pv-s-profile-actions pv-s-profile-actions--share-profile pv-s-profile-actions__overflow-button full-width text-align-left ember-view" tabindex="0">    <li-icon aria-hidden="true" type="share-linkedin-icon" class="pv-s-profile-actions__overflow-icon" size="large"><svg viewBox="0 0 24 24" width="24px" height="24px" x="0" y="0" preserveAspectRatio="xMinYMin meet" class="artdeco-icon" focusable="false"><path d="M24,12h0a1.18,1.18,0,0,0-.36-0.84L14,2V8H11A10,10,0,0,0,1,18v4H2.87A6.11,6.11,0,0,1,9,16h5v6l9.63-9.14A1.18,1.18,0,0,0,24,12s0,0,0,0h0Zm-8,5.54V14H9a8.15,8.15,0,0,0-6,2.84A8,8,0,0,1,11,10h5V6.48L21.81,12Z" class="large-icon" style="fill: currentColor"></path></svg></li-icon>
        <span class="display-flex t-normal pv-s-profile-actions__label" aria-hidden="true">Partager le profil</span>
        <span class="a11y-text">label_self_i18n</span>
     
    </artdeco-dropdown-item></div>
     
    <div id="ember61" class="pv-s-profile-actions__share-profile-button hidden ember-view">    <button class="message-anywhere-button " aria-label="Envoyer un message à " data-ember-action="" data-ember-action-62="62">
            Message
        </button>
     
    <div id="ember102" class="ember-view"><!----></div></div>
    </li>
              <li id="ember64" class="ember-view">  <div id="ember65" class="ember-view"><artdeco-dropdown-item data-dropdown="" id="ember66" class="pv-s-profile-actions pv-s-profile-actions--save-to-pdf pv-s-profile-actions__overflow-button full-width text-align-left ember-view" tabindex="0">    <li-icon aria-hidden="true" type="download-icon" class="pv-s-profile-actions__overflow-icon" size="large"><svg viewBox="0 0 24 24" width="24px" height="24px" x="0" y="0" preserveAspectRatio="xMinYMin meet" class="artdeco-icon" focusable="false"><path d="M21,15v5a1,1,0,0,1-1,1H4a1,1,0,0,1-1-1V15H5v4H19V15h2Zm-9,1a1,1,0,0,0,.71-0.29L18,10.41,16.71,9.12,13,12.83V2H11V12.83L7.29,9.12,6,10.41l5.29,5.29A1,1,0,0,0,12,16Z" class="large-icon" style="fill: currentColor"></path></svg></li-icon>
        <span class="display-flex t-normal pv-s-profile-actions__label" aria-hidden="true">Enregistrer au format PDF</span>
        <span class="a11y-text">label_self_i18n</span>
     
    </artdeco-dropdown-item></div>
    </li>
          </ul>
     
    </artdeco-dropdown-content></artdeco-dropdown></div></div>
     
                <a data-control-name="edit_top_card" href="/in/lxxxxxx/edit/topcard/" id="ember68" class="pv-top-card-section__edit artdeco-button artdeco-button--tertiary artdeco-button--circle ml1 pv-top-card-v2-section__edit ember-view">    <li-icon type="pencil-icon" role="img" aria-label="Modifier le profil"><svg viewBox="0 0 24 24" width="24px" height="24px" x="0" y="0" preserveAspectRatio="xMinYMin meet" class="artdeco-icon" focusable="false"><path d="M21.71,5L19,2.29a1,1,0,0,0-1.41,0L4,15.85,2,22l6.15-2L21.71,6.45A1,1,0,0,0,22,5.71,1,1,0,0,0,21.71,5ZM6.87,18.64l-1.5-1.5L15.92,6.57l1.5,1.5ZM18.09,7.41l-1.5-1.5,1.67-1.67,1.5,1.5Z" class="large-icon" style="fill: currentColor"></path></svg></li-icon>
    </a>
            </div>
          </div>
        </div>
     
        <div class="display-flex mt2">
          <div class="flex-1 mr5">
            <ul class="pv-top-card-v3--list inline-flex align-items-center">
              <li class="inline t-24 t-black t-normal break-words">
              xxxxxxxxxx ICI LE INNERHTML A SCRAPPER xxxxxxxxxxxxx
              </li>
    <!---->
                <li class="inline-flex ml2">
                  <span id="ember69" style="display: none;" class="pv-member-badge--for-top-card-v3 inline-flex pv-member-badge ember-view"><!---->
    <!---->
    <span class="visually-hidden">
      xxxxxxa un compte 
    </span>
     
    <!----></span>
                </li>
            </ul>
     
              <h2 class="mt1 t-18 t-black t-normal">
                jardinier chez auto entreprise
              </h2>
     
            <ul class="pv-top-card-v3--list pv-top-card-v3--list-bullet mt1">
                <li class="t-16 t-black t-normal inline-block">
                  Région de Paris, France
                </li>
     
    <!---->
    <!---->
              <li class="inline-block">
    <a data-control-name="contact_see_more" href="/in/xxxxxxxxxx/detail/contact-info/" id="ember70" class="ember-view">              <span class="t-16 t-bold">
                    Coordonnées
                  </span>
    </a>          </li>
            </ul>
          </div>
          <div>
            <ul class="pv-top-card-v3--experience-list">
                <li class="pv-top-card-v3--experience-list-item" data-control-name="position_see_more" data-ember-action="" data-ember-action-72="72">
                  <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="EntityPhoto-square-1 flex-shrink-zero ghost-company" alt="">
     
                  <span id="ember73" class="text-align-left ml2 t-14 t-black t-bold full-width lt-line-clamp lt-line-clamp--multi-line ember-view" style="-webkit-line-clamp: 2">  auto entreprise
     
    <!----></span>
                </li>
     
    <!---->        </ul>
          </div>
        </div>
     
    <!---->  </div>
    </section>
    <div id="ember74" class="ember-view"><div id="ember75" class="ember-view"><!----></div></div>
    </div>
    </div>
     
                <section id="ember140" class="ember-view">
      <div id="ember141" class="ember-view"><div data-launchpad-scroll-anchor="pcm" id="ember142" class="pds-pcm-progress pds-profile-section artdeco-container-card ember-view">    <header class="display-flex justify-space-between full-width mb4">
     
          <h2 class="inline-block t-20 t-black--light t-normal pr6">
            Force du profil:&nbsp;<strong class="t-20 t-black t-bold">Débutant</strong>
          </h2>
     
          <button data-control-name="toggle_meter_close" id="ember143" class="toggle-button artdeco-button artdeco-button--1 artdeco-button--tertiary artdeco-button--muted artdeco-button--circle ember-view">  <li-icon aria-hidden="true" type="chevron-up-icon" size="medium"><svg viewBox="0 0 24 24" width="24px" height="24px" x="0" y="0" preserveAspectRatio="xMinYMin meet" class="artdeco-icon" focusable="false"><path d="M12,10L3.06,16,2,14.45l9.15-6.19a1.5,1.5,0,0,1,1.69,0L22,14.45,20.94,16Z" class="large-icon" style="fill: currentColor"></path></svg></li-icon>
        <span class="a11y-text">Réduire pour masquer les tâches de profil</span>
     
    </button>
     
        </header>
     
        <!---->
     
     
    <div id="ember146" class="ember-view"><div aria-valuetext="Avancement&nbsp;: 2 sur 7" aria-valuemax="7" aria-valuemin="0" role="progressbar" tabindex="0" id="ember147" class="pds-pcm-completion-meter mb4 pds-completion-meter ember-view" aria-valuenow="2"><div class="pds-completion-meter__step">
              <!---->
            <!---->
     
    <!---->
    </div>
    <div class="pds-completion-meter__step">
              <!---->
            <!---->
     
    <!---->
    </div>
    <div class="pds-completion-meter__step">
              <!---->
            <!---->
     
    <!---->
    </div>
    <div class="pds-completion-meter__step">
              <!---->
            <!---->
     
    <!---->
    </div>
    <div class="pds-completion-meter__step">
               <div id="ember149" class="mb4 pds-pcm-progress-icon__wrapper ember-view">
    <button aria-expanded="false" class="pds-completion-meter__icon pds-completion-meter__icon--second-gradient-animate-out Elevation-2dp">
      <li-icon type="lock-icon" size="small" role="img" aria-label="INTERMÉDIAIRE"><svg viewBox="0 0 24 24" width="24px" height="24px" x="0" y="0" preserveAspectRatio="xMinYMin meet" class="artdeco-icon" focusable="false"><path d="M12,7H11V4A3,3,0,0,0,5,4V7H4A1,1,0,0,0,3,8v6a1,1,0,0,0,1,1h8a1,1,0,0,0,1-1V8A1,1,0,0,0,12,7ZM7,3.88a1,1,0,0,1,2,0V7H7V3.88ZM11,13H5V9h6v4Z" class="small-icon" style="fill-opacity: 1"></path></svg></li-icon>
    </button>
     
    <div id="ember150" class="ember-view"><div class="pds-pcm-meter-level-hovercard__hovercard  " role="tooltip" aria-live="polite">
      <span aria-hidden="true" class="pds-pcm-meter-level-hovercard__bridge"></span>
        <div id="ember151" class="pds-pcm-meter-level-info ember-view">
    <div class="pds-pcm-meter-level-info__img pds-pcm-level-up-modal__star-badge"></div>
    <p class="pds-pcm-meter-level-info__title pds-pcm-meter-level-info__blue-color text-align-center t-14 t-black t-bold">INTERMÉDIAIRE</p>
    <p class="pds-pcm-meter-level-info__description text-align-center t-14 t-black--light t-normal mt1">Vous avez 8&nbsp;fois plus de chances d’être découvert(e) par des recruteurs et 10&nbsp;fois plus d’être contacté(e)</p>
     
      <hr class="pds-pcm-meter-level-info__hr divider mt4 mb4">
      <p class="pds-pcm-meter-level-info__subsection_title t-14 t-black t-bold">Avantages supplémentaires</p>
        <ul class="pds-pcm-meter-level-info__subsection_item mt2 t-14 t-black--light t-normal">Nouvelles plus pertinentes dans le fil d’actualité</ul>
        <hr class="pds-pcm-meter-level-info__subsection-hr divider m0 mt2">
        <ul class="pds-pcm-meter-level-info__subsection_item mt2 t-14 t-black--light t-normal">Meilleures suggestions de postes</ul>
        <hr class="pds-pcm-meter-level-info__subsection-hr divider m0 mt2">
        <ul class="pds-pcm-meter-level-info__subsection_item mt2 t-14 t-black--light t-normal">Suggestions de relations affinées</ul>
        <hr class="pds-pcm-meter-level-info__subsection-hr divider m0 mt2">
    </div>
     
    </div>
    </div>
    </div> 
            <!---->
     
    <!---->
    </div>
    <div class="pds-completion-meter__step">
              <!---->
            <!---->
     
    <!---->
    </div>
    <div class="pds-completion-meter__step">
              <!---->
             <div id="ember153" class="mb4 pds-pcm-progress-icon__wrapper ember-view">
    <button aria-expanded="false" class="pds-completion-meter__icon pds-completion-meter__icon--last-child pds-completion-meter__icon--third-gradient-animate-out Elevation-2dp">
      <li-icon type="star-icon" size="small" role="img" aria-label="EXPERT ABSOLU"><svg viewBox="0 0 24 24" width="24px" height="24px" x="0" y="0" preserveAspectRatio="xMinYMin meet" class="artdeco-icon" focusable="false"><path d="M8,4.66l1,2L11.24,7,9.62,8.57,10,10.8,8,9.75,6,10.8,6.38,8.57,4.76,7,7,6.67l1-2M8,0.75L5.84,5.07,1,5.77,4.5,9.18,3.67,14,8,11.73,12.33,14,11.5,9.18,15,5.77l-4.84-.7L8,0.75H8Z" class="small-icon" style="fill-opacity: 1"></path></svg></li-icon>
    </button>
     
    <div id="ember154" class="ember-view"><div class="pds-pcm-meter-level-hovercard__hovercard pds-pcm-meter-level-hovercard__hovercard--last " role="tooltip" aria-live="polite">
      <span aria-hidden="true" class="pds-pcm-meter-level-hovercard__bridge"></span>
        <div id="ember155" class="pds-pcm-meter-level-info ember-view">
    <div class="pds-pcm-meter-level-info__img pds-pcm-level-up-modal__shooting-star-badge"></div>
    <p class="pds-pcm-meter-level-info__title pds-pcm-meter-level-info__blue-color text-align-center t-14 t-black t-bold">EXPERT ABSOLU</p>
    <p class="pds-pcm-meter-level-info__description text-align-center t-14 t-black--light t-normal mt1">Vous êtes unique. Votre profil a 27&nbsp;fois plus de chances d’apparaître dans les recherches des recruteurs.</p>
     
      <hr class="pds-pcm-meter-level-info__hr divider mt4 mb4">
      <p class="pds-pcm-meter-level-info__subsection_title t-14 t-black t-bold">Avantages supplémentaires</p>
        <ul class="pds-pcm-meter-level-info__subsection_item mt2 t-14 t-black--light t-normal">Jusqu’à 3&nbsp;fois plus de trafic vers votre profil à partir des recherches, des flux et de votre réseau</ul>
        <hr class="pds-pcm-meter-level-info__subsection-hr divider m0 mt2">
    </div>
     
    </div>
    </div>
    </div> 
     
    <!---->
    </div>
     
    <div class="pds-completion-meter__revealer
      
      
      pds-completion-meter__revealer--in-progress" style="width:71.42857142857143%"></div>
     
            <!---->
            <!---->
     
    <div id="ember157" class="mb4 ember-view"><div class="pds-pcm-meter-tooltip__tooltip " role="tooltip" id="pds-pcm-meter-tooltip" aria-live="polite" style="left:28.57%">
      <span class="pds-pcm-meter-tooltip__bridge"></span>
                  <h4 class="t-16 t-black--light t-normal mb1">Étapes complétées</h4>
     
      <ul class="pds-pcm-ticklist__list list-style-none">
          <li class="pds-pcm-ticklist__item">
            <li-icon aria-hidden="true" type="check-icon" class="pds-pcm-ticklist__item-tick mr1" size="small"><svg viewBox="0 0 24 24" width="24px" height="24px" x="0" y="0" preserveAspectRatio="xMinYMin meet" class="artdeco-icon" focusable="false"><path d="M15,3L6.57,13.72A0.7,0.7,0,0,1,6,14a0.72,0.72,0,0,1-.56-0.27L1,8.07,2.36,7,6,11.72,13.68,2Z" class="small-icon" style="fill-opacity: 1"></path></svg></li-icon>
            Secteur
          </li>
          <li class="pds-pcm-ticklist__item">
            <li-icon aria-hidden="true" type="check-icon" class="pds-pcm-ticklist__item-tick mr1" size="small"><svg viewBox="0 0 24 24" width="24px" height="24px" x="0" y="0" preserveAspectRatio="xMinYMin meet" class="artdeco-icon" focusable="false"><path d="M15,3L6.57,13.72A0.7,0.7,0,0,1,6,14a0.72,0.72,0,0,1-.56-0.27L1,8.07,2.36,7,6,11.72,13.68,2Z" class="small-icon" style="fill-opacity: 1"></path></svg></li-icon>
            Lieu
          </li>
     
          <li class="pds-pcm-ticklist__item pds-pcm-ticklist__item--missing pl5">
            Poste
          </li>
          <li class="pds-pcm-ticklist__item pds-pcm-ticklist__item--missing pl5">
            Photo
          </li>
          <li class="pds-pcm-ticklist__item pds-pcm-ticklist__item--missing pl5">
            Formation
          </li>
          <li class="pds-pcm-ticklist__item pds-pcm-ticklist__item--missing pl5">
            Compétences (5 ou plus)
          </li>
          <li class="pds-pcm-ticklist__item pds-pcm-ticklist__item--missing pl5">
            Résumé
          </li>
      </ul>
     
     
    </div>
    </div>
    </div></div>
     
            <div id="ember159" class="ember-view"><div class="pds-ge-entry-card" id="pds-ge-entry">
        <div class="pds-ge-entry-card__pcm-card">
    <!---->
    <a data-control-name="add_start_date" href="/in/xxxxxx/guided/update-position/position-dates/?contextType=PROFILE_COMPLETION_METER" id="ember160" class="pds-ge-entry-card__card-body  ember-view">        <div class="pds-ge-entry-card__card-inside container" data-ge-entry-for="UPDATE_POSITION_1444880553">
              <section class="pds-ge-entry-card__content ">
                  <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="pds-ge-entry-card__image ghost-company" alt="auto entreprise">
                <div class="ml3 mt1">
                  <h1 class="pds-ge-entry-card__headline t-16 t-black t-bold">Quand avez-vous travaillé chez auto entreprise&nbsp;?</h1>
                    <p class="pds-ge-entry-card__sub-text  t-14 t-black--light t-normal">
                      Plus de 300 000 recherches sont effectuées par année d’expérience toutes les semaines
                    </p>
                </div>
              </section>
            </div>
    </a>
          <div class="pds-ge-entry-card__card-footer">
              <div class="transition-buttons">
                  <button disabled="" id="ember161" class="previous artdeco-button artdeco-button--muted artdeco-button--2 artdeco-button--tertiary artdeco-button--disabled ember-view">  <li-icon aria-hidden="true" type="chevron-left-icon" class="artdeco-button__icon" size="small"><svg viewBox="0 0 24 24" width="24px" height="24px" x="0" y="0" preserveAspectRatio="xMinYMin meet" class="artdeco-icon" focusable="false"><path d="M7,8l4,5.9L9.5,15,5.3,8.8a1.22,1.22,0,0,1,0-1.6L9.5,1,11,2.1Z" class="small-icon" style="fill-opacity: 1"></path></svg></li-icon>
     
    <span class="artdeco-button__text">
        Précédent
    </span></button>
                  <button id="ember162" class="next artdeco-button artdeco-button--muted artdeco-button--icon-right artdeco-button--2 artdeco-button--tertiary ember-view">  <li-icon aria-hidden="true" type="chevron-right-icon" class="artdeco-button__icon" size="small"><svg viewBox="0 0 24 24" width="24px" height="24px" x="0" y="0" preserveAspectRatio="xMinYMin meet" class="artdeco-icon" focusable="false"><path d="M9,8L5,2.07,6.54,1l4.2,6.15a1.5,1.5,0,0,1,0,1.69L6.54,15,5,13.93Z" class="small-icon" style="fill-opacity: 1"></path></svg></li-icon>
     
    <span class="artdeco-button__text">
        Suivant
    </span></button>
              </div>
            <div class="action-buttons">
    <!---->
    <button data-control-name="add_start_date" id="ember163" class="pds-ge-entry-card__launch-button artdeco-button ember-view">              Ajouter vos dates d’emploi
    </button>        </div>
          </div>
        </div>
    </div>
    </div>
     
     
    </div></div>
     
    <!---->
    </section>
     
    <div style="" id="ember76" class="pv-deferred-area ember-view">  <div class="pv-deferred-area__content">
        <!---->
      </div>
    </div>
              <div id="ember77" class="ember-view"><!----></div>
     
    <div id="oc-about-section" class="pv-oc ember-view">                  <section id="ember105" style="display: none;" class="artdeco-container-card pv-profile-section pv-about-section ember-view"><header class="pv-profile-section__card-header">
      <h2 class="pv-profile-section__card-heading">
        Infos
      </h2>
     
    <!----></header>
     
    <!---->
    <!----></section>
     
    </div>
    <div style="" id="ember79" class="pv-deferred-area ember-view">  <div class="pv-deferred-area__content">
                    <section id="ember164" class="pv-profile-section pv-dashboard-section artdeco-container-card ember-view"><div class="pv-dashboard-section__header display-flex">
      <div class="pv-dashboard-section__title-wrapper">
        <h2 class="pv-dashboard-section__title">Votre tableau de bord</h2>
        <h3 class="pv-dashboard-section__subtitle">Privé pour vous</h3>
      </div>
     
    <!----></div>
     
    <div class="pv-dashboard-section__card pv-dashboard-section__analytics artdeco-container-card Elevation-0dp">
    <a data-control-name="profile_self_wvmp" href="/me/profile-views/" id="ember165" class="pv-dashboard-section__card-action pv-dashboard-section__metric profile-views ember-view">    <span class="pv-dashboard-section__metric-count block">1</span> <span class="pv-dashboard-section__metric-text">Qui a consulté votre profil&nbsp;?</span>
    </a>
    <a data-control-name="profile_self_wvmu" href="/in/lxxxxxxxx2/detail/recent-activity/" id="ember166" class="pv-dashboard-section__card-action pv-dashboard-section__metric update-views ember-view">    <span class="pv-dashboard-section__metric-count block">0</span> <span class="pv-dashboard-section__metric-text">vue des articles</span>
    </a>
    <a data-control-name="profile_self_search_appearances" href="/me/search-appearances/" id="ember167" class="pv-dashboard-section__card-action pv-dashboard-section__metric search-appearances ember-view">    <span class="pv-dashboard-section__metric-count block">2</span> <span class="pv-dashboard-section__metric-text">apparitions dans les résultats de recherche</span>
    </a></div>
     
    <div class="pv-dashboard-section__card pv-dashboard-section__ctas artdeco-container-card Elevation-0dp">
    <!---->
    <a data-control-name="career_interests" href="/jobs/career-interests/" id="ember168" class="pv-dashboard-section__card-action pv-dashboard-section__cta career-interests relative block p3 ember-view">    <li-icon aria-hidden="true" type="briefcase-icon" class="pv-dashboard-section__cta-icon absolute" size="large"><svg viewBox="0 0 24 24" width="24px" height="24px" x="0" y="0" preserveAspectRatio="xMinYMin meet" class="artdeco-icon" focusable="false"><path d="M21,7H17V6a3,3,0,0,0-3-3H10A3,3,0,0,0,7,6V7H3A1,1,0,0,0,2,8V19a1,1,0,0,0,1,1H21a1,1,0,0,0,1-1V8A1,1,0,0,0,21,7ZM9,6a1,1,0,0,1,1-1h4a1,1,0,0,1,1,1V7H9V6ZM20,18H4V13H20v5Zm0-6H4V9H20v3Z" class="large-icon" style="fill: currentColor"></path></svg></li-icon>
        <h4 class="pv-dashboard-section__cta-title pv-dashboard-section__cta-title--no-space t-14 t-black t-bold ml6">Objectifs professionnels</h4>
        <p class="t-14 t-black t-normal ml6 inline">À l’écoute de nouvelles opportunités&nbsp;:</p>
        <span class="js-pv-dashboard-section-career-interests-label label-16dp  mb2">
          Désactivé
        </span>
        <p class="pv-dashboard-section__cta-subtitle t-12 t-black--light t-normal ml6">Choisissez le type d’opportunités auquel vous souhaitez être connecté(e)</p>
    </a>
    <a data-control-name="profile_salary_insight" rel="noopener noreferrer" target="_blank" href="/salary/my-insight?trk=profile_dashboard_linkedin_salary" id="ember169" class="pv-dashboard-section__card-action pv-dashboard-section__cta salary-insight relative block p3 ember-view">        <li-icon aria-hidden="true" type="money-icon" class="pv-dashboard-section__cta-icon absolute" size="large"><svg viewBox="0 0 24 24" width="24" height="24" style="" x="0" y="0" preserveAspectRatio="xMinYMin meet" focusable="false"><path d="M12,9.88A2.13,2.13,0,1,1,9.88,12,2.13,2.13,0,0,1,12,9.88M12,9a3,3,0,1,0,3,3,3,3,0,0,0-3-3h0Zm9-4H3A1,1,0,0,0,2,6V18a1,1,0,0,0,1,1H21a1,1,0,0,0,1-1V6A1,1,0,0,0,21,5ZM4,7H6.13A2.13,2.13,0,0,1,4,9.13V7ZM4,17V14.88A2.13,2.13,0,0,1,6.13,17H4Zm16,0H17.88A2.13,2.13,0,0,1,20,14.88V17Zm0-3a3,3,0,0,0-3,3H7a3,3,0,0,0-3-3V10A3,3,0,0,0,7,7H17a3,3,0,0,0,3,3v4Zm0-4.87A2.13,2.13,0,0,1,17.88,7H20V9.13Z" class="large-icon" style="fill: currentColor"></path></svg></li-icon>
            <h4 class="pv-dashboard-section__cta-title t-14 t-black t-bold ml6">Infos Salaires</h4>
            <p class="pv-dashboard-section__cta-subtitle t-12 t-black--light t-normal ml6">Comparez votre salaire avec celui d’autres professionnels de la communauté</p>
    </a>  <div id="ember170" class="ember-view"><div id="ember171" class="ember-view"><!----></div></div>
    </div>
    </section>
     
      </div>
    </div>
            <div class="profile-detail">
    <!---->
    <!---->
    <div style="" id="ember80" class="pv-deferred-area ember-view">  <div class="pv-deferred-area__content">
        <!---->
      </div>
    </div>
    <div id="oc-background-section" class="pv-oc ember-view">              <span class="background-details">
                  <div id="ember106" class="ember-view"><section id="ember107" class="pv-profile-section pv-profile-section--reorder-enabled background-section artdeco-container-card ember-view"><div id="ember108" class="pv-profile-section-pager ember-view">    <section id="experience-section" class="pv-profile-section experience-section ember-view"><header class="pv-profile-section__card-header">
      <h2 class="pv-profile-section__card-heading">
        Expérience
      </h2>
     
    <a data-control-name="add_position" href="/in/xxxxxxx/edit/position/new/" id="ember110" class="pv-profile-section__header-add-action add-position artdeco-button artdeco-button--tertiary artdeco-button--circle ember-view">      <li-icon type="plus-icon" role="img" aria-label="Ajouter un nouveau poste"><svg viewBox="0 0 24 24" width="24px" height="24px" x="0" y="0" preserveAspectRatio="xMinYMin meet" class="artdeco-icon" focusable="false"><path d="M21,13H13v8H11V13H3V11h8V3h2v8h8v2Z" class="large-icon" style="fill: currentColor"></path></svg></li-icon>
    </a></header>
     
      <ul class="pv-profile-section__section-info section-info pv-profile-section__section-info--has-no-more">
    <div id="ember112" class="pv-entity__position-group-pager pv-profile-section__list-item ember-view">        <li id="1444880553" class="pv-profile-section__card-item-v2 pv-profile-section pv-position-entity ember-view">  <div class="display-flex justify-space-between full-width">
        <div class="display-flex flex-column full-width">
    <a data-control-name="background_details_company" href="/search/results/index/?keywords=auto%20entreprise" id="ember115" class="full-width ember-view">          <div class="pv-entity__logo company-logo">
      <img class="lazy-image pv-entity__logo-img pv-entity__logo-img EntityPhoto-square-5 ghost-company" alt="auto entreprise">
    </div>
    <div class="pv-entity__summary-info pv-entity__summary-info--background-section ">
      <h3 class="t-16 t-black t-bold">jardinier</h3>
     
      <h4 class="t-16 t-black t-normal">
        <span class="visually-hidden">Nom de l’entreprise</span>
          <span class="pv-entity__secondary-title">auto entreprise</span>
      </h4>
     
      <!---->
    <!---->
    </div>
     
    </a>
    <!---->    </div>
     
          <div class="pv-entity__actions">
    <a data-control-name="edit_position" href="/in/lxxxxxx2/edit/position/1444880553/" id="ember118" class="pv-profile-section__edit-action pv-profile-section__hoverable-action artdeco-button artdeco-button--tertiary artdeco-button--circle ember-view">          <li-icon type="pencil-icon" role="img" aria-label="Modifier le poste jardinier"><svg viewBox="0 0 24 24" width="24px" height="24px" x="0" y="0" preserveAspectRatio="xMinYMin meet" class="artdeco-icon" focusable="false"><path d="M21.71,5L19,2.29a1,1,0,0,0-1.41,0L4,15.85,2,22l6.15-2L21.71,6.45A1,1,0,0,0,22,5.71,1,1,0,0,0,21.71,5ZM6.87,18.64l-1.5-1.5L15.92,6.57l1.5,1.5ZM18.09,7.41l-1.5-1.5,1.67-1.67,1.5,1.5Z" class="large-icon" style="fill: currentColor"></path></svg></li-icon>
    </a><!---->      </div>
      </div>
    </li>
    </div>  </ul>
     
    <!----></section>
    </div>
    <!---->
    <!---->
    <!----></section>
    </div>
                </span>
     
    </div>
    <div style="" id="ember82" class="pv-deferred-area ember-view">  <div class="pv-deferred-area__content">
        <!---->
      </div>
    </div>
    <div style="min-height: 285px" id="ember83" class="pv-deferred-area pv-deferred-area--pending ember-view">  <li-icon aria-hidden="true" type="loader" class="pv-deferred-area__loader pv-deferred-area__loader--dark" size="large"><div class="artdeco-spinner"><span class="artdeco-spinner-bars"></span><span class="artdeco-spinner-bars"></span><span class="artdeco-spinner-bars"></span><span class="artdeco-spinner-bars"></span><span class="artdeco-spinner-bars"></span><span class="artdeco-spinner-bars"></span><span class="artdeco-spinner-bars"></span><span class="artdeco-spinner-bars"></span><span class="artdeco-spinner-bars"></span><span class="artdeco-spinner-bars"></span><span class="artdeco-spinner-bars"></span><span class="artdeco-spinner-bars"></span></div></li-icon>
    </div>
    <div id="ember84" class="pv-occludable__accomplishments ember-view"><!----></div>
    <div style="min-height: 200px" id="ember85" class="pv-deferred-area pv-deferred-area--pending ember-view">  <li-icon aria-hidden="true" type="loader" class="pv-deferred-area__loader pv-deferred-area__loader--dark" size="large"><div class="artdeco-spinner"><span class="artdeco-spinner-bars"></span><span class="artdeco-spinner-bars"></span><span class="artdeco-spinner-bars"></span><span class="artdeco-spinner-bars"></span><span class="artdeco-spinner-bars"></span><span class="artdeco-spinner-bars"></span><span class="artdeco-spinner-bars"></span><span class="artdeco-spinner-bars"></span><span class="artdeco-spinner-bars"></span><span class="artdeco-spinner-bars"></span><span class="artdeco-spinner-bars"></span><span class="artdeco-spinner-bars"></span></div></li-icon>
    </div>        </div>
          </div>
          <div class="pv-content__right-rail right-rail">
              <div id="ember86" class="pv-profile-info-section mb4 ember-view"><!---->
    <div id="ember87" class="pv-view-public-profile-section pv-profile-info-section-button relative ember-view"><a rel="noopener noreferrer" target="_blank" href="https://www.linkedin.com/public-profile/settings?trk=d_flagship3_profile_self_view_public_profile" id="ember88" class="pv-view-public-profile-section__button pv-profile-info-section-button__button ember-view">  <span class="t-16 t-black--light t-bold">Modifier le profil public et l’URL</span>
    </a>
    <artdeco-hoverable-trigger tabindex="-1" id="ember89" class="pv-view-public-profile-section__button-icon pv-profile-info-section-button__button-icon ember-view">  <span aria-describedby="artdeco-hoverable-artdeco-gen-42">
        <li-icon type="question-pebble-icon" size="small" role="img" aria-label="Voyez et modifiez comment vous apparaissez pour les personnes qui ne se sont pas identifiées et vous ont trouvé(e) grâce à un moteur de recherche (ex : Google, Bing)"><svg viewBox="0 0 24 24" width="24px" height="24px" x="0" y="0" preserveAspectRatio="xMinYMin meet" class="artdeco-icon" focusable="false"><path d="M7,10h2v2H7V10zM15,8c0,3.9-3.1,7-7,7s-7-3.1-7-7c0-3.9,3.1-7,7-7S15,4.1,15,8zM13.2,8c0-2.9-2.3-5.2-5.2-5.2S2.8,5.1,2.8,8c0,2.9,2.3,5.2,5.2,5.2S13.2,10.9,13.2,8zM8.5,4h-1C6.1,4,5,5.1,5,6.5V7h1.9V5.9h2.3v1.3H8c-0.6,0-1,0.4-1,1V9h1.5C9.9,9,11,7.9,11,6.5C11,5.1,9.9,4,8.5,4z" class="small-icon" style="fill-opacity: 1"></path></svg></li-icon>
      </span>
    <div id="artdeco-gen-42" style="display: none;" class="ember-view"><div id="ember91" class="ember-view"></div></div></artdeco-hoverable-trigger></div>
     
      <hr class="divider mt4 mb4">
      <div id="ember92" class="mt2 pv-add-secondary-language-section pv-profile-info-section-button relative ember-view"><a data-control-name="add_secondary_language" href="/in/lxxxxxx2/edit/secondary-language/" id="ember93" class="pv-add-secondary-language-section__button pv-profile-info-section-button__button ember-view">  <span class="t-16 t-black--light t-bold">Ajouter un profil dans une autre langue</span>
    </a>
    <artdeco-hoverable-trigger tabindex="-1" id="ember94" class="pv-add-secondary-language-section__button-icon pv-profile-info-section-button__button-icon ember-view">  <span aria-describedby="artdeco-hoverable-artdeco-gen-43">
        <li-icon type="question-pebble-icon" size="small" role="img" aria-label="En créant un profil dans une autre langue, il est plus simple pour les professionnels et recruteurs locaux de vous trouver sur LinkedIn et de vous contacter."><svg viewBox="0 0 24 24" width="24px" height="24px" x="0" y="0" preserveAspectRatio="xMinYMin meet" class="artdeco-icon" focusable="false"><path d="M7,10h2v2H7V10zM15,8c0,3.9-3.1,7-7,7s-7-3.1-7-7c0-3.9,3.1-7,7-7S15,4.1,15,8zM13.2,8c0-2.9-2.3-5.2-5.2-5.2S2.8,5.1,2.8,8c0,2.9,2.3,5.2,5.2,5.2S13.2,10.9,13.2,8zM8.5,4h-1C6.1,4,5,5.1,5,6.5V7h1.9V5.9h2.3v1.3H8c-0.6,0-1,0.4-1,1V9h1.5C9.9,9,11,7.9,11,6.5C11,5.1,9.9,4,8.5,4z" class="small-icon" style="fill-opacity: 1"></path></svg></li-icon>
      </span>
    <div id="artdeco-gen-43" style="display: none;" class="ember-view"><div id="ember96" class="ember-view"></div></div></artdeco-hoverable-trigger></div>
    </div>
     
            <div id="ember97" class="ember-view">  <section id="ember98" class="ad-banner-container ember-view"><iframe class="ad-banner" width="300" height="250" src="about:blank" scrolling="no" title="publicité"></iframe>
     
    <!----></section>
    </div>
     
    <div style="" id="ember99" class="pv-deferred-area ember-view">  <div class="pv-deferred-area__content">
                      <section id="ember139" style="display: none;" class="pv-profile-section pv-browsemap-section profile-section artdeco-container-card ember-view"><h2 class="pv-browsemap-section--heading t-16 t-black t-normal">Les membres ont aussi vu…</h2>
     
    <!---->
    <ul class="pv-profile-section__section-info section-info browsemap mt4">
    <!----></ul>
     
    <!----></section>
     
      </div>
    </div>
    <div id="ember104" class="ember-view">                <section id="ember186" class="pv-course-recommendations ember-view"><h3 class="t-16 t-black t-normal mv4">Ajoutez de nouvelles compétences en suivant ces cours</h3>
     
    <ul class="list-style-none" id="pv-course-recommendations__recommendations-list">
        <li class="pv-course-recommendations__recommendation-item mv4">
    <a rel="noopener noreferrer" target="_blank" href="https://www.linkedin.com/learning/faire-un-bon-pitch?courseClaim=AQHuRFjNWTaYKQAAAWw84U9oLqL9tXp3xx9-F06QeT3IUJEweahzA_nRtAyLBDyHmxkEbQsVLKcFPwPlq8GMli5RAz9-zsKfET4go4q0lHOBxTr4-rtPQ0TbJWUBfotAjx4-m3x_FCDszBk-jCNo-_du859-wkCwhLRT1OGRj97TRX-OFWG9jGtIyQYwG5_-fVPx9pCmnsv-Uke4O5pS8trZwUh8vFqxULe_IASSAtgABfFwCF0BHkfzYWfCQ_sumcRdD-Tjdarb7AyVJZPwfvZzH1NM2G0x_eJ9e7LLzVC5I1vwWaOpci204Oy5iPIjCiPK0y8XMJZWoLKYdPxKEyZbzHKXtOKORBmv10yOHjNairZGvYSdZdF-VsPUxKg_PbgGbB-1EdNSUX6HSWPrcNL-_db5PI1yG1eTRzwECokQe1mAM2XC1hAN2SBWQvgXkR7jdsWYHU5fm2pwzjWhfGpa_cLUIl3VItUlQ07Epg5KwDqgUq56QNeWbBtkJQyGv13LG5CQA5paqlvbhVT0kQYcfPRzAeZl5fVKHJBwjJSqZMEXp6YJpBdMozgCyjZBM7OTUUVg9eTHb3hhUQPzv1kk7jbuMiarXyd6Xiy_9cQuTV4PtnFMHyTNRhUkQs0FOyPGxgbglKnej81u9oH9Onj53oRTIUmE05fjSj-khyAc8n_GVAaot00RcWYnGb6xrA&amp;trk=profileSelf_d_flagship3_profile_view_base_learningFeedm001_398442_learning" id="ember188" class="pv-course-recommendations__course-image-link mr2 ember-view">          <img class="lazy-image pv-course-recommendations__course-image ghost-default loaded" alt="Formation LinkedIn Learning&nbsp;: Faire un bon pitch." src="https://cdn.lynda.com/courses/398442-636734808295100765_720x1280_thumb.jpg">
              <div class="pv-course-recommendations__play-icon">
                <li-icon aria-hidden="true" type="play-icon" size="small" color="white"><svg viewBox="0 0 24 24" width="24px" height="24px" x="0" y="0" preserveAspectRatio="xMinYMin meet" class="artdeco-icon" focusable="false"><path d="M15,8a0.79,0.79,0,0,0-.38-0.68L4,0.88V15.13L14.62,8.68A0.79,0.79,0,0,0,15,8ZM6,4.28L12.13,8,6,11.72V4.28Z" class="small-icon" style="fill-opacity: 1"></path></svg></li-icon>
              </div>
    </a>      <div class="pv-course-recommendations__recommendation-item-right">
    <a rel="noopener noreferrer" target="_blank" href="https://www.linkedin.com/learning/faire-un-bon-pitch?courseClaim=AQHuRFjNWTaYKQAAAWw84U9oLqL9tXp3xx9-F06QeT3IUJEweahzA_nRtAyLBDyHmxkEbQsVLKcFPwPlq8GMli5RAz9-zsKfET4go4q0lHOBxTr4-rtPQ0TbJWUBfotAjx4-m3x_FCDszBk-jCNo-_du859-wkCwhLRT1OGRj97TRX-OFWG9jGtIyQYwG5_-fVPx9pCmnsv-Uke4O5pS8trZwUh8vFqxULe_IASSAtgABfFwCF0BHkfzYWfCQ_sumcRdD-Tjdarb7AyVJZPwfvZzH1NM2G0x_eJ9e7LLzVC5I1vwWaOpci204Oy5iPIjCiPK0y8XMJZWoLKYdPxKEyZbzHKXtOKORBmv10yOHjNairZGvYSdZdF-VsPUxKg_PbgGbB-1EdNSUX6HSWPrcNL-_db5PI1yG1eTRzwECokQe1mAM2XC1hAN2SBWQvgXkR7jdsWYHU5fm2pwzjWhfGpa_cLUIl3VItUlQ07Epg5KwDqgUq56QNeWbBtkJQyGv13LG5CQA5paqlvbhVT0kQYcfPRzAeZl5fVKHJBwjJSqZMEXp6YJpBdMozgCyjZBM7OTUUVg9eTHb3hhUQPzv1kk7jbuMiarXyd6Xiy_9cQuTV4PtnFMHyTNRhUkQs0FOyPGxgbglKnej81u9oH9Onj53oRTIUmE05fjSj-khyAc8n_GVAaot00RcWYnGb6xrA&amp;trk=profileSelf_d_flagship3_profile_view_base_learningFeedm001_398442_learning" id="ember189" class="pv-course-recommendations__course-title t-16 t-black t-bold ember-view">          <span aria-hidden="true">Faire un bon pitch</span>
              <span class="a11y-text">Formation LinkedIn Learning&nbsp;: Faire un bon pitch.</span>
    </a>          <p class="t-14 t-black t-normal" aria-hidden="true">
                Vues&nbsp;: 44 724
              </p>
              <span class="a11y-text">44 724 personnes ont regardé cette formation.</span>
          </div>
        </li>
        <li class="pv-course-recommendations__recommendation-item mv4">
    <a rel="noopener noreferrer" target="_blank" href="https://www.linkedin.com/learning/james-white-et-son-cheval-laser?courseClaim=AQG7ccuiZZm3BQAAAWw84U9poU8z4SHAfDVMmTcoc7FJU5w1RSFy4ndO1FcuET-tybkbQlSAhUulvX4duhGafTMme_x4pRGjfBzAyGoRPnzNcemkdDaxwjT-pmU3C51FGygeWaWRn2Is8Q8uQy-lcBWOF1-IdKGo9WLInlYPU-a9S8HvDGvfUy0AaIarRi74G04SErNOL5GAoZvyZZjIUU8ZFrZWDapwpUNlZAS3a2JLuoJA99cHykHC2E2sQ8N1hKQv4nlF9b0RYNyBMplLkO1w6CFHlhM2ea7C57M95zGYk8l7kcm-v5aiRdLHFCAO0hAGikq4MPAiwT3FSA9hXIT6e6xXDCvyVSqy78RzHL2c5Wp-oGATv2LqFTOPpmG9TntH7D1DyyFToPemsTmqeCpJZu7BdQ_yCiCdtfXd9GHbCWl1dwVQetiPlIID1dtT2CMIDJnbAWcqGGeMR4ZyHfvreY1o59MudzW-D7CRH4NX0g5WR3-yGpWKksr7OOeyaMn4iLGV7e9FmkacAmtlOhxkGXW8pgGZeTlez8Zi5M9ZbZmq22p90AaMlAHNoyV54U2gRdJAzykpK7x0yPkX3EH2xoExzx-3zNfbsMSMV9H24G4f-Vy90y4Vp40qm0Qamjq0MX0QlASFwtO6LnxewEw4yy15c7I8vzOY4eRLyZQXYCk44f0DMfTmZciddQqFoQ&amp;trk=profileSelf_d_flagship3_profile_view_base_learningFeedm001_487921_learning" id="ember191" class="pv-course-recommendations__course-image-link mr2 ember-view">          <img class="lazy-image pv-course-recommendations__course-image ghost-default" alt="Formation LinkedIn Learning&nbsp;: James White et son cheval laser.">
              <div class="pv-course-recommendations__play-icon">
                <li-icon aria-hidden="true" type="play-icon" size="small" color="white"><svg viewBox="0 0 24 24" width="24px" height="24px" x="0" y="0" preserveAspectRatio="xMinYMin meet" class="artdeco-icon" focusable="false"><path d="M15,8a0.79,0.79,0,0,0-.38-0.68L4,0.88V15.13L14.62,8.68A0.79,0.79,0,0,0,15,8ZM6,4.28L12.13,8,6,11.72V4.28Z" class="small-icon" style="fill-opacity: 1"></path></svg></li-icon>
              </div>
    </a>      <div class="pv-course-recommendations__recommendation-item-right">
    <a rel="noopener noreferrer" target="_blank" href="https://www.linkedin.com/learning/james-white-et-son-cheval-laser?courseClaim=AQG7ccuiZZm3BQAAAWw84U9poU8z4SHAfDVMmTcoc7FJU5w1RSFy4ndO1FcuET-tybkbQlSAhUulvX4duhGafTMme_x4pRGjfBzAyGoRPnzNcemkdDaxwjT-pmU3C51FGygeWaWRn2Is8Q8uQy-lcBWOF1-IdKGo9WLInlYPU-a9S8HvDGvfUy0AaIarRi74G04SErNOL5GAoZvyZZjIUU8ZFrZWDapwpUNlZAS3a2JLuoJA99cHykHC2E2sQ8N1hKQv4nlF9b0RYNyBMplLkO1w6CFHlhM2ea7C57M95zGYk8l7kcm-v5aiRdLHFCAO0hAGikq4MPAiwT3FSA9hXIT6e6xXDCvyVSqy78RzHL2c5Wp-oGATv2LqFTOPpmG9TntH7D1DyyFToPemsTmqeCpJZu7BdQ_yCiCdtfXd9GHbCWl1dwVQetiPlIID1dtT2CMIDJnbAWcqGGeMR4ZyHfvreY1o59MudzW-D7CRH4NX0g5WR3-yGpWKksr7OOeyaMn4iLGV7e9FmkacAmtlOhxkGXW8pgGZeTlez8Zi5M9ZbZmq22p90AaMlAHNoyV54U2gRdJAzykpK7x0yPkX3EH2xoExzx-3zNfbsMSMV9H24G4f-Vy90y4Vp40qm0Qamjq0MX0QlASFwtO6LnxewEw4yy15c7I8vzOY4eRLyZQXYCk44f0DMfTmZciddQqFoQ&amp;trk=profileSelf_d_flagship3_profile_view_base_learningFeedm001_487921_learning" id="ember192" class="pv-course-recommendations__course-title t-16 t-black t-bold ember-view">          <span aria-hidden="true">James White et son cheval laser</span>
              <span class="a11y-text">Formation LinkedIn Learning&nbsp;: James White et son cheval laser.</span>
    </a>          <p class="t-14 t-black t-normal" aria-hidden="true">
                Vues&nbsp;: 2 406
              </p>
              <span class="a11y-text">2 406 personnes ont regardé cette formation.</span>
          </div>
        </li>
        <li class="pv-course-recommendations__recommendation-item mv4">
    <a rel="noopener noreferrer" target="_blank" href="https://www.linkedin.com/learning/gerer-les-hauts-potentiels?courseClaim=AQHhh67K93h0_wAAAWw84U9pSoVEYkm-Zj26-ypMGVyXFwdmMqMph1P6VmE_DI6AH3_lQ-REycx1BVyaSH78Ny86yKIHE7XpgWsjaKSy39NZO_dnHyqZE76XG2Sh6I3wp9Oz_RmTPoJYI2xDsilKyP6e7sbTT8zP1DJ-0H2puYsiUzJlIhw7veVKaj_awgb8ck_1oAyoBNnbkceTtS2LKDPg3RCk9QVc_3pV2H05WNhV6PxHZ65ylx6Abui1MbZo8VLwRCtkSOEltELdIo07PkMBCwczTN7ROdm4VPT0IQYTvuSMHmZeyL4GbA5ezEGV9t6jbGxv6DGdnqL02ZAx5MXGFYYSkg9Pu74Zh40A8mtbcKlFm1YWZtuOqO_JN6vH42GrdItawQtcshKMeaF8o18At93AKy_FmiwtNpYYlbRFdFHP9SCn32DaAXYyH3UNiM4Doz1Blo0H8-x7KHIKCDe_FXT2abxitJ5tRoseBpumljcEInOoEURne9MJUFnyU1TE9MglcrjCVNt8tyrxTvjTt14IpZwKtvStlx6iOpPNhyqT04WrJ48ki43ZtWjjtQTSAeQl9-7uX93L3gOMdywKqIjvnerBRr6kg8hVlOjt8OlOvWSts9Dm23kVldNorWSdlE-BAS80SuFE4_ZlosR8RELw188EQ9uiJRYqK2zEHNOvsodwhs8WkJCV5uUoeg&amp;trk=profileSelf_d_flagship3_profile_view_base_learningFeedm001_778442_learning" id="ember194" class="pv-course-recommendations__course-image-link mr2 ember-view">          <img class="lazy-image pv-course-recommendations__course-image ghost-default" alt="Formation LinkedIn Learning&nbsp;: Gérer les hauts potentiels.">
              <div class="pv-course-recommendations__play-icon">
                <li-icon aria-hidden="true" type="play-icon" size="small" color="white"><svg viewBox="0 0 24 24" width="24px" height="24px" x="0" y="0" preserveAspectRatio="xMinYMin meet" class="artdeco-icon" focusable="false"><path d="M15,8a0.79,0.79,0,0,0-.38-0.68L4,0.88V15.13L14.62,8.68A0.79,0.79,0,0,0,15,8ZM6,4.28L12.13,8,6,11.72V4.28Z" class="small-icon" style="fill-opacity: 1"></path></svg></li-icon>
              </div>
    </a>      <div class="pv-course-recommendations__recommendation-item-right">
    <a rel="noopener noreferrer" target="_blank" href="https://www.linkedin.com/learning/gerer-les-hauts-potentiels?courseClaim=AQHhh67K93h0_wAAAWw84U9pSoVEYkm-Zj26-ypMGVyXFwdmMqMph1P6VmE_DI6AH3_lQ-REycx1BVyaSH78Ny86yKIHE7XpgWsjaKSy39NZO_dnHyqZE76XG2Sh6I3wp9Oz_RmTPoJYI2xDsilKyP6e7sbTT8zP1DJ-0H2puYsiUzJlIhw7veVKaj_awgb8ck_1oAyoBNnbkceTtS2LKDPg3RCk9QVc_3pV2H05WNhV6PxHZ65ylx6Abui1MbZo8VLwRCtkSOEltELdIo07PkMBCwczTN7ROdm4VPT0IQYTvuSMHmZeyL4GbA5ezEGV9t6jbGxv6DGdnqL02ZAx5MXGFYYSkg9Pu74Zh40A8mtbcKlFm1YWZtuOqO_JN6vH42GrdItawQtcshKMeaF8o18At93AKy_FmiwtNpYYlbRFdFHP9SCn32DaAXYyH3UNiM4Doz1Blo0H8-x7KHIKCDe_FXT2abxitJ5tRoseBpumljcEInOoEURne9MJUFnyU1TE9MglcrjCVNt8tyrxTvjTt14IpZwKtvStlx6iOpPNhyqT04WrJ48ki43ZtWjjtQTSAeQl9-7uX93L3gOMdywKqIjvnerBRr6kg8hVlOjt8OlOvWSts9Dm23kVldNorWSdlE-BAS80SuFE4_ZlosR8RELw188EQ9uiJRYqK2zEHNOvsodwhs8WkJCV5uUoeg&amp;trk=profileSelf_d_flagship3_profile_view_base_learningFeedm001_778442_learning" id="ember195" class="pv-course-recommendations__course-title t-16 t-black t-bold ember-view">          <span aria-hidden="true">Gérer les hauts potentiels</span>
              <span class="a11y-text">Formation LinkedIn Learning&nbsp;: Gérer les hauts potentiels.</span>
    </a>          <p class="t-14 t-black t-normal" aria-hidden="true">
                Vues&nbsp;: 18 874
              </p>
              <span class="a11y-text">18 874 personnes ont regardé cette formation.</span>
          </div>
        </li>
    </ul>
     
    <span class="pv-course-recommendations__cta">
    <a rel="noopener noreferrer" target="_blank" href="https://www.linkedin.com/learning/?trk=profileSelf_d_flagship3_profile_view_base_learningFeedm001_seeRecommendations_learning" id="ember196" class="pv-course-recommendations__cta-link ember-view">    Voir mes suggestions
    </a></span>
    </section>
     
    </div>
    <!---->      </div>
     
          <footer id="ember100" class="global-footer global-footer--static ember-view"><div id="ember101" class="global-footer__occlusion-hint ember-view"><!----></div></footer>
        </div>
     
    </div>
    <!---->
     
    <!---->
     
    </div>
     
     
      </div>
    </div>
     
    </div>

    Ligne 80, J'ai remplacé le nom par :
    xxxxxxxx ICI LE INNERHTML A SCRAPPER xxxxxxxxxxx
    pour te faciliter la tâche ^^

  12. #12
    Rédacteur/Modérateur

    Avatar de SpaceFrog
    Homme Profil pro
    Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Inscrit en
    Mars 2002
    Messages
    39 658
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 75
    Localisation : Royaume-Uni

    Informations professionnelles :
    Activité : Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Secteur : Industrie

    Informations forums :
    Inscription : Mars 2002
    Messages : 39 658
    Billets dans le blog
    1
    Par défaut
    https://codepen.io/anon/pen/pMRpEP

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    test = document.querySelector("div.test")
    firstli= test.querySelector("div ul li");
     
      	console.log('NAME :: ' + firstli.innerHTML);
      	console.log("NAME 2 :: " + firstli.textContent);
      	console.log("NAME 3 :: " + firstli.outerHTML);
    avec
    Code HTML : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    <div class="display-flex mt2 test">
                            <div class="flex-1 mr5">
                              <ul class="pv-top-card-v3--list inline-flex align-items-center">
                                <li class="inline t-24 t-black t-normal break-words">
                                  xxxxxxxxxx ICI LE INNERHTML A SCRAPPER xxxxxxxxxxxxx
                                </li>
                                <!---->
    Ma page Developpez - Mon Blog Developpez
    Président du CCMPTP (Comité Contre le Mot "Problème" dans les Titres de Posts)
    Deux règles du succès: 1) Ne communiquez jamais à quelqu'un tout votre savoir...
    Votre post est résolu ? Alors n'oubliez pas le Tag

    Venez sur le Chat de Développez !

  13. #13
    Membre confirmé
    Homme Profil pro
    Inscrit en
    Octobre 2012
    Messages
    172
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Octobre 2012
    Messages : 172
    Par défaut
    ca ne fonctionne pas sur la page de profil...
    J'ai toujours le même resultat :s

    Linkedin aurait trouvé un moyen de protéger ses balises du scrap ?

  14. #14
    Expert confirmé
    Avatar de Watilin
    Homme Profil pro
    En recherche d'emploi
    Inscrit en
    Juin 2010
    Messages
    3 094
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 36
    Localisation : France, Ille et Vilaine (Bretagne)

    Informations professionnelles :
    Activité : En recherche d'emploi

    Informations forums :
    Inscription : Juin 2010
    Messages : 3 094
    Par défaut
    name n’est pas une variable comme les autres. Elle a un mutateur, tout ce que tu y affectes est converti en string. D’où le "[HTMLLIElement]", et d’où le fait que les propriétés .innerHTML et .textContent sont indéfinies.

    Note : utilise let pour ne plus avoir de conflit de noms avec les propriétés de window. le mode strict peut être utile aussi.
    La FAQ JavaScript – Les cours JavaScript
    Touche F12 = la console → l’outil indispensable pour développer en JavaScript !

  15. #15
    Membre confirmé
    Homme Profil pro
    Inscrit en
    Octobre 2012
    Messages
    172
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Octobre 2012
    Messages : 172
    Par défaut
    Citation Envoyé par Watilin Voir le message
    name n’est pas une variable comme les autres. Elle a un mutateur, tout ce que tu y affectes est converti en string. D’où le "[HTMLLIElement]", et d’où le fait que les propriétés .innerHTML et .textContent sont indéfinies.
    incroyable 0_o
    je ne savais pas !

    est ce que ca s'etend à toute variable contenant "name" dedans ?

  16. #16
    Expert confirmé
    Avatar de Watilin
    Homme Profil pro
    En recherche d'emploi
    Inscrit en
    Juin 2010
    Messages
    3 094
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 36
    Localisation : France, Ille et Vilaine (Bretagne)

    Informations professionnelles :
    Activité : En recherche d'emploi

    Informations forums :
    Inscription : Juin 2010
    Messages : 3 094
    Par défaut
    Citation Envoyé par Gob59 Voir le message
    J'ai changé "name" par "truc" même resultat :s
    Montre-nous le code
    La FAQ JavaScript – Les cours JavaScript
    Touche F12 = la console → l’outil indispensable pour développer en JavaScript !

  17. #17
    Membre confirmé
    Homme Profil pro
    Inscrit en
    Octobre 2012
    Messages
    172
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Octobre 2012
    Messages : 172
    Par défaut
    non ben ton astuce fonctionne (j'avais oublié de reload l'extension)

    y'en a til d'autre à connaitre comme ca ?

    Merci à tous les deux en tout cas...

    Et pour la curiosité, connaîtriez vous des moyens de bloquer une application de scrap ? qui empêcherait de parcourir le DOM ou protégerait des balises par exemple ?

  18. #18
    Expert confirmé
    Avatar de Watilin
    Homme Profil pro
    En recherche d'emploi
    Inscrit en
    Juin 2010
    Messages
    3 094
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 36
    Localisation : France, Ille et Vilaine (Bretagne)

    Informations professionnelles :
    Activité : En recherche d'emploi

    Informations forums :
    Inscription : Juin 2010
    Messages : 3 094
    Par défaut
    Citation Envoyé par Gob59 Voir le message
    connaîtriez vous des moyens de bloquer une application de scrap ?
    Il n’y a qu’un seul moyen fiable à 100 % : ne pas mettre les données sur Internet.
    La FAQ JavaScript – Les cours JavaScript
    Touche F12 = la console → l’outil indispensable pour développer en JavaScript !

  19. #19
    Membre confirmé
    Homme Profil pro
    Inscrit en
    Octobre 2012
    Messages
    172
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Octobre 2012
    Messages : 172
    Par défaut
    ok je le fais merci

  20. #20
    Expert confirmé
    Avatar de Watilin
    Homme Profil pro
    En recherche d'emploi
    Inscrit en
    Juin 2010
    Messages
    3 094
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 36
    Localisation : France, Ille et Vilaine (Bretagne)

    Informations professionnelles :
    Activité : En recherche d'emploi

    Informations forums :
    Inscription : Juin 2010
    Messages : 3 094
    Par défaut
    Citation Envoyé par Gob59 Voir le message
    non ben ton astuce fonctionne […] y'en a til d'autre à connaitre comme ca ?
    Désolé, j’avais oublié de répondre à cette question
    Comme je t’ai déjà dit, il y a let et le mode strict qui te protègent contre les conflits de noms de variables.
    Mais JavaScript a d’autres pièges, et l’un d’entre eux est la comparaison. L’opérateur d’égalité le plus connu, ==, est laxiste : il fait des conversions de type implicites, suivant des règles qui ne sont pas du tout intuitives. Pour garder un maximum de contrôle, utilise toujours l’égalité stricte === (et son contraire !==) et convertis toi-même les variables quand il y a besoin.
    La FAQ JavaScript – Les cours JavaScript
    Touche F12 = la console → l’outil indispensable pour développer en JavaScript !

Discussions similaires

  1. Propriété Cell Inaccessible
    Par cocaaladioxine dans le forum Macros et VBA Excel
    Réponses: 20
    Dernier message: 28/02/2008, 11h18
  2. Propriété .Name inaccessible
    Par pompidouwa dans le forum VBA Access
    Réponses: 10
    Dernier message: 15/09/2007, 03h53
  3. bug? fenêtre propriété devenu inaccessible
    Par philoeil dans le forum Access
    Réponses: 4
    Dernier message: 02/07/2007, 18h49
  4. La propriété innerHTML peut-elle être en lecture seule ?
    Par Gat- dans le forum Général JavaScript
    Réponses: 3
    Dernier message: 13/06/2007, 11h16
  5. Réponses: 2
    Dernier message: 13/06/2007, 11h09

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo