Skip to content

Fixed compatibility with current Fab.com structure#1

Open
enmanuelpg25 wants to merge 2 commits into
Crezetique:masterfrom
enmanuelpg25:master
Open

Fixed compatibility with current Fab.com structure#1
enmanuelpg25 wants to merge 2 commits into
Crezetique:masterfrom
enmanuelpg25:master

Conversation

@enmanuelpg25

Copy link
Copy Markdown

This fixes several issues with the current Fab.com website:

Issues fixed:

  • Heart icons not displaying on asset cards
  • Multiple initialization errors in console
  • Icon font dependencies not loading

Changes made:

  • Replaced icon fonts with text-based hearts (♡ ♥) for reliability
  • Fixed initialization timing to prevent duplicate runs
  • Improved element detection for dynamically loaded content
  • Added better error handling

The extension now works reliably with no console errors. Tested in Firefox with CodeInjector.

This commit includes a comprehensive refactor of the wishlistForFab initialization process and DOM manipulation methods, enhancing the overall functionality and user experience. Key improvements include better handling of multiple initializations, streamlined event listeners, and refined DOM element management.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant