HTML Browser

Open-source HTML projects categorized as Browser

Top 14 HTML Browser Projects

  • to-markdown

    🛏 An HTML to Markdown converter written in JavaScript

    Project mention: I need automatic source URLs when I paste any text onto a card or note, like on OneNote. | /r/ObsidianMD | 2023-04-20

    // Original script // https://gist.github.com/kepano/90c05f162c37cf730abb8ff027987ca3 // Bookmarklet Converter // https://caiorss.github.io/bookmarklet-maker/ // Libraries // https://github.com/mixmark-io/turndown // https://github.com/mozilla/readability javascript: Promise.all([import('https://unpkg.com/[email protected]?module'), import('https://unpkg.com/@tehshrike/[email protected]'), ]).then(async ([{ default: Turndown }, { default: Readability }]) => { /* Optional vault name */ const vault = ""; /* Optional folder name such as "Clippings/" */ const folder = "Clippings/"; /* Optional tags */ const tags = ""; function getSelectionHtml() { var html = ""; if (typeof window.getSelection != "undefined") { var sel = window.getSelection(); if (sel.rangeCount) { var container = document.createElement("div"); for (var i = 0, len = sel.rangeCount; i < len; ++i) { container.appendChild(sel.getRangeAt(i).cloneContents()); } html = container.innerHTML; } } else if (typeof document.selection != "undefined") { if (document.selection.type == "Text") { html = document.selection.createRange().htmlText; } } return html; } const selection = getSelectionHtml(); const { title, byline, content } = new Readability(document.cloneNode(true)).parse(); function getFileName(fileName) { var userAgent = window.navigator.userAgent, platform = window.navigator.platform, windowsPlatforms = ['Win32', 'Win64', 'Windows', 'WinCE']; if (windowsPlatforms.indexOf(platform) !== -1) { fileName = fileName.replace(':', '').replace(/[/\\?%*|"<>]/g, '-'); } else { fileName = fileName.replace(':', '').replace(/\//g, '-').replace(/\\/g, '-'); } return fileName; } const fileName = getFileName(title); if (selection) { var markdownify = selection; } else { var markdownify = content; } if (vault) { var vaultName = '&vault=' + encodeURIComponent(`${vault}`); } else { var vaultName = ''; } const markdownBody = new Turndown({ headingStyle: 'atx', hr: '---', bulletListMarker: '-', codeBlockStyle: 'fenced', emDelimiter: '*', }).turndown(markdownify); var date = new Date(); function convertDate(date) { var yyyy = date.getFullYear().toString(); var mm = (date.getMonth()+1).toString(); var dd = date.getDate().toString(); var mmChars = mm.split(''); var ddChars = dd.split(''); return yyyy + '-' + (mmChars[1]?mm:"0"+mmChars[0]) + '-' + (ddChars[1]?dd:"0"+ddChars[0]); } const today = convertDate(date); // This is the output template // It is similar to an Obsidian core template // except to insert a value we use: ${value} instead of {{value}} const fileContent =`--- type: clipping date_added: ${today} aliases: [] tags: [${tags}] --- author:: ${byline.toString().split('\n')[0].trim()} source:: [${title}](${document.URL}) ${markdownBody} `; // This copies your text to the clipboard navigator.clipboard.writeText(fileContent); // This creates a new document in Obsidian containing your clipping // I commented it out as this isn't what you asked for /* document.location.href = "obsidian://new?" + "file=" + encodeURIComponent(folder + fileName) + "&content=" + encodeURIComponent(fileContent) + vaultName; */ })

  • wpt

    Test suites for Web platform specs — including WHATWG, W3C, and others

    Project mention: We're building a browser when it's supposed to be impossible | news.ycombinator.com | 2023-04-11

    We have our own test suite (orginally derived from the test suite of Meta's Yoga layout library [0]) which consists of text fixtures that are small HTML snippets [1] and a test harness [2] that turns those into runnable tests, utilising headless chrome both to parse the HTML and to generate the assertions based on the layout that Chrome renders (so we are effectively comparing our implementation against Chrome). We currently have 686 generated tests (covering both Flexbox and CSS Grid).

    We would like to utilise the Web Platform Test suite [3], however these are not in a standard format and many of the tests require JavaScript so we are not currently able to do that.

    [0]: https://github.com/facebook/yoga

    [1]: https://github.com/DioxusLabs/taffy/tree/main/test_fixtures

    [2]: https://github.com/DioxusLabs/taffy/tree/main/scripts/gentes...

    [3]: https://github.com/web-platform-tests/wpt/tree/master/css/cs...

  • Appwrite

    Appwrite - The open-source backend cloud platform. The open-source backend cloud platform for developing Web, Mobile, and Flutter applications. You can set up your backend faster with real-time APIs for authentication, databases, file storage, cloud functions, and much more!

  • supercookie

    ⚠️ Browser fingerprinting via favicon!

    Project mention: "It may take a few minutes to process your new cookie preferences" -- Is this real!? What is actually going on here? | /r/webdev | 2023-06-05

    I'm sure it's completely bs, but if a site was taking that long to set cookies I'd guess they're trying to set SuperCookies.

  • badssl.com

    :lock: Memorable site for testing clients against bad SSL configs.

    Project mention: Netsec területen jártas arcok, mi a véleményetek az alábbi LifeProTip-ről? | /r/askhungary | 2023-06-30
  • OnionBrowser

    An open-source, privacy-enhancing web browser for iOS, utilizing the Tor anonymity network

    Project mention: iOS and Tor Browser app | /r/darknet | 2023-06-13
  • offline-qr-code

    📱 Browser add-on allowing you to quickly generate a QR code offline with the URL of the open tab or other text!

  • rearrange-tabs

    Google Chrome Extension to rearrange your tabs using customizable keyboard shortcuts

    Project mention: Many temptations of an open-source Chrome extension developer | news.ycombinator.com | 2023-08-09

    This is so true. I receive these emails every week. I've even had offers about acquisition that I had to turn down. Having a "Featured" chrome extension does seem to attract a lot of these offers. The more emails/offers I receive, the more I'm convinced that I shouldn't give up the extension.

    For those curious, here's the GitHub repo of my extension: https://github.com/mohnish/rearrange-tabs

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • eaf-browser

    A modern, customizable and extensible browser in Emacs

    Project mention: Using Carbonyl of Browsh in emacs? | /r/emacs | 2023-04-21
  • tiddlywiki-ipfs

    IPFS with TiddlyWiki

  • nano-js

    JavaScript Nano Wallet

    Project mention: Does the current Nano architecture allow 'IOY offline transactions' with delayed broadcasting? | /r/nanocurrency | 2023-03-23
  • word-cloud-generator

    D3 Word Cloud Generator

    Project mention: My Hacktoberfest Recap | dev.to | 2022-10-31

    My fourth PR was on word-cloud-generator, which allows users to generate word clouds using various settings. My PR added capitalisation settings to the settings panel, allowing for users to specify the capitalisation of the words in the word cloud.

  • csum

    Calculate the checksum of a file using JavaScript.

  • DoIHaveJavaScriptEnabled

    A simple static site to tell users whether or not they have Javascript enabled in their web browser

  • fakey

    web-based fake data generator.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-08-09.

HTML Browser related posts

Index

What are some of the best open-source Browser projects in HTML? This list will help you:

Project Stars
1 to-markdown 7,162
2 wpt 4,403
3 supercookie 4,254
4 badssl.com 2,615
5 OnionBrowser 2,099
6 offline-qr-code 357
7 rearrange-tabs 165
8 eaf-browser 82
9 tiddlywiki-ipfs 50
10 nano-js 7
11 word-cloud-generator 4
12 csum 1
13 DoIHaveJavaScriptEnabled 0
14 fakey 0
Updating dependencies is time-consuming.
Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.
blog.mergify.com