Gijs
|
1a12befa41
|
Fix code style, tighten up eslint rules (#301)
|
8 years ago |
Ivan Persidsky
|
fd11f92adb
|
Use a dedicated method and backward iteration for removing nodes (#300)
This improves compat with "real" DOMs that provide a live NodeList as the return value of getElementsByTagName.
|
8 years ago |
Gijs Kruitbosch
|
140d4c4aca
|
Only compute textContent once.
|
9 years ago |
usergit
|
327bfcb93f
|
exposed textContent to be returned
this returns the text content only, this is useful as it allows the content to be easily accessible
|
9 years ago |
Gijs
|
69b81f5d70
|
Fix #287: convert getElementsByTagName result to an array (#288)
|
9 years ago |
Margaret Leibovic
|
c3c91a739b
|
Merge pull request #278 from gijsk/simplyfound-hidden-modal-dialog
Address issue #277 by marking 'modal' unlikely+negative
|
9 years ago |
Gijs Kruitbosch
|
46b08a5ea5
|
Address issue #277 by marking 'modal' unlikely+negative
|
9 years ago |
Gijs
|
fcc645019f
|
Merge pull request #275 from pdehaan/issue-273-no-inner-declarations
Add 'no-inner-declarations' rule to .eslintrc
|
9 years ago |
Peter deHaan
|
1842b5ee12
|
Add 'no-inner-declarations' rule to .eslintrc
|
9 years ago |
Gijs
|
5e6d85cd3d
|
Merge pull request #274 from pdehaan/issue-273
Convert nested function declaration to function expression to avoid strict warning
|
9 years ago |
Peter deHaan
|
b380917b4b
|
Convert nested function declaration to function expression
|
9 years ago |
Gijs
|
c2394da2d9
|
Fix #272 by not using 'location' as a variable
... because it writes to window.location when used in a browser context, which is a bad idea. Using 'loc' instead fixes this.
|
9 years ago |
Gijs
|
edfe703a41
|
Merge pull request #270 from gijsk/redeclared-vars
Fix eslint issues identified in m-c and enable automatic linting on travis
|
9 years ago |
Gijs Kruitbosch
|
7579ac4ea8
|
Enable linting through travis
|
9 years ago |
Gijs Kruitbosch
|
a4d1e9ca12
|
Fix oversight in comment removal code exposed by better/newer jsdom implementation
|
9 years ago |
Gijs Kruitbosch
|
e830ac9dd8
|
Fix eslint issues identified in m-c
|
9 years ago |
Gijs
|
e2974ca825
|
Merge pull request #268 from gijsk/dont-mangle-hash-links
Fix issue #267 by ignoring hash URIs when making URIs absolute
|
9 years ago |
Gijs Kruitbosch
|
dffa760c04
|
Fix issue #267 by ignoring hash URIs when making URIs absolute
|
9 years ago |
Gijs
|
7be3ccb57e
|
Merge pull request #262 from gijsk/bbc-script-testcase
Reuse test from pull request #239 which passes without modifications …
|
9 years ago |
Wes Johnston
|
f87a12400b
|
Reuse test from pull request #239 which passes without modifications (modified by @gijsk to pass in the current XHTML test environment)
|
9 years ago |
Gijs
|
b1d360168b
|
Merge pull request #252 from gijsk/fix-delayed-closing-tags
Fix issue #251 by making JSDOMParser deal with non-self-closed-things
|
9 years ago |
Gijs Kruitbosch
|
2e1cb3f467
|
Fix issue #251 by making JSDOMParser expect XML and stop making excuses for 'self-closed' things, when all that does is cause trouble
|
9 years ago |
Gijs
|
d360226f8c
|
Merge pull request #260 from gijsk/hid-class
Fix bug 1230050 by checking for the 'hid' class specifically, r?MattN
|
9 years ago |
Gijs Kruitbosch
|
a9597efc17
|
Fix bug 1230050 by checking for the 'hid' class specifically, r?MattN
|
9 years ago |
Gijs
|
30d6db3c11
|
Merge pull request #256 from brendanlong/spdx-license
Fix package.json's license to be in SPDX format ("Apache-2.0").
|
9 years ago |
Brendan Long
|
c59a054f78
|
Fix package.json's license to be in SPDX format ("Apache-2.0").
See: https://docs.npmjs.com/files/package.json#license
|
9 years ago |
Gijs
|
e5a6d628f4
|
Merge pull request #254 from hsemarap/readme-change-to-fix-scrambling-of-dom
Readme change to advise about DOM modification effects of parse(). Fixes #250
|
9 years ago |
Parameswaran D
|
a812b329ea
|
moved the sample code under Optional subsection
|
9 years ago |
Parameswaran D
|
d1e4ef0dcd
|
Fixes #250 : scrambling of DOM on parse
|
9 years ago |
Parameswaran D
|
0b5dd0a6fb
|
Fixes #250 : scrambling of DOM on parse
|
9 years ago |
Gijs
|
8510106638
|
Merge pull request #211 from mozilla/add-support-for-wbr-tag
Added support for the wbr html tag to JSDOMParser.
|
10 years ago |
Nicolas Perriault
|
8806e999d1
|
Added support for the wbr html tag to JSDOMParser.
|
10 years ago |
Gijs
|
a801846a45
|
Merge pull request #204 from mozilla/tweak-great-grandparent-scoring
Updated great grandparent node scoring.
|
10 years ago |
Gijs
|
5bf56177be
|
Merge pull request #207 from mozilla/better-dm
Improved embedded video elements detection.
|
10 years ago |
Nicolas Perriault
|
ae0833522c
|
Improved embedded video elements detection.
|
10 years ago |
Nicolas Perriault
|
46304bb5fe
|
Updated great grandparent node scoring.
|
10 years ago |
Nicolas Perriault
|
66071e573d
|
Merge pull request #194 from mozilla/score-intermediary-headers
Fixes #180 - Score intermediary headings.
|
10 years ago |
Nicolas Perriault
|
88ef3893b5
|
Fixes #180 - Score intermediary headings.
|
10 years ago |
Nicolas Perriault
|
6344b3f736
|
Merge pull request #196 from mozilla/strip-related-contents
Refs #195 - Exclude nodes likely to be related content.
|
10 years ago |
Nicolas Perriault
|
dc1b2c9fa0
|
Refs #195 - Exclude nodes likely to be related content.
|
10 years ago |
Margaret Leibovic
|
affa0edbdd
|
Merge pull request #197 from mozilla/support-dailymotion-videos
Ref #195 - Add support for dailymotion videos.
|
10 years ago |
Nicolas Perriault
|
cc18cb5787
|
Ref #195 - Add support for dailymotion videos.
|
10 years ago |
Nicolas Perriault
|
4721837e27
|
Merge pull request #193 from mozilla/score-great-grandparent-nodes
Fixes #113 - Score great grandparent nodes.
|
10 years ago |
Nicolas Perriault
|
9dbc009376
|
Fixes #113 - Recursive node ancestor scoring.
|
10 years ago |
Gijs
|
f71ec9ceae
|
Merge pull request #191 from mozilla/preserve-list-items
Fixes #183 - Preserve list items.
|
10 years ago |
Nicolas Perriault
|
44879722b6
|
Fixes #183 - Preserve list items.
|
10 years ago |
Alexis Métaireau
|
5912e0c872
|
Add Firefox User-Agent when generating the test case.
|
10 years ago |
Gijs
|
79aa2fca87
|
Merge pull request #189 from mozilla/dont-remove-headings
Fixes #150 - Keep article intermediary headings.
|
10 years ago |
Margaret Leibovic
|
af6da2a87d
|
Merge pull request #190 from mozilla/improved-author-meta-extraction
Improved author metadata detection.
|
10 years ago |
Nicolas Perriault
|
0d696051e9
|
Merge pull request #188 from gijsk/improve-isprobably-readerable
Make isProbablyReaderable include <pre>, and deal with long <br>-separat...
|
10 years ago |