That said, magnesium is one of a few ingredients demonstrated to impact testosterone levels. Researchers at Italy’s University of Palermo found that magnesium improved participants’ anabolic hormone status — including their testosterone levels. In a follow-up study, they confirm that even adjusting for age differences in their participant group, “magnesium was positively associated with total testosterone.” They propose that magnesium supplementation might help improve muscle performance in aging men — a group particularly vulnerable to declining/low testosterone levels. Outside of Italy, researchers at Turkey’s Selçuk University found that magnesium supplementation increased testosterone levels for both athletes and more sedentary men alike.
VI-PEX or Vasodilator Ingredients with Penile Expansion is a highly-potent combination of blood flow-boosting ingredients which prolong and intensify the vasodilation properties of Male UltraCore, resulting in an undeniable improvement in size and hardness during penile erection. VI-PEX technology works hand-in-hand with STEM technology to leverage sexual arousal as a size-boosting factor during penile erection.
Dr. Anthony's Notes: When evaluating the efficacy of a product, it’s tough to balance the currently available human research with thousands of years of anecdotal evidence of efficacy. Tongkat Ali is a perfect example. All of the current studies are on animal models (not humans) – this DOES NOT mean that Tongkat Ali doesn’t work with humans. It simply means more research is needed. Personally, the strong experience of thousands of men (myself included) using this herb can confirm it’s libido enhancing effects. Also, this herb is DAMN BITTER. It makes Maca powder seem like a walk in the park. Hide in a smoothie or you will be sorry haha! How To Take Tongkat Ali: 200-300mg (of a 100:1 extract) 1-2 times per day. If you are using the raw powder (recommended below) that is NOT encapsulated, definitely hide the powder in a fat burning smoothie like the “Fit Father Fat Burning Shake Recipe” we recommend in FF30X. Again, I cannot understand how damn nasty this powder tastes. Beware!
Vitamin D, a steroid hormone, is essential for the healthy development of the nucleus of the sperm cell, and helps maintain semen quality and sperm count. Vitamin D also increases levels of testosterone, which may boost libido. In one study, overweight men who were given vitamin D supplements had a significant increase in testosterone levels after one year.5
Try a protein deprivation diet. According to "Optimum Anabolics," the body produces more testosterone in response to heavy training when there is insufficient protein in the diet. Testosterone provides a hypertrophic, or muscle-building, backup system, allowing for muscle recovery when protein is not available. To follow this diet, take in only 30 grams of high-quality, fast-digesting protein (whey protein) immediately following your weight training. The rest of the days, your calories, split into five or six meals, should be divided between low-glycemic carbohydrates (oatmeal, whole grains and sweet potatoes) and healthy fats. After three weeks of this diet, switch back to a higher-protein diet (1 gram of protein per pound of body weight), adding one extra 20 to 30 gram serving of protein before bed.
For people who are worried about low or high testosterone, a doctor may perform a blood test to measure the amount of the hormone in the patient's blood. When doctors find low-T, they may prescribe testosterone therapy, in which the patient takes an artificial version of the hormone. This is available in the following forms: a gel to be applied to the upper arms, shoulders or abdomen daily; a skin patch put on the body or scrotum twice a day; a solution applied to the armpit; injections every two or three weeks; a patch put on the gums twice a day; or implants that last four to six months.
Keep in mind that you can use virtually any type of equipment you want for this – an elliptical machine, a treadmill, swimming, even sprinting outdoors (although you will need to do this very carefully to avoid injury) -- as long as you're pushing yourself as hard as you can for 30 seconds. But do be sure to stretch properly and start slowly to avoid injury. Start with two or three repetitions and work your way up, don't expect to do all eight repetitions the first time you try this, especially if you are out of shape.
Late onset hypogonadism reflects a particular pathophysiology and it may not be appropriate to extrapolate results from studies concerning the effects of testosterone in treating hypogonadism of other etiology to aging males. For this reason, the age of men treated in clinical trials is certainly relevant. Other important factors include patient comorbidities and the preparation and route of testosterone replacement used in the study, which can affect the production of estrogen and dihydrotestosterone, testosterone’s active metabolites
Partake in short-term high-intensity exercise. Casual walking is great for weight loss, but high-intensity exercise (such as playing soccer, swimming or lifting weights) can directly stimulate testosterone production. However, the key is how long you spend doing the exercise as well as your intensity levels. Short bouts of high-intensity exercise (weightlifting in particular) has a proven positive effect on increasing testosterone levels and preventing its depletion in teenage and older males.[2] Thus, keep your workouts relatively short (no more than 30 minutes) and try to go full out in as safe a manner as possible. Working out for longer periods (an hour or more) at less intense levels can sometimes reduce testosterone levels in men / boys.
Meat. Meat, particularly beef, provides our bodies with the protein it needs to create muscle (more muscle = more T) and the fats and cholesterol to make testosterone. My meat topping of choice was sliced up chuck steak. I grilled two of them on Monday and it lasted me until the next Monday. Every now and then I’d slow-cook some ribs or brisket to use as my meat topping. My philosophy was the fattier, the better.
Scientists in Italy found that subjects who consumed roughly 3 grams of D-AA for 12 days observed a 42 percent increase in testosterone levels.[12] The researchers also noted that the D-AA group still had 22 percent more testosterone than the placebo group three days after they stopped supplementing. Conversely, a more recent article published in Nutrition Research found no increase in testosterone levels in resistance-trained males after supplementing with 3 grams of D-AA for 28 days.[13]
A recent study conducted on trained subjects showed that squats stimulated a greater testosterone response than leg presses.10 Stick with multijoint exercises like squats, bench presses, and deadlifts—the kinds of compound lifts that'll help jack up your testosterone levels. Since machines isolate a muscle you're working (less stabilizer activity), they're not as good a choice compared to free weights.
Dr. Anthony’s Notes: Vitamin D has about 100 other beneficial body functions outside of it's impact on testosterone. Make sure you take the active Vitamin D3 (not D2 – from plant sources!) It’s also advisable to get 20 minutes of sunshine daily (weather permitting) – without sunscreen. Verdict: this is one of the natural testosterone supplements that work. Best Food Sources of Vitamin D3: Wild Alaskan Salmon (#1), Sardines, Eggs How To Take Vitamin D3: Using 3000-5000IU of Vitamin D3 per day is a good safe, research supported dose. Your physician can also test your blood for D3 levels for more precise monitoring.
Stick to protocols that stress large degrees of muscle mass and are moderate- to high-intensity. Additionally, more seasoned gym-goers may want to incorporate forced repetitions periodically into their programs, as testosterone increases have been observed with this type of training.14 Incorporating other post-failure training techniques such as dropsets or partials may similarly be associated with higher T production.
“Eat often if you want to keep your testosterone high. People who go on starvation diets are destroying their testosterone levels. Its one of the worst things you can do.” – It is proved scientifically that fasting increases testosterone and HGH levels, and when you eat, insulin levels go up, testosterone goes down! so eating often will keep insulin levels up and T….
As crazy as it seems, it has lately been proven that there is a no relation between cholesterol intake and heart attack as doctors once thought (and many still do). This is slowly becoming common knowledge, regardless of pharmaceutical companies wishes. (Trust me, this billion dollar industry does not want you to know this. You don;t have to be a conspiracy theorist to see this.)
So, how does one ensure that testosterone levels remain in balance? Some doctors suggest that monitoring testosterone levels every five years, starting at age 35, is a reasonable strategy to follow. If the testosterone level falls too low or if the individual has the signs and symptoms of low testosterone levels described above, testosterone therapy can be considered. However, once testosterone therapy is initiated, testosterone levels should be closely monitored to make sure that the testosterone level does not become too high, as this may cause stress on the individual, and high testosterone levels may result in some of the negative problems (described previously) seen.
Take 250 mg of Forskolin, standardized to 10 percent, twice a day. Take one serving before training and the other with a meal. According to "Natural Anabolics," Forskolin decreased body fat and increased free testosterone levels in training individuals as compared to a placebo. Forskolin comes from the herb coleus forskohlii and is also known as Forslean.
I was reading in the university health news daily website that a study performed by researchers at the University of Texas M.D. Anderson Cancer Center found that men with prostate cancer who ate 3 tablespoons of milled or ground flax seeds each day had decreased prostate cancer cell proliferation compared to similar men who did not eat flax seeds. According to the American Cancer Society, men who supplement their diets with flax seed have lower PSA levels and slower growth of benign as well as cancerous prostate cells.
Finally, we looked at the proprietary blends of our remaining boosters, and dug into their ingredient lists. Supplements frequently include ingredients known for their “folk-lore” value; they’re believed to work, even when there isn’t any scientific background to prove it. Though we didn’t ding points if an ingredient wasn’t proven to be good (just so long as it wasn’t proven to be bad), we didn’t want to include any ingredient with evidence of causing harm.
Most studies support a link between adult criminality and testosterone, although the relationship is modest if examined separately for each sex. Nearly all studies of juvenile delinquency and testosterone are not significant. Most studies have also found testosterone to be associated with behaviors or personality traits linked with criminality such as antisocial behavior and alcoholism. Many studies have also been done on the relationship between more general aggressive behavior/feelings and testosterone. About half the studies have found a relationship and about half no relationship.[66]
A: Endocrinology is a very difficult subject, some physicians and pharmacists alike have more difficulty with endocrinology than neurology. The reason for this is that there is no clear cut answer. Every hormone interacts with another hormone system in the body whether it be parathyroid hormone, cortisol, follicle stimulating hormone, etc. By in large, testosterone will increases lean body mass, which is to say that it typically increases muscle and or bone mass. We use it in the hospital to put weight on in patients needing to gain weight. That is partially the reason why we refer to testosterone as an "anabolic" hormone; anabolic meaning 'to build'. For more information, please visit us here at: //www.everydayhealth.com/drugs/testosterone Matt Curley, PharmD
It seems like today it’s a badge of honor to train every day until exhaustion. The ethos is to push yourself harder and harder every day. If that’s your philosophy towards exercise, you might be sabotaging your testosterone levels (as well as your 20 Mile March). Studies have shown that overtraining can reduce testosterone levels significantly. Yes, it’s important to exercise hard, but it’s even more important to give your body rest so it can recuperate from the damage you inflicted upon it.
Grass-fed beef and commercially produced beef are best foods that boost testosterone. Both contain minerals and other nutrients essential for boosting your testosterone levels. The major advantage of grass-fed beef over their commercial variant is the amount of omega 3 fats present in them. The grass-fed beef had higher omega 3 fats to omega 6 fats. As you know omega 3 fats are the healthy one and keeping the ratio higher will be healthy.
The Sharks had said that these miracle testosterone pills were designed to increased men's size, and that’s exactly what happened with my hubby! I still find it hard to believe that this stuff turned him into a long, strong, wild beast in bed — and all for the price of a movie ticket and without any expensive prescription. I find the results to be worth every penny (I already ordered three more packs) — life is too valuable, and I’m not the kind of girl that skimps on pleasures.

