Coder Social home page Coder Social logo

get-form-data's Introduction

Recent Releases

  • 2024-03-07control-panel-for-youtube v1.1.0
    Browser extension which gives you more control over YouTube by adding missing options and UI improvements - for desktop & mobile browsers
    v1.1.0 release notes
    • Fixed Firefox permission issues (the extension was disabled by default after install on all platforms, it had to be manually enabled every time in Firefox for Android, and the Permissions page was completely blank in Firefox for Android so permissions couldn't be granted) by using Manifest Version 2 instead for the Firefox version
    • Improved the Japanese translation (thanks @Catastravia)
    • Fixed disconnectObservers() only disconnecting page observers

    hideShareThanksClip:

    • Added a new option to hide the Share/Thanks/Clip buttons under a video (not enabled by default)

    hideChannels:

    • You can now hide a channel while watching one of its videos - a "Hide channel" item is added to the video's ⋯ menu
    • This becomes an "Unhide channel" menu item if the channel is already hidden

    hideOpenApp:

    • Fixed hiding "Open App" links when using YouTube in Japanese

    hideSponsored:

    • Fixed related videos being hidden in the mobile version at tablet sizes when they contained an ad

    Available in the following extension stores:

    Chrome Web Store Mozilla Add-ons

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

    Astro 4 support

  • 2024-01-26control-panel-for-twitter v3.23.1
    Browser extension which gives you more control over your Twitter timeline and adds missing features and UI improvements - available for desktop and mobile browsers
    v3.23.1 release notes
    • Hide the Ads nav item

    Available in the following extension stores:

    Apple App Store Chrome Web Store Firefox Edge

    Screenshots

    Nav Bar

    Before After

    More Menu

    Before After
  • 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

get-form-data's People

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

get-form-data's Issues

Option to inclue disabled elements

I have an use case here where I still would like to have form data from disabled inputs as well. Possible to add this within a new option?

Return null when elementName is falsey

First off, great lib - thanks for making it!

I think this lib could be better if it simply ommitted inputs when the elementName is null or empty. As it is today, it will raise an exception and kill the entire form scraping process.

Some possible solutions: getNamedFormElementData() could be made to return null instead of throwing an error when elementName is falsey, OR getFormData() could skip the call to getNamedFormElementData() whenever the current iteration's elementName is falsey.

Type definitions

It would be nice if there were typescript definitions for this module. I'm currently using a custom definition in my project:

type FormData = Record<string, boolean | string | string[] | File | File[]>
declare module 'get-form-data'; {
  function getFormData(form: React.EventTarget): FormData;
  export default getFormData;
}

document is not defined

var form = document.querySelector('#productForm')

executing the above line gives the following error:

TypeError: document.querySelector is not a function

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.