Code Monkey home page Code Monkey logo

dombuilder's Introduction

Recent Releases

  • 2024-08-05control-panel-for-youtube v1.2.4
    Browser extension which gives you more control over YouTube by adding missing options and UI improvements - for desktop & mobile browsers
    v1.2.4 release notes

    Visit the Control Panel for YouTube website for installation links, more information about the extension, and FAQs. Follow @ControlPanelFYT on Twitter for updates.

    Changes

    • Fixed layout issues in Home and Subscriptions on desktop when videos are hidden (due to YouTube's new grid implementation)
    • Removed the fillGaps option for desktop, as it's no longer needed with YouTube's new grid implementation

    hideSuggestedSections:

    • Fixed Shorts being hidden in Home
    • Fixed Recommended playlists not being hidden when viewing a Playlist

    Availability

    New versions have to be reviewed and published by each browser extension store before they're available for use.

    This release is available in the following extension stores:

    Mac App Store Mozilla Add-ons Chrome Web Store

    Donate

    Support Control Panel for YouTube development with a tip:

    Support me on Ko-fi

  • 2024-08-01control-panel-for-twitter v4.1.3
    Browser extension which gives you more control over your Twitter timeline and adds missing features and UI improvements - available for desktop and mobile browsers
    v4.1.3 release notes

    Visit the Control Panel for Twitter website for installation links, more information about the extension, and FAQs. Follow @ControlPanelFT on Twitter for updates.

    Changes

    • Hiding upsells now hides the new "Get verified" button in your own profile

    Availability

    New versions have to be reviewed and published by each browser extension store before they're available for use.

    This release is available in the following extension stores:

    Apple App Store Chrome Web Store Firefox Add-ons Edge Add-ons

    Screenshots

    Before After

    Donate

    Support Control Panel for Twitter development with a tip:

    Support me on Ko-fi

  • 2024-07-17astro-lazy-youtube-embed v0.5.0
    Embed YouTube videos with a static placeholder which only embeds when you click
    v0.5.0 release notes

    Added

    • Added the "Watch on YouTube" link to the embed
      • To omit the link, pass a noLink flag prop
    • Added support for custom thumbnails
      • Pass a URL as the thumbnail prop

    Screenshots

    "Watch on YouTube" link

  • 2023-10-19comments-owl-for-hacker-news v2.2.0
    Browser extension which makes it easer to follow comment threads on Hacker News across multiple visits, allows you to annotate and mute users, and other UI tweaks and mobile UX improvements
    v2.2.0 release notes
    • Added an option to disable or require confirmation for hiding on list pages
    • Added an option to increase the contrast of submission text (enabled by default)

    Available in the following extension stores:

    Apple App Store Firefox Chrome

  • 2021-11-24rllmuk-ignore-topics v1.2
    Hide topics and forums you're not interested in on the Rllmuk forum
    v1.2 release notes
    • Added support for the Fluid view
    • Added a collapse control for the Fluid sidebar

dombuilder's People

Contributors

insin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dombuilder's Issues

DOM Templates

Goal for 2.1 - can we use the DOMBuilder API as the basis for an object-based templating system with template inheritance?

Scattershot thoughts and questions:

  • Reuse HTML mock objects in some way or introduce a new mode with its own objects which leverage the element creation function approach?
  • Strings for simple things... logic functions - can these be done non-horribly?
  • Compile step which keeps track of where logic needs to happen?
  • Dummy nodes identify places where logic needs to happen at render time?
  • Cloning as much as possible when outputting DOM elements from templates - DocumentFragments all over your face.
  • Reuse the same templates to generate DOM elements or HTML.

Event handlers and innerHTML - together at last?

Since we're always working with objects when generating HTML with DOMBuilder, make some use of them.

How about providing a method on HTMLElement which finds children which have ids and event handling Function attributes and registers events on the elements with the appropriate ids?

Users could call this method after they've toString()ed and innerHTMLed to set up all the event listeners - switching from DOM to HTML mode without changing any element creation code would then be a viable option for people looking for a speedup.

We could generate dummy ids for HTMLElements which have event listening function attributes but no id attribute to make this totally automatic as far as the user is concerned.

Providing a function which takes the element to be innerHTMLed and does both steps would make it even nicer.

Make element creation & event registration pluggable, with a basic default implementation

jQuery is a bit heavy to be lugging about solely for the limited subset of its capabilities DOMBuilder needs.

Look at how it's being used and see if we could make those needs pluggable, with a basic default implementation which doesn't depend on a library, but will come with a caveat as to how comprehensively it attempts to deal with cross-browser issues.

license

I don't see a license in the README or package.json. Mind adding one?

Provide exports for CommonJS

Provide exports for CommonJS when available.

Grab the global object by using "this" instead of passing "window" into the initialising function.

Need a better approach to using entities in Strings

An NBSP variable has plagued DOMBuilder since it was first used to generate tables many moons ago. There are a couple of special cases in the code involving the unicode String representation of a non-breaking space.

As DOMBuilder doesn't do any HTML parsing with innerHTML, how can we make it easier to work with entities in Strings?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.