Testosterone treatment is unequivocally needed in classical hypogonadism for reasons discussed in subsequent subsections. In classical hypogonadism, testosterone production is usually clearly below the lower limit of normal and patients are highly symptomatic; the various symptoms are easily related to the deficiencies in various bodily systems where testosterone action is important. Symptoms of testosterone deficiency are listed in Table 2. A few prominent causes of classical hypogonadism are listed in Table 3.
Testosterone is more than a “male sex hormone”. It is an important contributor to the robust metabolic functioning of multiple bodily systems. The abuse of anabolic steroids by athletes over the years has been one of the major detractors from the investigation and treatment of clinical states that could be caused by or related to male hypogonadism. The unwarranted fear that testosterone therapy would induce prostate cancer has also deterred physicians form pursuing more aggressively the possibility of hypogonadism in symptomatic male patients. In addition to these two mythologies, many physicians believe that testosterone is bad for the male heart. The classical anabolic agents, 17-alkylated steroids, are, indeed, potentially harmful to the liver, to insulin action to lipid metabolism. These substances, however, are not testosterone, which has none of these adverse effects. The current evidence, in fact, strongly suggests that testosterone may be cardioprotective. There is virtually no evidence to implicate testosterone as a cause of prostate cancer. It may exacerbate an existing prostate cancer, although the evidence is flimsy, but it does not likely cause the cancer in the first place. Testosterone has stimulatory effects on bones, muscles, erythropoietin, libido, mood and cognition centres in the brain, penile erection. It is reduced in metabolic syndrome and diabetes and therapy with testosterone in these conditions may provide amelioration by lowering LDL cholesterol, blood sugar, glycated hemoglobin and insulin resistance. The best measure is bio-available testosterone which is the fraction of testosterone not bound to sex hormone binding globulin. Several forms of testosterone administration are available making compliance much less of an issue with testosterone replacement therapy.
Two of the immediate metabolites of testosterone, 5α-DHT and estradiol, are biologically important and can be formed both in the liver and in extrahepatic tissues.[151] Approximately 5 to 7% of testosterone is converted by 5α-reductase into 5α-DHT, with circulating levels of 5α-DHT about 10% of those of testosterone, and approximately 0.3% of testosterone is converted into estradiol by aromatase.[2][151][157][158] 5α-Reductase is highly expressed in the male reproductive organs (including the prostate gland, seminal vesicles, and epididymides),[159] skin, hair follicles, and brain[160] and aromatase is highly expressed in adipose tissue, bone, and the brain.[161][162] As much as 90% of testosterone is converted into 5α-DHT in so-called androgenic tissues with high 5α-reductase expression,[152] and due to the several-fold greater potency of 5α-DHT as an AR agonist relative to testosterone,[163] it has been estimated that the effects of testosterone are potentiated 2- to 3-fold in such tissues.[164]

