Thank you very, very much for Flagfox!
While the flag itself - in these days with all them CDNs..
- may have become somewhat less useful for me than it was pre-2012,
I use the Flagfox actions & custom actions literally several times each day..!
My request is this:
Would it be possible for you to - in addition to the
{TLD} (Top-Level Domain) name template data placeholder..
- also create a
{SLD} (Second-Level Domain) name template data placeholder..?
Then, a custom action template could be made e.g. like this:
exampleanalysingsite.org/{SLD}/{TLD}/
which would then be translated into
exampleanalysingsite.org/flagfox/net/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This is what is most important for me.
I know at least one site (the one I use the most, actually)
which is not working without this {SLD}.
I am currently using {baseDomainName} instead,
and when the site hangs, I manually remove the ".com" or ".net" etc
and then press Goto, and then it works.
However, when writing this, I came to think of even further possibilities..
..if these additions are actually really easy for you to implement, maybe also a
{3LD} (3rd Level Domain) name template data placeholder
could be useful..!
E.g. for the "mail.google.com" site, it could work like this:
exampleanalysingsite.org/{3LD}/{SLD}/{TLD}/
which would then be translated into
exampleanalysingsite.org/mail/google/com/
{SLD} (Second-Level Domain) name placeholder?
-
- Posts: 2
- Joined: Sat Dec 19, 2015 6:15 pm
Re: {SLD} (Second-Level Domain) name placeholder?
You're welcome.HappyFlagfoxUser wrote: Thank you very, very much for Flagfox!
Yup. For big sites, Flagfox just tells you where the CDN node is, which whilst useful, is not as useful as it used to be. Still comes in quite helpful with smaller sites, though.HappyFlagfoxUser wrote: While the flag itself - in these days with all them CDNs..
- may have become somewhat less useful for me than it was pre-2012,
I use the Flagfox actions & custom actions literally several times each day..!
Interesting idea. Adding full-fledged new placeholders is a pain, as I'd have to get all the help text translated for it into 30 different languages, which takes a month or two when dealing with volunteers.HappyFlagfoxUser wrote: My request is this:
Would it be possible for you to - in addition to the
{TLD} (Top-Level Domain) name template data placeholder..
- also create a
{SLD} (Second-Level Domain) name template data placeholder..?
Then, a custom action template could be made e.g. like this:
exampleanalysingsite.org/{SLD}/{TLD}/
which would then be translated into
exampleanalysingsite.org/flagfox/net/
[...]
However, when writing this, I came to think of even further possibilities..
..if these additions are actually really easy for you to implement, maybe also a
{3LD} (3rd Level Domain) name template data placeholder
could be useful..!
E.g. for the "mail.google.com" site, it could work like this:
exampleanalysingsite.org/{3LD}/{SLD}/{TLD}/
which would then be translated into
exampleanalysingsite.org/mail/google/com/
That said, I think I'll look into adding a modifier to do what you're requesting. Something like "{domainname-1}", "{basedomainname-1}", etc. I'll get back to you on that.
Can you post the URL & your action template so I can take a look? There's probably a way I can fudge it to work for you.HappyFlagfoxUser wrote: This is what is most important for me.
I know at least one site (the one I use the most, actually)
which is not working without this {SLD}.
I am currently using {baseDomainName} instead,
and when the site hangs, I manually remove the ".com" or ".net" etc
and then press Goto, and then it works.
-
- Posts: 2
- Joined: Sat Dec 19, 2015 6:15 pm
Re: {SLD} (Second-Level Domain) name placeholder?
I am looking forward to the modifier!
About the custom action template..:
..is what I am using currently, which I - since it is not working without manual intervention
- hope could later on be replaced into..
or even
About the custom action template..:
Code: Select all
https://www.robtex.com/en/advisory/dns/{TLD}/{baseDomainName}/
- hope could later on be replaced into..
Code: Select all
https://www.robtex.com/en/advisory/dns/{TLD}/{SLD}/
Code: Select all
https://www.robtex.com/en/advisory/dns/{TLD}/{SLD}/{3LD}/
Re: {SLD} (Second-Level Domain) name placeholder?
Ok, a few options for you:
1) That site apparently has a newer system that has a more normal REST API. The following action works:
2) Option #1 doesn't show everything at once, but it took me only a few seconds to find a way to hack it into everything but the summary on one page:
(some parts are long, but you can cut out the parts from the URL for the ones you don't need here)
If you want to use the old version, they have a helpful "old robtex" link right up top in their newer page that does exactly where you want.
Another option would be to use the search function in the old version and then click the top result, but it seems to have errors with any subdomains and one of the other options here would be better, so I'll skip that idea.
3) The last option is to go with a custom JavaScript action. Always possible, but I generally prefer to avoid resorting to scripting here. Though, in this case it's relatively simple and seems to work rather well:
Option #3 does exactly what you requested. It's simple enough that it looks like it should work reliably. (note that the quotes are required in the given positions; Flagfox action placeholders are interpreted like a preprocessor macro, not a variable, when in scripts) The only downside is that your icon in the menu will be the script action icon rather than the favicon for the site it's sending you to, but that's not really a big deal.
Note that in my brief testing the site kept giving me occasional "temporary errors" even when the URL was correctly formatted. It's either a bit buggy or it's throttling me.
1) That site apparently has a newer system that has a more normal REST API. The following action works:
Code: Select all
https://www.robtex.com/#!dns={domainName}
Code: Select all
https://www.robtex.com/#!dns={domainName}&fwd=1&rev=1&similar=1&scorecard=1&shared=1&graph=1
If you want to use the old version, they have a helpful "old robtex" link right up top in their newer page that does exactly where you want.
Another option would be to use the search function in the old version and then click the top result, but it seems to have errors with any subdomains and one of the other options here would be better, so I'll skip that idea.
3) The last option is to go with a custom JavaScript action. Always possible, but I generally prefer to avoid resorting to scripting here. Though, in this case it's relatively simple and seems to work rather well:
Code: Select all
javascript:openURL("https://www.robtex.com/en/advisory/dns/{TLD}/"+"{baseDomainName}".split(".")[0]+"/")
Note that in my brief testing the site kept giving me occasional "temporary errors" even when the URL was correctly formatted. It's either a bit buggy or it's throttling me.
Re: {SLD} (Second-Level Domain) name placeholder?
Actually... also:
4) A more general script that formats the URL properly for all domains, including those with multi-part TLDs (e.g. co.uk)
Using "{domainName}" instead ends up keeping the "www" subdomain in addition to any others, and the site likely chokes on that. I can't tell for sure, though, as I'm fairly certain it's throttling me with "temporary errors" so I can't test it properly.
This is the more "elegant" solution vs. #3.
4) A more general script that formats the URL properly for all domains, including those with multi-part TLDs (e.g. co.uk)
Code: Select all
javascript:openURL("https://www.robtex.com/en/advisory/dns/"+"{baseDomainName}".split(".").reverse().join("/")+"/")
This is the more "elegant" solution vs. #3.