protect or obfuscate imacro
Forum rules
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
protect or obfuscate imacro
Hello,
I am building an app for sale that wil create special purpose imacros.
My only option of hiding this code from the users is using the scripting edition with the "CODE..." calls?
I would like to use the Imacros for Firefox free version, not to put off any users with the high price tag for the scripting version, but then they can see the created imacros easily.
Any ideas? Could I load into Firefox memory the imacros straight away?
I am building an app for sale that wil create special purpose imacros.
My only option of hiding this code from the users is using the scripting edition with the "CODE..." calls?
I would like to use the Imacros for Firefox free version, not to put off any users with the high price tag for the scripting version, but then they can see the created imacros easily.
Any ideas? Could I load into Firefox memory the imacros straight away?
Share your imacros easily http://www.sharemacro.com/imacro-directory
Internet Marketing imacros http://www.sharemacro.com
Internet Marketing imacros http://www.sharemacro.com
Re: protect or obfuscate imacro
hi,
even while using scripting edition, you can run the macros either in internet explorer or firefox see syntax for iimplay() method
hope this helps
just my 2 cents
regards,
cool
even while using scripting edition, you can run the macros either in internet explorer or firefox see syntax for iimplay() method
hope this helps
just my 2 cents
regards,
cool
Re: protect or obfuscate imacro
As I mentioned, I would like users to run imacros in the memory without the Scripting edition which is almost 500 bucks.
So to recap, how can I run imacros from memory in free edition, or at least be able to obfuscate imacros output or protect it somehow.
The ultimate goal is "how to protect my imacro"
So to recap, how can I run imacros from memory in free edition, or at least be able to obfuscate imacros output or protect it somehow.
The ultimate goal is "how to protect my imacro"
Share your imacros easily http://www.sharemacro.com/imacro-directory
Internet Marketing imacros http://www.sharemacro.com
Internet Marketing imacros http://www.sharemacro.com
-
- Posts: 1483
- Joined: Tue Jan 26, 2010 11:35 am
Re: protect or obfuscate imacro
Hello,
You can use Javascript to play your macro. E.g.
And then you can obfuscate the JavaScript code.
Best regards,
You can use Javascript to play your macro. E.g.
Code: Select all
macro = "CODE:";macro = "CODE:";
macro += "URL GOTO=http://wiki.imacros.net" + jsLF;
macro += "WAIT SECONDS=" + MyDelay + jsLF;
macro += "URL GOTO=http://wiki.imacros.net/iMacros_for_Firefox";
retcode = iimPlay(macro);
Best regards,
Daniel, iOpus Support
Re: protect or obfuscate imacro
Thanks Daniel. Looks great.
If I start firefox by calling the js script with run.imacros.net this will be a great solution. Will be testing soon.
If I start firefox by calling the js script with run.imacros.net this will be a great solution. Will be testing soon.
Share your imacros easily http://www.sharemacro.com/imacro-directory
Internet Marketing imacros http://www.sharemacro.com
Internet Marketing imacros http://www.sharemacro.com
-
- Posts: 1483
- Joined: Tue Jan 26, 2010 11:35 am
Re: protect or obfuscate imacro
i can't see how this can be called obfuscating .. i'd appreciate some light on this ..
as far as i can see the javasript calls the .iim file which can be seen by the average joe and can easily can run the .iim file from within his browser without the js file.
unless the .iim file can be ran through a server .. like the user would call the .iim file from my server and won't be able to download this file on his own server ...
again .. i'd appreciate some light on this as i'm thinking at obfuscating my scripts that i want to share with other community members.
as far as i can see the javasript calls the .iim file which can be seen by the average joe and can easily can run the .iim file from within his browser without the js file.
unless the .iim file can be ran through a server .. like the user would call the .iim file from my server and won't be able to download this file on his own server ...
again .. i'd appreciate some light on this as i'm thinking at obfuscating my scripts that i want to share with other community members.
Daniel, iOpus wrote:Hello,
You can use Javascript to play your macro. E.g.And then you can obfuscate the JavaScript code.Code: Select all
macro = "CODE:";macro = "CODE:"; macro += "URL GOTO=http://wiki.imacros.net" + jsLF; macro += "WAIT SECONDS=" + MyDelay + jsLF; macro += "URL GOTO=http://wiki.imacros.net/iMacros_for_Firefox"; retcode = iimPlay(macro);
Best regards,
-
- Posts: 1483
- Joined: Tue Jan 26, 2010 11:35 am
Re: protect or obfuscate imacro
Hello,
As you seen in my example, you don't have to store the macro in .iim, but you can make it a part of .js file. This is JavaScript code that forms a macro, stores it in a variable and then runs it.
And naturally, when you obfuscate your .js file, macro source will also be obfuscated.
Best regards,
As you seen in my example, you don't have to store the macro in .iim, but you can make it a part of .js file. This is JavaScript code that forms a macro, stores it in a variable and then runs it.
Code: Select all
macro = "CODE:";macro = "CODE:";
macro += "URL GOTO=http://wiki.imacros.net" + jsLF;
macro += "WAIT SECONDS=" + MyDelay + jsLF;
macro += "URL GOTO=http://wiki.imacros.net/iMacros_for_Firefox";
retcode = iimPlay(macro);
Best regards,
Daniel, iOpus Support
Re: protect or obfuscate imacro
ok, i've re-done some tests and it's ok now .. ty for your help
Daniel, iOpus wrote:Hello,
As you seen in my example, you don't have to store the macro in .iim, but you can make it a part of .js file. This is JavaScript code that forms a macro, stores it in a variable and then runs it.
Best regards,
-
- Posts: 1483
- Joined: Tue Jan 26, 2010 11:35 am
Re: protect or obfuscate imacro
Daniel, I noticed that even if I obfuscate, the current imacro is always saved in #current.iim file. All the user needs to do is stop or pause the script, and copy it out from there... Ouch.
Share your imacros easily http://www.sharemacro.com/imacro-directory
Internet Marketing imacros http://www.sharemacro.com
Internet Marketing imacros http://www.sharemacro.com
-
- Posts: 1483
- Joined: Tue Jan 26, 2010 11:35 am
Re: protect or obfuscate imacro
Hi,
Unfortunately I don't know of any better way to protect the macro in Firefox... Well, what you could do is play the macro piece after piece, so that the whole macro is never in .iim, but of course a user could simply collect all the parts together. You could also hide some logic in JavaScript, so that it doesn't work when played as pure macro. For anything more advanced you would need to use Scripting Edition, which can, among other things, run in silent mode.
By the way
http://www.iopus.com/imacros/compare/#player
Best regards,
Unfortunately I don't know of any better way to protect the macro in Firefox... Well, what you could do is play the macro piece after piece, so that the whole macro is never in .iim, but of course a user could simply collect all the parts together. You could also hide some logic in JavaScript, so that it doesn't work when played as pure macro. For anything more advanced you would need to use Scripting Edition, which can, among other things, run in silent mode.
By the way
You can get an unlimited player license and deploy that to users. Here is more info:I would like to use the iMacros for Firefox free version, not to put off any users with the high price tag for the scripting version
http://www.iopus.com/imacros/compare/#player
Best regards,
Daniel, iOpus Support
Re: protect or obfuscate imacro
Thanks Daniel, I might just stick to chopping up imacros to parts so it would be more difficult to piece it together.
Also, I notice in v7 of imacros there is an option:
" Hide GUI toolbar / sidebar with iimInit ("-kioskmode") "
Wonder if this could be made a command for the free player, or perhaps for run.imacros.net we could pass in a variable that would enable hiding the GUI.
Also, I notice in v7 of imacros there is an option:
" Hide GUI toolbar / sidebar with iimInit ("-kioskmode") "
Wonder if this could be made a command for the free player, or perhaps for run.imacros.net we could pass in a variable that would enable hiding the GUI.
Share your imacros easily http://www.sharemacro.com/imacro-directory
Internet Marketing imacros http://www.sharemacro.com
Internet Marketing imacros http://www.sharemacro.com
-
- Posts: 1483
- Joined: Tue Jan 26, 2010 11:35 am
Re: protect or obfuscate imacro
Hi,
Exactly, you can use the kioskmode in v7, even with the Player version!
Best regards,
Exactly, you can use the kioskmode in v7, even with the Player version!
Best regards,
Daniel, iOpus Support
Re: protect or obfuscate imacro
Daniel, could we have a setting or an option which would disable saving the running imacro in the current.iim file?
That would help as well
Something like
SET !DISABLE_CURRENT_SAVE
That would help as well
Something like
SET !DISABLE_CURRENT_SAVE
Share your imacros easily http://www.sharemacro.com/imacro-directory
Internet Marketing imacros http://www.sharemacro.com
Internet Marketing imacros http://www.sharemacro.com