If you were on the internet in the late 1990s, you might remember companies like AllAdvantage that promised to pay you to surf the web. You could install a program that tracked your browsing and showed you targeted ads at the top of the screen; then AllAdvantage would give you a cut of the ad revenue you generated.

These schemes largely disappeared after the dot-com crash. But Brendan Eich, the controversial creator of the JavaScript programming language and cofounder and former CTO of Mozilla, thinks his company Brave Software has found a way to revive that old idea.

Brave makes a browser based on Google Chrome that blocks tracking scripts and other technologies that spy on your online activity. As a result, it also blocks many web ads; if you visit WIRED.com using the Brave browser, you won’t see any ads. But starting Wednesday, Brave will give users the option to see ads that Eich says will respect your privacy. The ads will appear as desktop notifications, he says, not as replacements for the ads the Brave browser blocks. So you still won’t see ads on WIRED.com, but you might see them elsewhere on your screen. If you choose to see these ads, you’ll get 70 percent of the revenue they generate.

Eich hopes Brave can solve two of the web's most vexing problems—privacy and revenue—by turning the traditional digital advertising model on its head. Today, ad networks pay sites like WIRED.com for ad space and web browsers like Brave and Chrome deliver content from those publishers to users. Brave is trying to put the browser in the center of the advertising experience. Instead of paying publishers directly, ad networks would pay Brave, which will pass part of the money to users---and eventually to publishers---and keep a cut for itself.

By handling advertising in the browser on your device, Brave says it will be able to target ads without sending your data to the cloud, and protect your privacy. When you interact with an ad on Brave, the browser sends notice to the company's servers, but doesn't include any identifying information. Eich sees four sets of winners: browser makers get paid; users get paid, and get more privacy; advertisers can target pitches without running afoul of European privacy regulations; and publishers can survive in a world where many users are installing ad blockers.

Eich cofounded Brave in 2015 following his ouster from Mozilla in 2014 over his 2008 donation toward a California ballot initiative to ban same-sex marriages. The first version of Brave’s browser launched in 2016 with the ability to block trackers; the company added features later that year that allowed users to donate to their favorite websites. Now it’s adding the first of its promised advertising features.

Eventually, the company plans to offer a service that will replace any blocked ads on a publisher's site with ads placed by Brave and give those publishers a cut of the ad revenue. Eich says Brave will only replace ads on sites that opt into its service.