Urgent.News

What's breaking now, across thousands of outlets.

Tech

domFramework (dfw)

A framework that: Is global free. Is creating the objects out of the HTML document directly and from the ground up! Objects that are directly accessible where and whenever needed. Unlike the traditional way of creating a website, there aren't any use cases here for the; ❌ '*.querySelector' , ❌ '*.getElementsByClassName' , ❌ '*.getElementById' , STORY History: The History behind this framework is…

The domFramework, known as dfw, is a global, free framework that creates objects directly from the HTML document. It distinguishes itself from traditional methods by offering access to elements using the getElemsByDatasetName function, which eliminates the need for methods like getElementsByClassName and getElementById. This framework aims to reduce the codebase size by providing a more efficient way to handle elements, regardless of their tag name.

The development of domFramework began as an update to the author's personal website, with the goal of creating a reusable class. The name was initially vanillaFramework, but it was eventually shortened to domFramework due to its vanilla JavaScript nature and the more concise nature of the name.

The framework is still in development but has reached a stage where it is worth releasing. It follows a logical directory structure, maintains small file sizes, and employs object-oriented programming with modular design. The features include creating objects directly from the HTML document, direct access to these objects, a visualViewport-based resizer, an InfoPane for device information, custom elements, and its own style directory.

The to-do list for the framework includes updating the documentation, creating a built-in history handler, implementing a built-in navigation handler, integrating a tooltipModule, and updating the demo site. The author emphasizes that domFramework is built entirely using vanilla JavaScript and does not incorporate any AI.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

A demo that never errors still never ran

A WebGPU inference page can hand you four facts at once and none of them disagree: the UI renders, the GPU context comes back live, your click is accepted, and zero audio elements exist in the…

  • WebGPU text-to-speech runtime claimed single-digit millisecond audio delivery.
  • November 4 test showed 75 seconds of silence with no error event.
  • Chrome version 156.0.8078.79 displayed no audio nodes or error nodes.

OpenProject API Tokens Connect Public Enumeration to Project Authorization

OpenProject API Tokens Connect Public Enumeration to Project Authorization OpenProject exposes a project-management interface and an API v3.

  • Public enumeration of OpenProject API tokens reveals sensitive metadata.
  • 11,684 instances of "app=" and 45,326 instances of "http.body=" exposed via ZoomEye scan.
  • Regular token review and rotation mitigates risks from public API exposure.

The Half-Life Layer — Or, "It Passed in March" Is Not the Same as "It Passes Now"

Somewhere in your repository there is a test that passed in March. It passed against a schema that has since gained two columns, a dependency that has since changed its default timeout, and a traffic…

  • Half-life layer arises from changes in system, population, or witness
  • Evidence expiration due to timestamp not specified
  • Five-column evidence register helps prevent expired claims

More from Sunday 8 November →