Some Chrome and Edge users will be blocked from seeing their browser source code

Google Chrome
(Image credit: Monticello / Shutterstock)

IT administrators will soon have the power to block access to a web page's source code for some users of the world's top browsers.

Both Google Chrome and Microsoft Edge will be introducing the feature, which looks to fix a longstanding bug in the Chromium source code that could let users view restricted URLs.

However the change won't affect all users, but instead mainly devices bought and owned by education enterprises such as schools, colleges and universities.

Code block

The change, reported by 9to5Google, will also affect users of Chrome Enterprise, and looks to fix a long-standing issue troubling educational users and admins alike.

Users have long been able to view the source code of a webpage by tapping CTRL+U, or right-clicking anywhere on a page and selecting "View page source". Although this can be useful for developers, code-heads or just the curious, reports have claimed that doing so on some educational exam sites can sometimes reveal test answers, especially when using Google Forms.

Now, Microsoft says it has come up with a fix that it says can stop the option to view a page's source code if a particular website is on an organization’s blocklist.

The fix can also block the ability to view source code entirely if desired, and when paired with a separate existing policy, can also stop the use of Chrome DevTools entirely.

The change probably won't be seen publicly for some time, as it has only just been added to the Chromium source code, but future versions of Edge and Chrome could well introduce source code-blocking features within the next few product release windows.

However it's likely that the feature will only be present in highly-controlled use cases, such as education, for now.

The news could boost Microsoft Edge's user base in educational establishments, increasing its rising market share. Recent data has shown that Edge is beginning to establish a lead over great rival Firefox, holding 3.99% of the market - meaning the browser’s share has increased by roughly a third since this time last year.

These are the best student laptops around today

Mike Moore
Deputy Editor, TechRadar Pro

Mike Moore is Deputy Editor at TechRadar Pro. He has worked as a B2B and B2C tech journalist for nearly a decade, including at one of the UK's leading national newspapers and fellow Future title ITProPortal, and when he's not keeping track of all the latest enterprise and workplace trends, can most likely be found watching, following or taking part in some kind of sport.

Read more
Woman using a Windows computer with Microsoft Edge
Don’t panic – Microsoft’s Edge browser isn’t about to subject you to a flood of unblocked adverts (not yet, anyway)
The Microsoft Edge logo on a black background displayed on a laptop screen.
Microsoft just gave Edge a great new feature to ensure the browser doesn’t slow down the PC, and it’s tempting me to switch from Google Chrome
A finger touching the google chrome icon in the Windows 10 start menu
A new Chrome browser highjacking attack could affect billions of users - here's how to fight it
Home internet connection. A wlan router on desk with notebook in background.
Cloudflare admits security tool is blocking some challenger browsers
Google Chrome with Christmas theme in Windows 11
I've used Edge, Firefox, and Opera, and yet after ten years in tech journalism, I still come back to Chrome
Google Chrome browser icon
A new split-screen feature is coming to Google Chrome, and it's surprisingly powerful
Latest in Software & Services
TinEye website
I like this reverse image search service the most
A person in a wheelchair working at a computer.
Here’s a free way to find long lost relatives and friends
A white woman with long brown hair in a ponytail looks down at her computer in a distressed manner. She is holding her forehead with one hand and a credit card with the other
This people search finder covers all the bases, but it's not perfect
That's Them home page
Is That's Them worth it? My honest review
woman listening to computer
AWS vs Azure: choosing the right platform to maximize your company's investment
A person at a desktop computer working on spreadsheet tables.
Trello vs Jira: which project management solution is best for you?
Latest in News
Girl wearing Meta Quest 3 headset interacting with a jungle playset
Latest Meta Quest 3 software beta teases a major design overhaul and VR screen sharing – and I need these updates now
Microsoft
"Another pair of eyes" - Microsoft launches all-new Security Copilot Agents to give security teams the upper hand
Hatch Restore 3 in Putty
You can finally start your day with The Office theme song, and I couldn't be more excited
Cassian Andor looking nervously over his shoulder in Andor season 2
New Andor season 2 trailer has got Star Wars fans asking the same question – and it includes an ominous call back to Rogue One's official teaser
Ncuti Gatwa as The Fifteenth Doctor in Doctor Who
Disney+ drops new trailer for Doctor Who season 2 that promises an epic adventure across time and space
23andMe
23andMe is bankrupt and about to sell your DNA, here's how to stop that from happening