Kullanıcı: freeman
freeman
26.07.2019 18:18
Node.js için html parser ve dom arayüzleri sağlayan yetenekli bir modül.

Arayüz sağlamaktan ziyade browser üzerinde gelen window ve document gibi yapıların emülatörü gibi çalışır.

createElement gibi metotları saçma sapan namespace'lerde tutmak yerine browser'larda olduğu gibi window nesnesi içinde bulundurur. İşbu nedenle de browser'lara özgü olan, geçerli bir window ve document nesnelerine ihtiyaç duyan jQuery gibi kütüphaneler de kendisinin sağladığı window ve document gibi nesnelerle neredeyse sorunsuz çalışır.

Ayrıca parse edilen koddaki javascript'leri de çalıştırabilir. Hatta bu scriptler de kendi kodlarını manüpile edebilir. Bu özellikleriyle kendisi bir headless browser gibidir diyebiliriz.

#programlama

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/1.1.0/core/MY_Controller.php:95)

Filename: cookie/cookie.php

Line Number: 61

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/1.1.0/core/MY_Controller.php:95)

Filename: cookie/cookie.php

Line Number: 61

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/1.1.0/core/MY_Controller.php:95)

Filename: cookie/cookie.php

Line Number: 61

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/1.1.0/core/MY_Controller.php:95)

Filename: cookie/cookie.php

Line Number: 61

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/1.1.0/core/MY_Controller.php:95)

Filename: cookie/cookie.php

Line Number: 61

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/1.1.0/core/MY_Controller.php:95)

Filename: cookie/cookie.php

Line Number: 61

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/1.1.0/core/MY_Controller.php:95)

Filename: cookie/cookie.php

Line Number: 61

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/1.1.0/core/MY_Controller.php:95)

Filename: cookie/cookie.php

Line Number: 61

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/1.1.0/core/MY_Controller.php:95)

Filename: cookie/cookie.php

Line Number: 61

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/1.1.0/core/MY_Controller.php:95)

Filename: cookie/cookie.php

Line Number: 61