{"id":29702903,"url":"https://github.com/ayylmao-vorp/onlyblock","last_synced_at":"2026-05-19T06:01:37.131Z","repository":{"id":305685898,"uuid":"1023603244","full_name":"ayylmao-vorp/onlyblock","owner":"ayylmao-vorp","description":"Chrome and firefox extension that is trying to block/hide as much onlyfans spam on X.com as possible.","archived":false,"fork":false,"pushed_at":"2025-07-21T12:19:23.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-21T14:25:11.330Z","etag":null,"topics":["chrome","extension","firefox","firefox-extension"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ayylmao-vorp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-21T12:10:20.000Z","updated_at":"2025-07-21T12:19:26.000Z","dependencies_parsed_at":"2025-07-21T14:36:59.072Z","dependency_job_id":null,"html_url":"https://github.com/ayylmao-vorp/onlyblock","commit_stats":null,"previous_names":["ayylmao-vorp/onlyblock"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ayylmao-vorp/onlyblock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayylmao-vorp%2Fonlyblock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayylmao-vorp%2Fonlyblock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayylmao-vorp%2Fonlyblock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayylmao-vorp%2Fonlyblock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayylmao-vorp","download_url":"https://codeload.github.com/ayylmao-vorp/onlyblock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayylmao-vorp%2Fonlyblock/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266682429,"owners_count":23967827,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chrome","extension","firefox","firefox-extension"],"created_at":"2025-07-23T13:01:17.549Z","updated_at":"2026-05-19T06:01:36.985Z","avatar_url":"https://github.com/ayylmao-vorp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OnlyBlock\n\nAuthor: pepeskoper@gmail.com\n\nA browser extension that automatically blocks X.com (Twitter) profiles containing OnlyFans links in their bio.\n\n## Features\n\n- 🔍 **Automatic Detection**: Scans profile bios for OnlyFans link patterns\n- 🚫 **Instant Blocking**: Hides profiles with detected links immediately\n- 📝 **Phrase Blocking**: Blocks posts and comments containing specific phrases\n- 🎛️ **Easy Control**: Toggle blocking on/off with a simple switch\n- 📊 **Profile Management**: View and unblock profiles from the popup\n- 💾 **Persistent Storage**: Saves blocked profiles across browser sessions\n- 🔄 **Real-time Updates**: Works with dynamic content loading\n\n## Installation\n\n### Chrome/Edge/Brave\n1. Download or clone this repository\n2. Open your browser and navigate to `chrome://extensions/`\n3. Enable \"Developer mode\" in the top right\n4. Click \"Load unpacked\" and select the extension folder\n5. The OnlyBlock icon should appear in your browser toolbar\n\n**Note**: The extension will work without icons, but if you want to add custom icons:\n1. Open `create-icons.html` in your browser\n2. Click \"Download Icons\" to get the PNG files\n3. Place the downloaded files in the `icons/` folder\n4. Add the icon section back to `manifest.json` (works for both Chrome and Firefox)\n\n### Firefox\n1. Download or clone this repository\n2. Open Firefox and navigate to `about:debugging`\n3. Click \"This Firefox\" in the sidebar\n4. Rename `manifest.json` to `manifest-chrome.json` `manifest-firefox.json` to `manifest.json` - only one manifest file can be in the root of the project\n5. Click \"Load Temporary Add-on\" and select the `manifest-firefox.json` file\n6. **Note**: Firefox uses manifest v3 with background scripts, while Chrome uses service workers\n\n## How It Works\n\nOnlyBlock uses pattern matching to detect common OnlyFans link formats and specific phrases:\n\n**Link Detection:**\n- `onlyfans.com`\n- `onlyfans.co`\n- `of.ly`\n- `fans.ly`\n- Linktree pages containing OnlyFans\n- Bio.link pages containing OnlyFans\n\n**Phrase Detection:**\n- \"my free of\" (and similar variations)\n\nWhen a profile with these links or a post with these phrases is detected, it's automatically hidden from view. You can manage blocked profiles through the extension popup.\n\n## Usage\n\n1. **Enable the Extension**: Click the OnlyBlock icon and toggle the switch to \"ON\"\n2. **Browse X.com**: Navigate to any X.com page\n3. **Automatic Blocking**: Profiles with OnlyFans links will be hidden automatically\n4. **Manage Blocked Profiles**: Use the popup to view and unblock profiles as needed\n\n## Privacy\n\n- All data is stored locally in your browser\n- No data is sent to external servers\n- Blocked profiles are only stored in your browser's sync storage\n- You can clear all data by uninstalling the extension\n\n## File Structure\n\n```\nonlyblock/\n├── manifest.json          # Extension configuration\n├── content.js            # Main content script\n├── background.js         # Background service worker\n├── popup.html           # Extension popup interface\n├── popup.js             # Popup functionality\n├── welcome.html         # Welcome page (shown on install)\n├── help.html            # Help documentation\n├── icons/               # Extension icons\n└── README.md           # This file\n```\n\n## Development\n\n### Prerequisites\n- Modern web browser (Chrome, Firefox, Edge, Brave)\n- Basic knowledge of JavaScript and browser extensions\n\n### Local Development\n1. Clone the repository\n2. Make your changes\n3. Load the extension in developer mode\n4. Test on X.com pages\n\n### Testing\nThe extension includes a built-in test page for debugging:\n1. Open the extension settings\n2. Click \"Open Test Page\" (development feature)\n3. The test page simulates X.com content with OnlyFans links\n4. Check browser console for debug messages\n\n### Building for Store\nWhen ready to publish to extension stores:\n```bash\nnode build-for-store.js\n```\nThis removes development features like the test page functionality.\n\n### Key Files\n- `content.js`: Contains the main blocking logic\n- `popup.js`: Handles the popup interface\n- `manifest.json`: Extension configuration and permissions\n- `test-page.html`: Development test page (removed in production)\n\n## Troubleshooting\n\n### Extension Not Working?\n- Make sure the extension is enabled in the popup\n- Refresh the X.com page\n- Check that you're on x.com or twitter.com\n- Try disabling and re-enabling the extension\n\n### Profiles Not Being Blocked?\n- OnlyBlock only detects profiles currently visible on the page\n- Try scrolling to load more content\n- Navigate to different pages to see more profiles\n\n### False Positives?\n- OnlyBlock uses pattern matching which may occasionally flag legitimate content\n- You can always unblock profiles manually through the popup\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch\n3. Make your changes\n4. Test thoroughly on X.com\n5. Submit a pull request\n\n## License\n\nThis project is open source and available under the MIT License.\n\n## Support\n\nIf you encounter issues or have suggestions:\n1. Check the help page in the extension\n2. Review the troubleshooting section above\n3. Open an issue on the repository\n\n---\n\n**Note**: This extension is designed to help users manage their X.com experience by filtering unwanted content. It respects user privacy and operates entirely within the browser. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayylmao-vorp%2Fonlyblock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayylmao-vorp%2Fonlyblock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayylmao-vorp%2Fonlyblock/lists"}