Vitamin D deficiency is a growing epidemic in the US, and is profoundly affecting men’s health. The cholesterol-derived steroid hormone vitamin D is crucial for men’s health. It plays a role in the development of the sperm cell nucleus, and helps maintain semen quality and sperm count. Vitamin D can also increase your testosterone level, helping improve your libido. Have your vitamin D levels tested using a 25(OH)D or a 25-hydroxyvitamin D test. The optimal level of vitamin D is around 50 to 70 ng/ml for adults. There are three effective sources of vitamin D:


Testosterone is a vital hormone for men, but just like estrogen in women, it goes down as you age. This is a natural process that has many drawbacks. In men, testosterone is responsible for hair growth, bone density, proper weight distribution, sex drive, muscle mass, red cell production, and so much more. But did you know that you can actually increase your testosterone levels as opposed to letting them dwindle?


Low testosterone levels may contribute to decreased sex drive, erectile dysfunction, fragile bones, and other health issues. Having low testosterone levels may also indicate an underlying medical condition. See your doctor if you suspect you have low testosterone. A simple blood test is all it takes to check if your testosterone falls within the normal range.
Some of them can benefit dieters or competitive athletes. These individuals often experience significant decreases in their testosterone levels as a result of the restrictive or stressful exercise or diet regimen. It is worth mentioning that many of them can actually benefit healthy and hyper-active individuals (for example, professional weight lifters), but we can’t know that for sure because there aren’t enough studies to back up this claim.
That there is an association between depression and testosterone concentration seems possible because of the observation that depression may be associated with reduced testosterone concentrations, hypogonadal men may have their symptoms of depression relieved by TRT and that testosterone itself may have anti-depressant properties (Pope et al 2003). The evidence, however, is inconsistent. Seidman and colleagues (2002), for example, found that there was no relationship between testosterone and depression but there was an association of testosterone with dysthymia. McIntyre and colleagues (2006), on the other hand, found that middle-aged men with depression did have a reduction in bio-available testosterone.

