Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8665483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:29:26+00:00 2026-06-12T17:29:26+00:00

I noticed the DuckDuckGo karma widget one day when browsing and decided to play

  • 0

I noticed the “DuckDuckGo” karma widget one day when browsing and decided to play with one.

Its purpose is to gather your “karma” from different websites and display a little box like this one:

ddg karma widget

I tried it on my site as follows, and it provides the picture above all right.

<div id="footer">
<script type="text/javascript">
    ddg_k_title = '';
    ddg_k_bold_karma = '1';
    ddg_k_link_karma = '0';
    ddg_k_link_label = '0';
    ddg_k_show_username = '0';
    ddg_k_show_service_name = '0';
    ddg_k_paren_karma = '0';
    ddg_k_vertical_spacing = '5';
    ddg_k_column_width = '150';
    ddg_k_padding = '5';
    ddg_k_font_size = '9pt';
    ddg_k_font_color = 'black';
    ddg_k_font_family = '';
    ddg_k_border = '1px solid #AAA';
</script>
<div id="holder" style="position: relative; height: 76px; width: 50%; margin: 0px auto">
    <div id="ddg_k" style="width: 150px; height: 47px; font-size: 9pt; background: white;
        padding: 5px; text-align: left; float: left">
    </div>
    <script type="text/javascript" src="http://karma.duckduckgo.com/k.js?t=1,5&u=Evgeny,evgenyr"></script>

However, there are questions I can not find answers to:

  1. I could not locate any documentation. The parameters for k.js I had to literally figure out by trial and error. Can anyone help with that?

  2. It still shows the karma for the day when I added the widget to my site – I know the values have changed since. What am I missing?

  3. Finally, if anyone can suggest similar widgets I can easily use on a website, that would be duly upvoted!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T17:29:28+00:00Added an answer on June 12, 2026 at 5:29 pm

    I didn’t find any documentation for the karma widget either, despite much googling around.

    It seems that you have looked into the script, but I’ll nevertheless document some findings here.

    Looking in the k.js file that is generated you can see that you specify the sites to show in the widget by using the query parameters t and u:

    http://karma.duckduckgo.com/k.js?t=1,5&u=Evgeny,evgenyr

    This means for the site identified by 1 the username is Evgeny and for the site with id 5 the username is evgenyr. If you look into the script you can see that it is generated on the server side and it has the karma points retrieved already in the script.

    The identifiers are as follows (straight from the script @ 2012-10-09):

    Id  Site
    --------------------
    1   Hacker News
    2   reddit
    3   digg
    4   Mixx
    5   LinkedIn
    6   Twitter
    7   StumbleUpon
    8   delicious
    9   YouTube
    A   Dailymotion
    B   Plurk
    C   identi.ca
    D   Stack Overflow
    E   MySpace
    F   GitHub
    G   Facebook
    

    From looking at the code, you can also customize the look’n’feel of the widget by embedding parameters (starting ddg_k_) as javascript code to your site as you have done. The parameters are almost self-explanatory.

    The script also needs an element with the id of ddg_k where it places the widget.

    As for why the values are not updated since adding the widget; I can only come up with a educated guess that there’s some caching going on. At least here the last message mentions some delays. Also there’s some mention about caching issues on the duckduckgo forum. It might also be because the server-side component that retrieves the points is out of date regarding a site.

    There’s certainly very scarce information on this topic. 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I noticed when using the Google Chat feature from your Google Mail that you
I noticed that there are two sets of Hadoop configuration parameters: one with mapred.*
I noticed that the first creation of an image from an uri takes pretty
I noticed that I can't combine --traditional options with the other one letter other
I noticed that SWT extracts its native libraries into a folder named .swt under
I noticed that the size of the logcat buffer varies on different devices. Assuming
I noticed long render times for a page with a user's account on one
I noticed that my Designer.vb file of one of my forms has a lot
I noticed a confused computation of complex valued multiplication in Matlab. One simple example
I noticed that locally we were getting errors about 7 different jquery-ui images, e.g.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.