Skip to main content

4h
accepted Is DRM clearkey supposed to protect video from being recorded?
5h
comment Is DRM clearkey supposed to protect video from being recorded?
Good source for me to read, thanks a lot for the info!
6h
comment Is DRM clearkey supposed to protect video from being recorded?
I don't think you comprehend what I am asking, or we are not on the same page regarding DRM. DRM enabled video has the feature to prevent screenshot, software-based video recording, screen-sharing, etc. Try if you can take screenshot of Netflix, HBO. Of course I knew you can always use your camera to record your screen.
6h
accepted How to programmatically test if a website has disabled right-click?
6h
asked Is DRM clearkey supposed to protect video from being recorded?
Jun
29
comment How to programmatically test if a website has disabled right-click?
Oh, nothing special. I ran into some websites, e.g., e-commerce, artists, etc, and find some disabled the right-click, supposedly to disallow copying of the images. Out of curiosity, I want to find more samples and see what sites commonly disable right-click, which then spurs me to think how can I write a script to find such websites.
Jun
29
asked How to programmatically test if a website has disabled right-click?
Jun
26
comment How to let useEffect to run only once as in React 18?
Well in my real and much more complex code, I'd assign a value to another variable before I do the fetch. And what I actually checked is the value of that variable. Since it is not a fetch, it won't be "in flight". Yes, I agree with you that if it were the code I posted above, it is possible it may run twice. However, in this case, I think we can still set a sentinel variable just to prevent it from running the second time. Maybe not the most descent way to do it but get the job done simply and quick.
Jun
25
accepted How to let useEffect to run only once as in React 18?
Jun
25
comment How to let useEffect to run only once as in React 18?
Thanks for your solution. I actually found a very simple way to do it. Simply check if image is empty at the first line inside useEffect, and immediately return if it already has a value.
Jun
24
comment What is the technology used to blackout a video streaming when the user is attempting to do a screenshot?
Will take a good read, thank you very much!
Jun
24
accepted What is the technology used to blackout a video streaming when the user is attempting to do a screenshot?
Jun
24
comment What is the technology used to blackout a video streaming when the user is attempting to do a screenshot?
Thanks! As I google this topic, there are surprising very few. Is these DRM technologies proprietary? Can you point me to anywhere with like a tutorial on the implementation?
Jun
24
asked How to let useEffect to run only once as in React 18?
Jun
23
asked What is the technology used to blackout a video streaming when the user is attempting to do a screenshot?
May
27
comment jQuery way to detect all images load with in one div
I thought about doing it this way. But I am not sure how exactly "on" works. Do "on" for an array happens sequentially or concurrently? If the 2nd image has already been loaded when the "on" event checks it, will the on("load", ...) still trigger the function to run?
May
25
comment jQuery way to detect all images load with in one div
Thanks! This does not seem solve my problem, as I said, I have multiple <div> that contain images, which are initially hidden, and I want to display individual <div> as long as images in that <div> are all loaded. The solution delt with ALL images in the DOM.
May
25
comment jQuery way to detect all images load with in one div
Can you kindly point to me which is the solution? I only see one 3 upvotes and the solution is at least 20 lines.
May
25
revised jQuery way to detect all images load with in one div
added 1 character in body
May
25
asked jQuery way to detect all images load with in one div
1 2 3 4 5