Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A script on www.qidian.com is consuming CPU and appears to be non-functional. This PR blocks it.
Prerequisites
To avoid invalid pull requests, please check and confirm following terms
What problem does the pull request fix?
If the problem does not fall under any category that is listed here, please write a comment below in corresponding section
What issue is being fixed?
This script from Qidian consumes user's CPU and appears to provide no actual functionality. This slows down the user's browser. I suspect that this script is either a mining script or an anti-ad blocker measure.
Enter the issue address
#178228
Add your comment and screenshots
If possible, a screenshot of a page or application should not be cropped too much. Otherwise, it is not always clear where the element is located
This can be confirmed both on Firefox and Chromium. Blocking this script does not affect website functionality. I tested the basic login and reading (this is a novel website) functions, and everything seems to be working fine.
Screenshot 1:
The script is obfuscated and makes a large number of recursive function calls. This can be confirmed using the browser's performance profiler.
Terms