iMacros - Facebook Scripts Code Improvments And Restructuring With Debug mode

in utopian-io •  6 years ago  (edited)

Repository

https://github.com/jinzocode/imacros-scripts-niche

New Features And Bug fixes commit 1

  • Debug mode for Facebook Scripts
  • Update Some attributes according to facebook as (3rd party).
  • Code Restructuring With comments.

The following function will allow for the developer to change the browser UserAgent to meet the scripts requirements for any issue like switching between mobile and it also will activate the built-in debug-mode.

function onDebug() {
    if (EASY_DEBUG_MODE) {
      window.console.log(`%ciMacros DEBUG MODE IS ACTIVATED`, 'background: red; color: white');
      let first_time = 0;
      if (!first_time) {
        iimPlayCode("SET !USERAGENT " + USER_AGENT_STRING + "\n");
        first_time = 1;
      }
      return "SET !SINGLESTEP YES\nSET !EXTRACT_TEST_POPUP YES\nSET !ERRORIGNORE NO";
    } else
      return '';
  }

I also updated the code for facebook login page to work with latest facebook page for some scripts


with some updates on macro tasks and code organization.

Solved a documentation issue

I have responded to an issue for twitter scripts then I have solved that issue by this commit 2 it contains a description for every script and the data-sources needed and some details.

Technology Stack

  • Firefox 52 ESR
  • iMacros 8.9.7 for Firefox
  • iMacros built-in JavaScript scripting interface

Basic Usage

Download

Operating SystemBrowserAddon
Windows XP/Vista/7/8.1/10Firefox 52 ESRiMacros 8.9.7
LinuxFirefox 52 ESRiMacros 8.9.7
Mac OSFirefox 52 ESRiMacros 8.9.7

Clone the git repository with

git clone https://github.com/jinzocode/imacros-scripts.git

Then Add (yourscript.js)

To your iMacros/Macros Folder

Then Create/Edit (yourdatasourcefile.txt/csv/conf) file inside Datasources folder

Then open Firefox and hit F8

Roadmap

  • Continuing creating iMacros Scripts
  • Make sure all scripts are compatible with iMacros Firefox ESR (Non-Quantum) as well as iMacros Personal Edition or Higher to work as long as possible.
  • Documentation for all scripts and prepare it to be very clear and ready to used in any other framework (open-source)
  • Scripts more stability.

How to contribute?

Create A New Pull Request, Add Feedback in comments, Open New Issue for scripts bugs, Feel like its your own repository all ideas are welcome.

Github Account

https://github.com/jinzocode

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thank you for your contribution.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Hey @jinzo
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!


@jinzo, sorry to see you have less Steem Power.
Your level lowered and you are now a Red Fish!

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Congratulations @jinzo! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!