necrox Posted January 2, 2014 Report Share Posted January 2, 2014 First of all I don't know if the length is the problem. But that's my guess. As you can see below I have a few User Agents as global variables. I can't figure out why some of them work as variable and others not. For example the ie64 variable. Using {ie64} with Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecki as string is not possible. Using the string itself works fine (see below). What is the maximum length for global variables? Link to comment Share on other sites More sharing options...
floele Posted January 2, 2014 Report Share Posted January 2, 2014 I don't think there is a length limit. So the question is: Why do you think that it does not work? What is the actual result? Does it work if you shorten the text of the variable? I'd guess not. Link to comment Share on other sites More sharing options...
necrox Posted January 2, 2014 Author Report Share Posted January 2, 2014 That's strange. It is not the length. Using the ie64 variable with Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecki as content should result in a download of a 64-bit version of the software. But it does not work. Using Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecki itself works fine. And is NOT on every download as I figured out. There are only a few web sites not working as expected: - Bacula (does not determine the 64-bit version download link as mentioned above) - Shockwave (does not determine the version number on http://get.adobe.com/de/shockwave/?platform_dist= with variable as user agent) - Java Offline x64 (does not determine the x64 version with variable as user agent) - LibreOffice (does not determine download link with variable as user agent) Using the user agent string works fine on all of the these links. Link to comment Share on other sites More sharing options...
floele Posted January 2, 2014 Report Share Posted January 2, 2014 Actually I see no reason why variables would work in the user agent field at all. You sure that it does? Link to comment Share on other sites More sharing options...
necrox Posted January 2, 2014 Author Report Share Posted January 2, 2014 Works fine for me. Same for the referer as global variable. Link to comment Share on other sites More sharing options...
floele Posted January 3, 2014 Report Share Posted January 3, 2014 No it does not, I just verified. If it does, then only because the website has a poor UA check and parses the "IE" or "Mozilla" part of your variable name. Link to comment Share on other sites More sharing options...
necrox Posted January 3, 2014 Author Report Share Posted January 3, 2014 No variables at all? Or only global variables? If it does, then only because the website has a poor UA check and parses the "IE" or "Mozilla" part of your variable name. Sourceforge.net for example Is it possible to set this "feature" on your list for one of the next releases? *friendly-request* Link to comment Share on other sites More sharing options...
floele Posted January 3, 2014 Report Share Posted January 3, 2014 No variables are used here at all. Would be possible to implement, we'll see Link to comment Share on other sites More sharing options...
Tomorrow Posted March 23, 2014 Report Share Posted March 23, 2014 I find this suprising. From my experience global variables work in useragent field. I use {UserAgent} wich is Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0 at the moment. Link to comment Share on other sites More sharing options...
shawn Posted March 26, 2014 Report Share Posted March 26, 2014 I would love this feature to be implemented (variable parsing in individual profile UA fields). Some sites just respond better if you use certain UA's, and keeping them up to date on a profile by profile basis is much more work. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now