A study published in the Journal of Steroid Biochemistry studied the effects of diet on serum sex hormones in healthy men. Results showed that when men decreased their healthy fat intake, serum concentrations of androstenedione, testosterone and free testosterone also decreased. (8) This indicates you can add low testosterone to the list of low-fat diet risks.

It doesn’t get more natural than getting a good night’s sleep. Research published in the Journal of the American Medical Association showed that lack of sleep can greatly reduce a healthy young man’s testosterone levels. That effect is clear after only one week of reduced sleep. Testosterone levels were particularly low between 2 and 10 p.m. on sleep-restricted days. Study participants also reported a decreased sense of wellbeing as their blood testosterone levels dropped.

Some of them can benefit dieters or competitive athletes. These individuals often experience significant decreases in their testosterone levels as a result of the restrictive or stressful exercise or diet regimen. It is worth mentioning that many of them can actually benefit healthy and hyper-active individuals (for example, professional weight lifters), but we can’t know that for sure because there aren’t enough studies to back up this claim.
Elevated testosterone levels have been demonstrated to increase the growth of body muscles and contribute to better activation of the nervous system, resulting in more power and strength, a better mood, enhanced libido, and many other benefits.[3] Previous researches done on the anabolic role of testosterone and its impact on muscular strength in training-induced adaptations has provided rather conflicting findings, and a positive correlation between testosterone-mediated responses and both functional performance and body composition was found.[4,5] There are a number of naturally occurring substances that can boost testosterone levels in the body. Foods containing such substances are known as testosterone-foods; and they tend to be rich in vitamins, antioxidants, and minerals like zinc, which plays a key role in testosterone production.[2,6-8]
It doesn’t get more natural than getting a good night’s sleep. Research published in the Journal of the American Medical Association showed that lack of sleep can greatly reduce a healthy young man’s testosterone levels. That effect is clear after only one week of reduced sleep. Testosterone levels were particularly low between 2 and 10 p.m. on sleep-restricted days. Study participants also reported a decreased sense of wellbeing as their blood testosterone levels dropped.
The mineral zinc is important for testosterone production, and supplementing your diet for as little as six weeks has been shown to cause a marked improvement in testosterone among men with low levels.1 Likewise, research has shown that restricting dietary sources of zinc leads to a significant decrease in testosterone, while zinc supplementation increases it2 -- and even protects men from exercised-induced reductions in testosterone levels.3
Many studies demonstrate an improvement in mood of hypogonadal men treated with testosterone (Wang et al 1996; Azad et al 2003). The relationship between testosterone status and mood, particularly depression, remains unresolved. Using Beck’s Depression Inventory, Barrett-Connor and colleagues found that the depression score worsened as men aged, exactly at a time when testosterone levels are decreasing (Barrett-Connor et al 1999). Pope and colleagues found that testosterone treatment in men with refractory depression lowered the Hamilton Depression rating scale and the Clinical Global Impression severity rating (Pope et al 2003). The Beck Depression Inventory remained unchanged in Pope’s study.
The effects of testosterone in humans and other vertebrates occur by way of multiple mechanisms: by activation of the androgen receptor (directly or as DHT), and by conversion to estradiol and activation of certain estrogen receptors.[109][110] Androgens such as testosterone have also been found to bind to and activate membrane androgen receptors.[111][112][113]
There is also a crazy case study about a Thai-male who reportedly got his DHT levels all the way to 158% above medical reference ranges after supplementing with Butea Superba (he visited the doctor and complained of too high libido), after some examination and questioning, the doctors thought it might be the supplement causing this sudden increase in androgenic hormones and they instructed him to seize the consumption. Within a week his blood serum 5-a DHT had fallen back to normal.

