diff options
author | Arun Isaac | 2017-08-06 22:02:56 +0530 |
---|---|---|
committer | Arun Isaac | 2017-08-06 22:02:56 +0530 |
commit | 3dc0f0eac6814bb620dbe6de71def3400a193981 (patch) | |
tree | 1630e8eea71c8c5ac9e4852fe4982bcb5109dea6 /youtube-noscript-shim.user.js | |
parent | e7c7bf5fabccf2ad103d67d0a6ff50c13a9d946e (diff) | |
download | youtube-noscript-shim-3dc0f0eac6814bb620dbe6de71def3400a193981.tar.gz youtube-noscript-shim-3dc0f0eac6814bb620dbe6de71def3400a193981.tar.lz youtube-noscript-shim-3dc0f0eac6814bb620dbe6de71def3400a193981.zip |
Simplify code.
* viewtube.js: Use assignment expressions in IF conditions, instead of
putting them as separate statements.
OR match result with [] to always get an array as the returned value.
(cleanMyContent): Combine replace expressions into one.
(ytVideos): Remove boolean flag `ytVideoFound'.
Replace detection of DASH video with FOR loops.
Diffstat (limited to 'youtube-noscript-shim.user.js')
0 files changed, 0 insertions, 0 deletions