Adheart Script: Expand Spy Service Functionality & Improve Search Experience


Here’s a script that allows you to expand the capabilities of the Adheart Spy Service brought to you by Scripts by Adam.

Earlier, we published an article about the Adheart Spy Service, where we conducted an in-depth analysis of the options to help you find the right schemes. The script expands the spy service’s powerful feature set and simplifies the search process.

What does the script do?

  • Removes duplicates from the search results based on the Fan Page ID.
  • Adds a Facebook* library link to the Fan Page name.
  • Adds a Facebook* library link to the “flags”. For example, the link on the ES flag redirects to the ad library by adding the country=ES parameter in the URL.
  • Highlights cards with similar links.
  • Replaces the link attached to the 🔎 (magnifying glass icon) with a tags search (which is very convenient).

How do I use the script?

  • Add the script code to browser bookmarks (with Adheart enabled). To do this, copy the code and create a new bookmark. Paste the code in the URL field:

  • In the Adheart settings, enable the unlimited scroll and select four or six columns:

  • Click the previously added bookmark with the script and enable the required functions, confirming requests in pop-up messages.
  • For the script to run, click “Cancel” at the last “SUBSCRIBE TO AUTHOR?” step. If you click OK, it will redirect you to the author’s channel.

Script code

javascript:eval(atob('ZnVuY3Rpb24gZ2V0X3BhcmFtc19zdHJpbmcoZSl7Zm9yKHZhciBhIG9mKHVybF9vYmo9bmV3IFVSTChlKSx1cmxfcGFyYW1zPW5ldyBVUkxTZWFyY2hQYXJhbXModXJsX29iai5zZWFyY2gpLHBhcmFtc19zdHI9IiIsdXJsX3BhcmFtcy5rZXlzKCkpKXBhcmFtc19zdHIrPSIgIithO3JldHVybiBwYXJhbXNfc3RyLmxlbmd0aD4wP3BhcmFtc19zdHI6dXJsX29iai5wYXRobmFtZS5yZXBsYWNlQWxsKCIvIiwiIil9ZnVuY3Rpb24gZ2V0X3JhbmRvbV9jb2xvcigpe2Zvcih2YXIgZT0iIyIsYT0wO2E8NjthKyspZSs9IjAxMjM0NTY3ODlBQkNERUYiW01hdGguZmxvb3IoMTYqTWF0aC5yYW5kb20oKSldO3JldHVybiBlfWNhcmRzPWRvY3VtZW50LmdldEVsZW1lbnRzQnlDbGFzc05hbWUoImNhcmQgY2FyZC1ibG9n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JjaF90eXBlPXBhZ2UmbWVkaWFfdHlwZT1hbGxgKSxnPTA7ZzxmcF9nZW9zLmxlbmd0aDtnKyspIkEiIT09ZnBfZ2Vvc1tnXS5wYXJlbnRFbGVtZW50LnRhZ05hbWUmJih3cmFwPWRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoImEiKSx3cmFwLmhyZWY9YGh0dHBzOi8vd3d3LmZhY2Vib29rLmNvbS9hZHMvbGlicmFyeS8/YWN0aXZlX3N0YXR1cz1hbGwmYWRfdHlwZT1hbGwmY291bnRyeT0key8oPzw9ZmxhZ3NcLykuKj8oPz1cLikvLmV4ZWMoZnBfZ2Vvc1tnXS5zcmMpWzBdfSZ2aWV3X2FsbF9wYWdlX2lkPSR7ZnBfaWR9JnNlYXJjaF90eXBlPXBhZ2UmbWVkaWFfdHlwZT1hbGxgLHdyYXAudGFyZ2V0PSJfYmxhbmsiLGZwX2dlb3NbZ10ucGFyZW50Tm9kZS5pbnNlcnRCZWZvcmUod3JhcCxmcF9nZW9zW2ddKSx3cmFwLmFwcGVuZENoaWxkKGZwX2dlb3NbZ10pKTtjaGVja2VkX2NhcmRzLnB1c2goZnBfaWQpfX0sMWUzKTs='))

This is how it works:

As the page is scrolled, the cards processed by the script are loaded one by one.

*By Meta (declared extremist organization and banned in Russia).


Like it? Share with your friends!

0 Comments

X