Every ingredient can be harmful when taken in significant quantities (we go more into that below), so we pored over each booster’s ingredient list to make sure that they weren’t serving up an overdose. In particular, we took a close look at magnesium and zinc, which have enough scientific background behind them to offer hard upper limits on how much you can safely consume.
Puberty occurs when there is an “awakening” of the hypothalamic-pituitary axis. The hypothalamus increases its secretion of gonadotropin releasing hormone (GnRH) which in turn stimulates the release of luteinizing hormone (LH) and follicle stimulating hormone (FSH). This leads to a significant increase in the production of testicular testosterone and the induction of the well-known secondary sex characteristics associated with puberty: growth spurt, increased libido, increased erectile function, acne, increased body hair, increased muscle mass, deepening of the voice, spermatogenesis, gynecomastia (usually transient).

There are studies that show Soy consumption in humans leads to lower sperm count, but unfortunately they did not look at testosterone levels in the study (40). This (41) particular study compared the estrogen production of men drinking soy protein to those drinking whey. After two weeks they found the estradiol levels were equal, however soy drinkers had LOWER Testosterone levels and HIGHER cortisol levels (both bad).


Copyright © 2019 Leaf Group Ltd. Use of this web site constitutes acceptance of the LIVESTRONG.COM Terms of Use , Privacy Policy and Copyright Policy . The material appearing on LIVESTRONG.COM is for educational use only. It should not be used as a substitute for professional medical advice, diagnosis or treatment. LIVESTRONG is a registered trademark of the LIVESTRONG Foundation. The LIVESTRONG Foundation and LIVESTRONG.COM do not endorse any of the products or services that are advertised on the web site. Moreover, we do not select every advertiser or advertisement that appears on the web site-many of the advertisements are served by third party advertising companies.
The testicles produce an enzyme called 11ßHSD-1 which protects your testosterone molecules from the effects cortisol.  During times of prolonged stress and chronically elevated cortisol, there simply is too much cortisol for 11ßHSD-1 to handle.  This results in testosterone molecules being destroyed inside the gonads before they even enter the bloodstream (8, 9).
The testicles produce an enzyme called 11ßHSD-1 which protects your testosterone molecules from the effects cortisol.  During times of prolonged stress and chronically elevated cortisol, there simply is too much cortisol for 11ßHSD-1 to handle.  This results in testosterone molecules being destroyed inside the gonads before they even enter the bloodstream (8, 9).

