Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parsing html inside js #14

Open
mIcHyAmRaNe opened this issue May 5, 2020 · 0 comments
Open

parsing html inside js #14

mIcHyAmRaNe opened this issue May 5, 2020 · 0 comments

Comments

@mIcHyAmRaNe
Copy link

Hello, thank you for this good project.

is it possible to parse an html that is inside javascript ?
i tried to getElementsByClassName('nc_ensemble') but the TagCollection was empty

<script type="text/javascript">
  var textePage = new Array();
  textePage[0] = new Array();
  textePage[0]['Texte'] = '
  <div class="nc_ensemble">
    <div id="popupCourrierNoble" class="nc_notificationEnsemble nc_notification_apparition" style="display:none;">
      <div class="nc_notificationContent">
          Vous devez être noble de robe ou d\'épée pour accéder à cette fonctionnalité !\n
      </div>
    </div>
  </div>'
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant