block_porn 1.0.0 copy "block_porn: ^1.0.0" to clipboard
block_porn: ^1.0.0 copied to clipboard

A Dart package to block and filter inappropriate or unwanted URLs. Designed to integrate URL filtering capabilities into applications.

Changelog #

1.0.0 initial version #

Added #

  • Initial release of the block_porn package.
  • Added Blocker class for URL blocking functionality.
  • Included predefined list of blocked URLs in assets/blocked.txt.
  • Added support for custom URL blocking through customBlocks parameter.
  • Implemented utility methods:
    • isBlocked to check if a URL is blocked.
    • isCustomBlocked to check if a URL matches custom blocked URLs.
    • cleanLink to normalize URLs by removing protocols.
    • extractBase to extract the base domain from URLs.
2
likes
160
points
24
downloads

Publisher

verified publisherpgv.me

Weekly Downloads

A Dart package to block and filter inappropriate or unwanted URLs. Designed to integrate URL filtering capabilities into applications.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on block_porn