Click here to Skip to main content
15,791,963 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
The code below used to hide in Edge with Page Manipulator extension some of it, I want to hide Bibliography and References and Notes and "External Links" and "See Also", I need please JavaScript code like the 2 lines below to hide all of them, with commenting what each line hides, I do this to make the page shorter so I read it enthusiastically and know with the scroll bar where I am in reading it.
The References line doesn't hide it anymore, I know lots of C# but not JS.

What I have tried:

document.querySelectorAll(".references").forEach(ref => = "none");
document.querySelectorAll(".Z3988").forEach(bib => = "none");
Graeme_Grant 26-Jun-23 9:36am    
You need to read Wikipedia terms of service. What you are attempting may be in breach. You should always give credit to the source of your information.
RobertoSky 26-Jun-23 9:41am    
I'm doing it for myself on my Edge browser to show the page in a certain way sometimes and not have disturbing data in the page that as I said makes me not know where I'm in advancement in the page, also, when the page is shorter then I'm motivated to read it, I would check the sources if I need them.
Graeme_Grant 26-Jun-23 9:46am    
If it is for yourself, then this level of coverup is not required, only if sharing with others.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900