b) will remove the link to /test.html#top which is usually not desirable
How about values encoded in the URL (ie. /test.html?myvar=1)? As long as it wasn't navigation related (eg. /test.html?page=1), or needed to remain in the URL between pages for some reason, you might want to check for those too.
Now we're getting into regular expression country.99热这里只有精品国产，免费99精品国产自在现线，99国产这里有精品视频