A simple script to remove the posts by keywords in Baidu, effective but confused
Try removing @grant none
, it's a special mode that makes the script run outside of the sandbox, which normally is not needed and often it's harmful as it may overwrite some of the global page stuff.
@wOxxOm
Thanks for your reply. I have removed @grant none
. I found when I activated this script, all the links on the page became invalid (no response when click it), and when I disactivated the script, the page returned to normal. What behaviors may causes this problem?
A simple script to remove the posts by keywords in Baidu, effective but confused
That's my script. Although it works, the pictures of every remaining posts can't load. help plz~