首页 扩展程序 Sustainable Web Browsing

Sustainable Web Browsing

提供方: koenhagen
0
效率 10 位用户

插件简介

Browser extension that allows the user to browse the web more sustainably
The internet has become a big part of modern life and its use is still steadily rising in numbers. This increase in use costs energy for the servers that these web pages and other essential components are running on, as well as for the end user’s computer. There are multiple ways in which web pages would consume more energy than necessary. Firstly, web pages are inefficiently built, as developers typically do not prioritise efficient energy consumption. Secondly, Web pages often show a lot of unnecessary elements, like images, that a visitor is not interested in. The benefits of making a web page more energy efficient are not as apparent for developers. When web efficiency is focussed on, it's typically for other reasons than energy consumption, like page loading speed and accessibility for people with low bitrate.

Because of this lack of focus, a lot of energy can be saved by making the web more efficient. Specifically, we will be looking at bringing efficiency to the server-side. While the most efficient way to do this is to adapt the web pages directly, it can also be done externally. We aim to do this by building a browser extension that filters web pages before they are loaded in. This extension can be added to your browser and automatically adds the filter onto any web page that you are visiting.

By work of the extension, pages get stripped of unnecessary features, like borders, shadows, animations & transitions, backgrounds and other decorations. Fonts are defaulted to Arial, which is built in any browser. A grey scale is overlaid onto the site and images are swapped for an empty frame.

To implement such a browser extension, we primarily made use of CSS insertion. This can be performed before a page loads, which makes it perfect for our aim to reduce page load emissions without altering any functionality of the page. This method is also not page-specific, so the extension can be active on any and all web pages.

Inserting CSS allows us to overwrite a lot of style scripting in the page and also allows removing images in a lot of instances. Furthermore, we use it to remove transitions and simplify all elements on the page; pages are grayscale, fonts are defaulted to Arial, text decorations and shadows are removed, colours are also set to a default. All these things make the page a more simplified version of itself.

After the CSS-insertion has taken place, the page is loaded. Only then we can run javascript on the DOM (Document Object Model), which is the model that describes the page’s content. Here all image and other media elements, such as video and audio, are removed from the page.

其他信息

ID ocegphophlanpkilkaeglbglcakballp 版本 0.1 上次更新日期 2022年3月31日 大小 5.5KiB 语言 支持1 种语言 开发者

koenhagen@gmail.com

适用浏览器

谷歌浏览器、其他Chromium内核的浏览器

Sustainable Web Browsing Chrome插件下载

为打击盗链困扰,本站已启用人机验证
微信扫码关注左侧公众号,发送“插件”二字获得验证码,验证码5分钟全站有效