Javascript Tooltip / Posts /

License for two domain names

250
I have a license for domain1.com, but it should also be available for domain domain2.com. How do I proceed?
Rafael  11 years ago   viewed: 44060    

4 Answers

72
If domain2.com will be redirected to domain1.com, you can use the license for domain1.com. 

Otherwise you need to purchase two licenses for both domains and set the two licenses to the script as suggested in the thread below.
milo   11 years ago
1
In my case, its the same app running on IIS, but the the two domains points to the same app. If i buy a license for the second domain, it will work?!
Rafael   11 years ago
1

There is a solution to tackle the multiple license requirement. Open the tooltip.js with Notepad, and after the definition of:

var tooltipOptions = {     .....     license: "licForDomain1" };

add the following script block immediately after above block:

if (document.domain.indexOf("domain2.com") != -1)     tooltipOptions.license = "licForDomain2";

If you have more domains, you can continue adding them:

else if (document.domain.indexOf("domain3.com") != -1)     tooltipOptions.license = "licForDomain3";

Note the "domain2.com", "domain3.com" must be in lower case.

Please try it out and let me know if it works or not.

milo   11 years ago
0

late to this but thanks for the help. 

bob
  one month ago

   

Your name*
Password
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: