YYou can add a comment on the top of your code (and legal notice page) license information and indicate code is not allowed to be copied and reusedComment·Thread·Oct 10, 2017·Can Javascript code be encrypted making it hard for someone to copy?
YI'm afraid to see how fast this feature was implemented by all browsers https://caniuse.com/#feat=eme spec is draft again https://w3c.github.io/encrypted-media/ This is the only feature that is is not useful at all for final user and it's not a demand from developers. Most of us will never use it.Comment·Thread·Oct 10, 2017·What do people think to the DRM/HTML5 thing?
Yno, `a.push` have only one argument. Here is the original code indented: !g.handledFrom && g.from < c.index + e.length && g.from >= c.index && ( a.push({ type: 'start', offset: g.from - c.index, marker: g }), (g.handledFrom = !0) )Reply·Thread·Oct 10, 2017·Please explain below code
YTo remove one inline style: element.style.removeProperty('opacity') To remove all inline style: element.removeAttribute('style')Comment·Thread·Sep 21, 2017·How to revert CSS to default using JS?
Yit's a condensed version of this code: if ( !g.handledFrom && g.from < c.index + e.length && g.from >= c.index ) { a.push({ type: "start", offset: g.from - c.index, marker: g }); g.handledFrom = true; }Comment·Thread·Aug 23, 2017·Please explain below code