“I did a lot of research on Andro400 before I ordered it because I've tried other products in the past and they haven't worked. But with this I could not believe the difference within, literally within a month. I'm 62 years old and since I started taking it I have lost 37 lbs. And I have more energy than I've had in 20 years. It's still coming off, but it's coming off slower now. It was the belly fat. I could get weight off but I could never get the tummy off, and now the tummy's coming off. Libido -- everything's better all the way around.“

Since 2004, Andro400 has been the leader among natural testosterone boosters with a proven track record of successfully helping tens of thousands of customers increase their testosterone safely without side effects. Andro400 contains only the most highly researched and time-tested ingredients proven to naturally increase T levels. Enjoyed by men (and women) of all ages and results are backed by the industry's leading Satisfaction Guarantee.
Testosterone is included in the World Health Organization's list of essential medicines, which are the most important medications needed in a basic health system.[107] It is available as a generic medication.[10] The price depends on the form of testosterone used.[108] It can be administered as a cream or transdermal patch that is applied to the skin, by injection into a muscle, as a tablet that is placed in the cheek, or by ingestion.[10]
Insulin causes lower Testosterone levels, so go easy on the carbs and eat more protein right? Well you need to be careful with protein consumption – Excess protein without fat can also cause insulin spikes. So go easy on that chicken breast with a side of egg white omelets washed down with a protein shake. From an insulin point of view you may as well drink a can of soda with some aminos acid! So what should you do? Eat more fat.
To reduce excess estrogens and weight gain (since fat stores estrogen), I suggest increasing fiber to assist with detox, as well as bumping up nutrients known to be good estrogen detoxifiers like methylated B12, betaine, choline, and methylated folate. These types of nutrients are referred to as methyl donors and help with estrogen metabolism and detoxification.
$(function(){ SocialButtonRound_OnLoad(); }); function OpenPopup(a, b, c, d, e, f) { var g, h, i, j, k, l = ""; if (1 == e) if ("REST" == f.toUpperCase() ? (j = rest_width, k = rest_height) : (j = onet_width, k = onet_height), navigator.userAgent.toUpperCase().indexOf("OPERA") == -1 && navigator.userAgent.toUpperCase().indexOf("MAC") == -1 || (k += 15), document.all) { var m = "no"; d && (m = "yes"), h = 0, i = 0, j = screen.width, k = screen.height; var n = "fullscreen=yes"; g = window.open(a, l, n) } else { j += 20, h = 0, i = 0, j = screen.width, k = screen.height; var n = "fullscreen=yes"; g = window.open(a, l, n) } else if (document.all) { var m = "no"; d && (m = "yes"), h = (screen.width - b) / 2, i = (screen.height - c) / 2; var n = "left=" + h + ",top=" + i + ",width=" + b + ",height=" + c + ",menu=no,address=no,resize=no,scrollbars=" + m + ",titlebar=no,status=no"; g = window.open(a, l, n) } else { b += 20, h = (screen.width - b) / 2, i = (screen.height - c) / 2; var n = "left=" + h + ",top=" + i + ",width=" + b + ",height=" + c + ",menu=no,address=no,resize=no,status=no"; g = window.open(a, l, n) } return g } function SocialButtonRound_OnLoad() { try { addLinksToShareIcon(), generateShareCount(document.location.href), $("ul.social-icons > li > a").not("a.mailtolink").click(function (a) { a.preventDefault(), etafScrollPos = $(document).scrollTop(), window._vis_opt_queue = window._vis_opt_queue || [], window._vis_opt_queue.push(function () { _vis_opt_goal_conversion(243) }); var b = $(this).parent("li").attr("data-social-btn"), c = $(this).attr("href"); switch (b) { case "facebook": OpenPopup(c, 670, 340, !1, 0, ""); break; case "print": window.print(); break; case "chat": break; default: console.log("Unsupported data-social-btn type: " + b) } return !1 }) } catch (a) { } } function addLinksToShareIcon() { var a = window.location, a.indexOf("?") >= 0 && (a = a.substring(0, a.indexOf("?"))); a.indexOf("#") >= 0 && (a = a.substring(0, a.indexOf("#"))); $('ul.social-icons > li[data-social-btn="facebook"] > a').attr("href", "https://www.facebook.com/sharer/sharer.php?u=" + encodeURIComponent(a)); } function generateShareCount(a) { a.indexOf("?") >= 0 && (a = a.substring(0, a.indexOf("?"))); a.indexOf("#") >= 0 && (a = a.substring(0, a.indexOf("#"))); if (a.indexOf("https://") > -1) { var b = encodeURIComponent(a); getFBCount(b) }; } function getFBCount(a) { $.ajax({ url: "https://graph.facebook.com/?fields=share&id=" + a, dataType: "jsonp", success: function (a) { a.share && ($("#shareCountContainer").val(Number($("#shareCountContainer").val()) + Number(a.share.share_count)), addToShareCountAndUpdate()) } }) } function addToShareCountAndUpdate() { if (!isNaN($("#shareCountContainer").val())) { var a = Number($("#shareCountContainer").val()); a >= 1e3 && (a = parseFloat((a / 1e3).toFixed(1)) + "K"), $("span[data-share-counter]").html(a) } }
×