Fiddler + imacros multi-threading
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
Fiddler + imacros multi-threading
Hi!
I want to debug a site using imacros and Fiddler (I am open to another solutions that can log a traffic and autosave a log). Never done it before.
It is a 1 site that I will run using 5-10 simultaneous firefox profiles.
What I cannot understand is how will I differentiate which log correspond to which firefox profile since they run simultaneously
VERSION BUILD=11.5.498.2403
Windows 10
iMacros Browser + Firefox iMacros 8.9.7
Firefox 49.0.2
I want to debug a site using imacros and Fiddler (I am open to another solutions that can log a traffic and autosave a log). Never done it before.
It is a 1 site that I will run using 5-10 simultaneous firefox profiles.
What I cannot understand is how will I differentiate which log correspond to which firefox profile since they run simultaneously
VERSION BUILD=11.5.498.2403
Windows 10
iMacros Browser + Firefox iMacros 8.9.7
Firefox 49.0.2
Last edited by cjseriy on Thu Jul 05, 2018 2:36 pm, edited 2 times in total.
Re: Fiddler + imacros multi-threading
I will "wait" before answering this 2nd Thread of yours until you've "finished" the first one, with a Solution etc...cjseriy wrote:Hi!Code: Select all
VERSION BUILD=11.5.498.2403 Windows 10 Imacros Browser + Firefox Imacros 8.9
I want to debug a site using imacros and Fiddler (I am open to another solutions that can log a traffic and autosave a log). Never done it before.
It is a 1 site that I will run using 5-10 simultaneous firefox profiles.
What I cannot understand is how will I differentiate which log correspond to which firefox profile since they run simultaneously
Hum, for this one (and all other Threads you might open), having your FCI in your Sig denotes from a good Intention but you still need to hard-code it in your OP as you only have one Dynamic Sig for the whole Forum and it can actually become "confusing" for other Users reading this Thread in a few weeks/months/years and you'll have probably updated your Config by that time to some later Versions...
(And it would be nice if you could spell "iMacros" correctly, ah-ah...! )
Your iMacros Version is incomplete as well btw, will be v8.9.7, I reckon...? (and not "v8.9" which doesn't exist...), and your FF Version is missing as well...
>>>
+ Parallel Thread on SOF:
- How to use Fiddler and imacros with multi-threading
(No Replies yet...)
(You missed a "+1" from me on SOF for not mentioning your FCI, ah-ah...! )
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
Re: Fiddler + imacros multi-threading
Sorry, I have updated my FCI
Re: Fiddler + imacros multi-threading
OK, very good...!, hum, nearly...! Not updated in your Sig, and "iMacros" is still not spelt correctly..., the Capital is on the "M", not on the "i", you are going to use/need this Term quite often on the Forum..., so try to spell it correctly from the beginning...cjseriy wrote:Sorry, I have updated my FCI
+ FCI mentioned on SOF, very-very good, ah-ah...! (You'll get your "+1" on SOF once "iMacros" will have been spelt there correctly as well, ah-ah...!)
EDIT_1: Ah-ah...!, some Update in your Sig while I was typing my (long) Reply, "iMacros" still not correct, ah-ah...! YES...!, you can do it...!!
EDIT_2: OK, good enough now, and even on SOF at least in your FCI... (=> "+1" on SOF, ah-ah...! )
>>>
OK, Interesting Qt btw, first Thread of this kind on the Forum I think, I don't recall seeing a similar Thread before...
But hum..., some "Interesting" Thread you might want to have a look at, not exactly-directly related, but contains a lot of Links to different Tools that could be useful maybe...:
- Ignore Untrusted Certificates
Then a "Remark" about your FCI:
iMacros for FF v8.9.7 is still the "Stable" (Full) Version on FF, perfect...!, and it works until FF56, I have it on FF v55.0.3 myself, for example.
From FF57, you'll need v10.0.2 (in Beta for the moment)... (And v9.0.3 also only works until FF56. (But v8.9.7 is "better"...!))
=> Your FF49 looks a bit "strange"/"old" or at least not really "representative" (anymore) for many/most Users if you want to do some Testing on some/your Site, even if it's "good" to test indeed with different Browsers and different Versions of all Browsers.
But be aware that if you update FF49 to FF55 or FF56, that from FF54, Mozilla/Firefox updated as well the FF Profiles to a different Format, and that once updated to FF54+, it's not possible to "downdate" to your FF49 Profile anymore, so make sure to make a Backup of your FF49 Profile (with FF completely closed/killed, or some Files remain in Use by FF and get silently skipped when copying your Profile(s) which then renders your Backup useless if you ever want to reuse it later...!) before updating, ah-ah...!
It's actually even better to use separate Profiles for each FF Version you want to maintain in parallel, FF is a bit of a "pain in the ass" when maintaining several Versions of FF or you'll constantly run into "Firefox is already running" Hassle, or Shortcuts even launch the "wrong" Version, it's a complete Mess, even with FF Portable which has not been "designed" to be used with different/separate (multiple) Profiles (it can be done, but that's another pain in the ass!), ah-ah...!
Then OK, I've never used 'Fiddler', so I don't know how 'Fiddler' logs its Traffic... (Hum, maybe you could mention btw which Version of 'Fiddler' you are/will be using...), and I guess when talking about "Logs", you mean the Fiddler's Log(s), have a look at the Wiki for 'PROXY', maybe you can specify a different (Local) Port for each FF-Profile, which might generate separate Log Files from Fiddler...
From iMacros itself, you can do some Logging as well, using the Built-in 'PROFILER', and/or building your own "customized" Logging in your Script(s) with 'EXTRACT', 'STOPWATCH' and gathering all the Info/Data you'll want to save to your Log (=> '.TXT' or '.LOG' File, or even '.CSV') using the 'SAVEAS TYPE=EXTRACT' Mechanism.
For each of your [5-10] FF-Profiles, you'll need to (re)install their separate iMacros for FF Add-on, but I guess you'll want to use some "Central" Folder Tree Structure with the same 'Macros' + 'Downloads' etc Folders and not maintain 5 or 10 separate Folder Sets.
Depending on how you'll be starting those Profiles (manually) from some Windows Shortcut, or from some '.BAT' File, you could have each Profile first open some mini-Local (separate) '.TXT' File identifying each Profile (either from its Filename in the URL (or using any "Fake" URL instead of a Local File), or re-extracting its Content like a "Standard" Web-Page) to then reuse that Identifier for setting '!FOLDER_DOWNLOAD' dynamically from your Script (that will be used by the 'Profiler' and 'SAVEAS') or for the Filename for the 'SAVEAS'.
Hum, I see that '!FOLDER_STOPWATCH' in the Wiki is (now...?) available for all 4 Browsers, I thought iMacros for FF could only save to the Default 'Downloads' Folder, but the Wiki Page was very recently modified, maybe that's for v9.0.3 or v10.0.2 for FF, I'm not sure it will work for v8.9.7..., or I might be missing "stg" or I'm getting a bit "mixed up" , ah-ah...! But I don't "really" use all that Functionality / those Commands in my Scripts, or I only "played" a bit with it a long time ago or for specific Threads, so I don't remember/know for sure...
Or on the same "Principle", it's possible to identify/re-extract your FF-Profile directly from a Script, like demonstrated a mini-while ago in this recent Thread...:
- Any Imacros Command/Script To Retrieve Firefox Profile Name
=> From 'about:profiles' or even better from 'about:cache'..., funny "Trick" actually, ah-ah...!
(Hum, "recent" Thread, I thought it was from just a few weeks ago maybe, but that Thread is already from 6 months ago, oh jeez...! )
>>>
OK, those are already a few "Thoughts"..., pity I don't know 'Fiddler', I might then have some "better" Ideas if I knew how it works and what it does exactly, ah-ah...!
(But you might convince me to give it a "Try", ah-ah...! I had actually already downloaded it a few months ago, but I never installed it / started to "play" with it, oops...!)
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
Re: Fiddler + imacros multi-threading
Yes, I have corrected itchivracq wrote: "iMacros" will have been spelt there correctly as well, ah-ah...!)
The main reason why I need Fiddler is to log and debug network post/get requests (their sequence and behavior) in order to understand some discrepancies in data. In particular I use it for Google Analytics = Google Tag Manager with conjunction of their own debuggers.
The same network information can be found under Network tab in a Firebug pane as I understand.
I have chosen FF49 because of the recommendation from here https://imacros.net/imacros-firefox-com ... -56-newer/chivracq wrote: Your FF49 looks a bit "strange"/"old" or at least not really "representative" (anymore)
Besides for current debugging representativeness will not be a bug issue I think.For the most functionality and best stability, we recommend downgrading to iMacros for Firefox 8.9.7 and staying with Firefox 49.0.2.
Thank you! I will have a look at it.chivracq wrote: But hum..., some "Interesting" Thread you might want to have a look at, not exactly-directly related, but contains a lot of Links to different Tools that could be useful maybe...:
- Ignore Untrusted Certificates
Thank you for caution! I have created different iMacros folders for each FF profile and disables updates for FF and iMacros (for each profile).chivracq wrote: But be aware that if you update FF49 to FF55 or FF56, that from FF54, Mozilla/Firefox updated as well the FF Profiles to a different Format, and that once updated to FF54+, it's not possible to "downdate" to your FF49 Profile anymore
I have installed only 1 version of FF without portable version.
Yes, I am thinking about it, I don't have experience with Fiddler, the main problem is that Fiddler have only 1 local proxy (may be I am wrong).chivracq wrote: maybe you can specify a different (Local) Port for each FF-Profile, which might generate separate Log Files from Fiddler...
Thank you, didn't know about it, but unfortunately it does not include network logs.chivracq wrote: From iMacros itself, you can do some Logging as well, using the Built-in 'PROFILER'
I have changed paths in iMacros add-on settings for each profile so that they all have already different locations.chivracq wrote: Depending on how you'll be starting those Profiles (manually) from some Windows Shortcut, or from some '.BAT' File, you could have each Profile first open some mini-Local (separate) '.TXT' File identifying each Profile (either from its Filename in the URL (or using any "Fake" URL instead of a Local File), or re-extracting its Content like a "Standard" Web-Page) to then reuse that Identifier for setting '!FOLDER_DOWNLOAD' dynamically from your Script (that will be used by the 'Profiler' and 'SAVEAS') or for the Filename for the 'SAVEAS'.
Hum, it is interesting. If Fiddler could save FF-Profile for each request then I would be able to match this data with the extracted data saved by iMacros. I will dig deeper.chivracq wrote: Or on the same "Principle", it's possible to identify/re-extract your FF-Profile directly from a Script, like demonstrated a mini-while ago in this recent Thread...:
- Any Imacros Command/Script To Retrieve Firefox Profile Name
=> From 'about:profiles' or even better from 'about:cache'..., funny "Trick" actually, ah-ah...!
(Hum, "recent" Thread, I thought it was from just a few weeks ago maybe, but that Thread is already from 6 months ago, oh jeez...! )
Once again, thank you for your help!
Re: Fiddler + imacros multi-threading
Your code worked for me:
Not sure about this line for English FF locale This<SP>profile<SP>is<SP>currently<SP>used . My FF locale is not in English.
The second part of the solution is that Fiddler shows id of a process like firefox:21668 and each FF profile will have its own id. I hope that this ids' are permanent.
Then if I know which FF profile correspond to which process id in Fiddler I can match them.
Code: Select all
TAG POS=1 TYPE=H3 ATTR=TXT:This<SP>profile<SP>is<SP>currently<SP>used*
TAG POS=R1 TYPE=TH ATTR=TXT:Root*
SET !EXTRACT NULL
TAG POS=R1 TYPE=TD ATTR=* EXTRACT=TXT
SET Root_Prf EVAL("var s='{{!EXTRACT}}'; var x,y,z; x=s.split('Profiles\'); y=x[1].split(' '); z=y[0]; z")
TAG POS=R1 TYPE=TH ATTR=TXT:Local*
SET !EXTRACT NULL
TAG POS=R1 TYPE=TD ATTR=* EXTRACT=TXT
SET Local_Prf EVAL("var s='{{!EXTRACT}}'; var x,y,z; x=s.split('Profiles\'); y=x[1].split(' '); z=y[0]; z")
PROMPT Root_Profile:<SP>_{{Root_Prf}}_<BR>Local_Profile:<SP>_{{Local_Prf}}_
The second part of the solution is that Fiddler shows id of a process like firefox:21668 and each FF profile will have its own id. I hope that this ids' are permanent.
Then if I know which FF profile correspond to which process id in Fiddler I can match them.
Re: Fiddler + imacros multi-threading
Yeah...!, my Code always works, ah-ah...!, especially if I mention "Tested in xxx"...cjseriy wrote:Your code worked for me:
Not sure about this line for English FF locale This<SP>profile<SP>is<SP>currently<SP>used . My FF locale is not in English.Code: Select all
TAG POS=1 TYPE=H3 ATTR=TXT:This<SP>profile<SP>is<SP>currently<SP>used* TAG POS=R1 TYPE=TH ATTR=TXT:Root* SET !EXTRACT NULL TAG POS=R1 TYPE=TD ATTR=* EXTRACT=TXT SET Root_Prf EVAL("var s='{{!EXTRACT}}'; var x,y,z; x=s.split('Profiles\'); y=x[1].split(' '); z=y[0]; z") TAG POS=R1 TYPE=TH ATTR=TXT:Local* SET !EXTRACT NULL TAG POS=R1 TYPE=TD ATTR=* EXTRACT=TXT SET Local_Prf EVAL("var s='{{!EXTRACT}}'; var x,y,z; x=s.split('Profiles\'); y=x[1].split(' '); z=y[0]; z") PROMPT Root_Profile:<SP>_{{Root_Prf}}_<BR>Local_Profile:<SP>_{{Local_Prf}}_
The second part of the solution is that Fiddler shows id of a process like firefox:21668 and each FF profile will have its own id. I hope that this ids' are permanent.
Then if I know which FF profile correspond to which process id in Fiddler I can match them.
Hum, "always works", I actually notice a mini-Mistake in both 'EVAL()' (I've just corrected in the original Thread), you can better add a ';' after the final Return 'z' at the end of each 'EVAL()', v8.9.7 doesn't really need it, but it's better to have it, I'm currently Beta-testing v10.0.2 for FF and 'EVAL()' is becoming a pain-in-the-ass, all those 'EVAL()' won't work anyway anymore, you need (in v10.x) to store all 'EXTRACT''s in some Temp Var, navigate to some (Fake) 'google.com' URL for example where you then can do all 'EVAL()' as 'EVAL()' is not accepted anymore while your Browser is (still) on some 'about:xxx' Page, pfff..., useless...!!
OK, and your Script was for 'about:profiles', always handy to keep the URL in your Script...
But good News already, I had/have a few Replies/Ideas for/from your previous Reply, haven't had the time to post again...
>>>
OK, I'll do it here "a bit quick and dirty"...
- FF49 with v8.9.7:
Yeah, was some "old" Advice from TechSup, I never really understood why they mentioned FF49, that Advice came pretty "late" actually, when many Users were having Pb's with FF Multi-Process, I was already a few FF Versions later (working OK), I guess they only tried one FF Version, was working, so they posted it as "THE Advice", tja...
Only Reason(s) for FF49 are if you want to stay below FF54 for the Profile Update that I mentioned already...
+ Multi-Login (http/https) changed (annoyingly...!) around FF50 (can be solved/"tuned", but I see it again in FF60/FF61 that I use for v10.0.2 Beta for FF)...
+ And the iMacros 'FILTER' Command got broken by FF51 or FF52...
=> But otherwise, you can better use FF v55.0.3 like me, I would think... (v8.9.7 is supposed to work until FF56, but I didn't test it myself...)
- Ouf-ouf, every Profile its own iMacros Folder Set...! => Maintenance Nightmare in my Opinion...!
I maintain 3 iMacros for FF different Versions (v8.8.2, for my "Prod" Env. with Pale Moon v26.3.3 // + v8.9.7 + FF v55.0.3 for the Forum and a few Scripts that can't run "completely" on PM because of Flash // + v10.0.2 Beta + FF60/FF61 for Beta-testing v10) and I very deliberately use the same Folder Structure for all 3, plus even for iMacros for CR v8.4.4 => now v10.0.2 + FIO, and iMacros for IE v12.0, => all 5 Env. using the same Folder Tree Structure and the same Macros...
(Only for v10.0.2 Beta for FF, I had to "modify" a few Macros so they could run in v10, because of many Commands not being supported anymore, but I gave them a different Name with a specific Suffix, but I wouldn't think of maintaining 5 Sets of Folders, or even only 3, as I very-very rarely use CR and IE, only for Forum Cases very specific to those 2 Browsers that I absolutely cannot test on PM (or FF55)...)
- Could run some apart 'Fiddler' Instance for each FF Profile, ah-ah...! Dunno, maybe an Idea...
- Could use Cookies for setting/passing which Profile is being used... (Each FF Profile uses its own separate Cookies, even for the same Site...)
- From your previous Thread, you have a way to "inject" (=create/add/modify/delete) some Field/Attribute/Data into your '.html'/'.php' Page from your iMacros Script, Data that you can retrieve from your Page itself and pass to your URL's for 'get()'/'post()' or any URL's as a "Fake" Param like in "?Profile=Profile_01&pageSize=20&...xxx" etc that Fiddler will log...
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
Re: Fiddler + imacros multi-threading
Hum, thank you for the advice, so I will store iMacros(different for each profile) files in one shared folder but will need to create different folders for Download and Log. That is ok?chivracq wrote: => But otherwise, you can better use FF v55.0.3 like me, I would think... (v8.9.7 is supposed to work until FF56, but I didn't test it myself...)
- Ouf-ouf, every Profile its own iMacros Folder Set...! => Maintenance Nightmare in my Opinion...!
I maintain 3 iMacros for FF different Versions (v8.8.2, for my "Prod" Env. with Pale Moon v26.3.3 // + v8.9.7 + FF v55.0.3 for the Forum and a few Scripts that can't run "completely" on PM because of Flash // + v10.0.2 Beta + FF60/FF61 for Beta-testing v10) and I very deliberately use the same Folder Structure for all 3, plus even for iMacros for CR v8.4.4 => now v10.0.2 + FIO, and iMacros for IE v12.0, => all 5 Env. using the same Folder Tree Structure and the same Macros...
You are using v8.8.2 with Pale Moon v26.3.3 Does it have its limitations comparing to FF 49 beside fixes of future updates?
I have also instaled it now because of Firefox's Memory Leak.
Yes, I think it's a good idea, not sure how to do that.chivracq wrote: - Could use Cookies for setting/passing which Profile is being used... (Each FF Profile uses its own separate Cookies, even for the same Site...)
A bit difficult for me, do you mean I need to write a JS scrip that will retrieve FF profile and will pass it to URL?chivracq wrote: - From your previous Thread, you have a way to "inject" (=create/add/modify/delete) some Field/Attribute/Data into your '.html'/'.php' Page from your iMacros Script, Data that you can retrieve from your Page itself and pass to your URL's for 'get()'/'post()' or any URL's as a "Fake" Param like in "?Profile=Profile_01&pageSize=20&...xxx" etc that Fiddler will log...
-
- Posts: 3
- Joined: Mon Jan 14, 2019 9:51 am
- Contact:
Re: Fiddler + imacros multi-threading
I found the best method to get name of current profile. Using some script from about:profiles page. It's long, but very fast.
Code: Select all
function getCurrentProfile() {
"use strict";
const {classes: Cc, interfaces: Ci, utils: Cu, results: Cr} = Components;
Cu.import("resource://gre/modules/Services.jsm");
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
XPCOMUtils.defineLazyServiceGetter(
this,
"ProfileService",
"@mozilla.org/toolkit/profile-service;1",
"nsIToolkitProfileService"
);
const bundle = Services.strings.createBundle(
"chrome://global/locale/aboutProfiles.properties");
function findCurrentProfile() {
let cpd;
try {
cpd = Cc["@mozilla.org/file/directory_service;1"]
.getService(Ci.nsIProperties)
.get("ProfD", Ci.nsIFile);
} catch (e) {}
if (cpd) {
let itr = ProfileService.profiles;
while (itr.hasMoreElements()) {
let profile = itr.getNext().QueryInterface(Ci.nsIToolkitProfile);
if (profile.rootDir.path == cpd.path) {
return profile;
}
}
}
try {
return ProfileService.selectedProfile;
} catch (e) {
return null;
}
}
function display(profileData) {
let nameStr = bundle.formatStringFromName("name", [profileData.profile.name], 1);
if (profileData.isCurrentProfile) {
let currentProfileStr = bundle.GetStringFromName("currentProfile");
return nameStr;
}
}
let defaultProfile;
try {
defaultProfile = ProfileService.defaultProfile;
} catch (e) {}
let currentProfile = findCurrentProfile() || defaultProfile;
let iter = ProfileService.profiles;
while (iter.hasMoreElements()) {
let profile = iter.getNext().QueryInterface(Ci.nsIToolkitProfile);
let cprofile = display({ profile, isDefault: profile == defaultProfile, isCurrentProfile: profile == currentProfile });
if (cprofile!=undefined) return cprofile;
}
}
currentProfile = getCurrentProfile();
iimDisplay(currentProfile );
truongbuidp@gmail.com From VN
Re: Fiddler + imacros multi-threading
Main "Purpose" of my Post is to quote this User (Vietnamese IP), starting to "act" a bit strange...truongfiu-vn wrote: ↑Mon Jul 01, 2019 6:48 amI found the best method to get name of current profile. Using some script from about:profiles page. It's long, but very fast.Code: Select all
function getCurrentProfile() { "use strict"; const {classes: Cc, interfaces: Ci, utils: Cu, results: Cr} = Components; Cu.import("resource://gre/modules/Services.jsm"); Cu.import("resource://gre/modules/XPCOMUtils.jsm"); XPCOMUtils.defineLazyServiceGetter( this, "ProfileService", "@mozilla.org/toolkit/profile-service;1", "nsIToolkitProfileService" ); const bundle = Services.strings.createBundle( "chrome://global/locale/aboutProfiles.properties"); function findCurrentProfile() { let cpd; try { cpd = Cc["@mozilla.org/file/directory_service;1"] .getService(Ci.nsIProperties) .get("ProfD", Ci.nsIFile); } catch (e) {} if (cpd) { let itr = ProfileService.profiles; while (itr.hasMoreElements()) { let profile = itr.getNext().QueryInterface(Ci.nsIToolkitProfile); if (profile.rootDir.path == cpd.path) { return profile; } } } try { return ProfileService.selectedProfile; } catch (e) { return null; } } function display(profileData) { let nameStr = bundle.formatStringFromName("name", [profileData.profile.name], 1); if (profileData.isCurrentProfile) { let currentProfileStr = bundle.GetStringFromName("currentProfile"); return nameStr; } } let defaultProfile; try { defaultProfile = ProfileService.defaultProfile; } catch (e) {} let currentProfile = findCurrentProfile() || defaultProfile; let iter = ProfileService.profiles; while (iter.hasMoreElements()) { let profile = iter.getNext().QueryInterface(Ci.nsIToolkitProfile); let cprofile = display({ profile, isDefault: profile == defaultProfile, isCurrentProfile: profile == currentProfile }); if (cprofile!=undefined) return cprofile; } } currentProfile = getCurrentProfile(); iimDisplay(currentProfile );
(Only User with a Vietnamese IP I think, that I granted Access to the Forum since Jan 2018... (=> 99.9% Spammers... ))
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
- thecoder2012
- Posts: 446
- Joined: Sat Aug 15, 2015 5:14 pm
- Location: Internet
- Contact:
Re: Fiddler + imacros multi-threading
Best method? Not for all browsers. The errormessage "TypeError: aObject is not an object, line 20 (Error code: -991)" is fast in my test with (portable) Pale Moon 28.6.0 (64-Bit) and iMacros 8.9.7 under Win8.1! It's useless in my eyes if it not works in any browser with security updates like Pale Moon.truongfiu-vn wrote: ↑Mon Jul 01, 2019 6:48 amI found the best method to get name of current profile. Using some script from about:profiles page. It's long, but very fast.
Sure.
Okay but no browser in your system has security updates? (EDIT: I saw your post)chivracq wrote: ↑Thu Jul 05, 2018 10:24 pm- Ouf-ouf, every Profile its own iMacros Folder Set...! => Maintenance Nightmare in my Opinion...!
I maintain 3 iMacros for FF different Versions (v8.8.2, for my "Prod" Env. with Pale Moon v26.3.3 // + v8.9.7 + FF v55.0.3 for the Forum and a few Scripts that can't run "completely" on PM because of Flash // + v10.0.2 Beta + FF60/FF61 for Beta-testing v10) and I very deliberately use the same Folder Structure for all 3, plus even for iMacros for CR v8.4.4 => now v10.0.2 + FIO, and iMacros for IE v12.0, => all 5 Env. using the same Folder Tree Structure and the same Macros...
I see only Pale Moon with security updates in the past (and I think in the future). And Waterfox 56.2.11 but the future is not clear because next update is Waterfox 68a1. Cyberfox is gone.
Join 9kw.eu Captcha Service now and let your iMacros continue downloads and scripts while you sleep. - Custom iMacros? Contact me!
Re: Fiddler + imacros multi-threading
Nice to see you back @thecoder2012, even if it's probably only for a mini-while, ah-ah...!
Hum..., pity I don't maintain anymore my "Interesting Threads of the Month" Thread like I (partially) did for 2018, I guess there would have been a few "interesting" Threads for you, I reckon... I didn't start a new Thread for 2019, and now it's already July, so I would already be 6 months behind...
+ Vietnamese IP => Very suspicious then, I thought, ah-ah...! (50% of the (attempted) Spam on the Forum comes from VN since 1.5 years, even if about half of all VN IP's have now already been banned, but they still try...)
But for v10.0.2 for FF + v10.0.5 for CR (both 'Free'), I let their corresponding FF+CR Browsers update automatically to keep those 2 FCI's a bit synced with the FCI's for most Users on the Forum... => FF must be at about FF67 and CR at about CR75 now I think... But I launch those 2 maybe once a month, when there is a Thread really specific to v10.0.x for FF/CR, so I don't really "follow" them...
And they are both with the 'Free' Versions, so I can't even use/test with Local '.iim' Files anymore...
And I was thinking of adding a PM28 (+ v8.9.7 for FF) FCI to my "Arsenal", probably 'Portable' (first) to maybe "take over" my 3 PM Profiles on PM v26.3.3 + v8.8.2 for FF as I also use PM26 as my Default Browser for all my Browsing as more and more Sites don't work anymore "properly" in PM26, or "complain" about it and I constantly have to switch my UA...
Sites that don't work anymore (properly) in PM26 include: FB + Twitter + LinkedIn + Stackoverflow + SoundCloud + many News Sites with embedded Videos in Video Formats natively not supported by PM26, etc...
But for PM28 to "take over" my PM26 FCI with 3 Profiles, I currently have about 50,000 Lines of Code in '.iim' running daily and for a part where Performance and Speed are important, so I'll have to check on that part and maybe "rethink" my "Strategy" with my 3 current PM26 Profiles, to maybe update/duplicate only 1 or 2 Profiles, and reshuffle a few Tasks/Scripts between those 3 Profiles..., and their corresponding Scheduled Tasks... But pfff, that's nearly a "real" Project, ah-ah...!
Hum..., pity I don't maintain anymore my "Interesting Threads of the Month" Thread like I (partially) did for 2018, I guess there would have been a few "interesting" Threads for you, I reckon... I didn't start a new Thread for 2019, and now it's already July, so I would already be 6 months behind...
Yep, and @truongfiu-vn should have mentioned in which FCI(s) they had tested their Script/Solution anyway, especially when posting in an "older" Thread...thecoder2012 wrote: ↑Wed Jul 03, 2019 1:00 pmBest method? Not for all browsers. The errormessage "TypeError: aObject is not an object, line 20 (Error code: -991)" is fast in my test with (portable) Pale Moon 28.6.0 (64-Bit) and iMacros 8.9.7 under Win8.1! It's useless in my eyes if it not works in any browser with security updates like Pale Moon.truongfiu-vn wrote: ↑Mon Jul 01, 2019 6:48 amI found the best method to get name of current profile. Using some script from about:profiles page. It's long, but very fast.
Yep, I didn't really have the time to check the "real" Content of their Post a bit in depth (and the Content is a bit "High-Level" for me) when that User posted their Post which looked a bit "suspicious" to me as they posted the exact same Post in 2 different Threads...
+ Vietnamese IP => Very suspicious then, I thought, ah-ah...! (50% of the (attempted) Spam on the Forum comes from VN since 1.5 years, even if about half of all VN IP's have now already been banned, but they still try...)
Euh..., yep-yep...! Only v8.8.2 for FF (+ PM v26.3.3) and v8.9.7 for FF (+ FF v55.0.3) I keep at a specific "unpatched" Level...thecoder2012 wrote: ↑Wed Jul 03, 2019 1:00 pmOkay but no browser in your system has security updates?chivracq wrote: ↑Thu Jul 05, 2018 10:24 pm- Ouf-ouf, every Profile its own iMacros Folder Set...! => Maintenance Nightmare in my Opinion...!
I maintain 3 iMacros for FF different Versions (v8.8.2, for my "Prod" Env. with Pale Moon v26.3.3 // + v8.9.7 + FF v55.0.3 for the Forum and a few Scripts that can't run "completely" on PM because of Flash // + v10.0.2 Beta + FF60/FF61 for Beta-testing v10) and I very deliberately use the same Folder Structure for all 3, plus even for iMacros for CR v8.4.4 => now v10.0.2 + FIO, and iMacros for IE v12.0, => all 5 Env. using the same Folder Tree Structure and the same Macros...
I see only Pale Moon with security updates in the past (and I think in the future). And Waterfox 56.2.11 but the future is not clear because next update is Waterfox 68a1. Cyberfox is gone.
But for v10.0.2 for FF + v10.0.5 for CR (both 'Free'), I let their corresponding FF+CR Browsers update automatically to keep those 2 FCI's a bit synced with the FCI's for most Users on the Forum... => FF must be at about FF67 and CR at about CR75 now I think... But I launch those 2 maybe once a month, when there is a Thread really specific to v10.0.x for FF/CR, so I don't really "follow" them...
And they are both with the 'Free' Versions, so I can't even use/test with Local '.iim' Files anymore...
And I was thinking of adding a PM28 (+ v8.9.7 for FF) FCI to my "Arsenal", probably 'Portable' (first) to maybe "take over" my 3 PM Profiles on PM v26.3.3 + v8.8.2 for FF as I also use PM26 as my Default Browser for all my Browsing as more and more Sites don't work anymore "properly" in PM26, or "complain" about it and I constantly have to switch my UA...
Sites that don't work anymore (properly) in PM26 include: FB + Twitter + LinkedIn + Stackoverflow + SoundCloud + many News Sites with embedded Videos in Video Formats natively not supported by PM26, etc...
But for PM28 to "take over" my PM26 FCI with 3 Profiles, I currently have about 50,000 Lines of Code in '.iim' running daily and for a part where Performance and Speed are important, so I'll have to check on that part and maybe "rethink" my "Strategy" with my 3 current PM26 Profiles, to maybe update/duplicate only 1 or 2 Profiles, and reshuffle a few Tasks/Scripts between those 3 Profiles..., and their corresponding Scheduled Tasks... But pfff, that's nearly a "real" Project, ah-ah...!
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
- thecoder2012
- Posts: 446
- Joined: Sat Aug 15, 2015 5:14 pm
- Location: Internet
- Contact:
Re: Fiddler + imacros multi-threading
Ya, I was busy with other projects and the new board style was not good for my eyes.
I have found the old board style "prosilver-imacros" in the user control panel and updated my avatar (was broken with the forum update).
But I was always online (email/ticket/website) if users contacted me with useful requests.
Which?
The content ("High-Level", js with xpcom) is only for old browsers. Because all new browsers are with WebExtensions and not longer with XPCOM (except Pale Moon/Basilisk or old supported waterfox).chivracq wrote: ↑Wed Jul 03, 2019 2:21 pmYep, I didn't really have the time to check the "real" Content of their Post a bit in depth (and the Content is a bit "High-Level" for me) when that User posted their Post which looked a bit "suspicious" to me as they posted the exact same Post in 2 different Threads...
Or you can try basilisk-browser
"This browser is created and maintained by the team behind Pale Moon, and is a fully independent fork of the Mozilla/Firefox code."
- Full support for JavaScript's ECMAscript 6 standard for modern web browsing. Support for all NPAPI plugins (Unity, Silverlight, Flash, Java, authentication plugins, etc.), XUL/Overlay Mozilla-style extensions, ALSA on Linux, WebAssembly (WASM), advanced Graphite font shaping features, modern web cryptography: up to TLS 1.3, modern ciphers, HSTS, etc.
You can use get-/setcookies und delete all profiles or browser data.
50000 Lines of Code...
It's FUN!
Join 9kw.eu Captcha Service now and let your iMacros continue downloads and scripts while you sleep. - Custom iMacros? Contact me!