Adding a Java widget

  • Unknown's avatar

    Dear WordPress.com
    I wanted to add a java script widget on my blog przeklamliteracki.wordpress.com. It is a widget from a Polish website which very much resembles goodreads. You can see what it looks like here: http://lubimyczytac.pl/aktualnosci/3187/powiadomienia-i-wklejki-na-bloga
    I know wordpress.com does not allow javascript unless from an accepted source. Is there a possibility of adding this source to the list of accepted ones?
    I’m sure a lot of Polish users would appreciate it as the website is very popular.
    Below you can find the code.

    Looking forward to your response,
    Marta

    This is the code I wanted to embed:
    <script id=”lubimyczytacpl-widget” type=”text/javascript”>function lc_async_load(){ var s = document.createElement(‘script’); s.type = ‘text/javascript’; s.async = true; s.src = ‘http://lubimyczytac.pl/_widget/widget.js.php?uid=341786&susername=1&savatar=1&slibrary=1&read=3&want=3&now=3&sborder=1&color=bright&width=220’; var em = document.getElementById(‘lubimyczytacpl-widget’); em.parentNode.insertBefore(s, em); } if (window.attachEvent) window.attachEvent(‘onload’, lc_async_load); else window.addEventListener(‘load’, lc_async_load, false);</script><noscript>Recenzje i opinie książek</noscript>

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    We bloggers cannot post JavaScript on wordpress.COM hosted blogs without the software stripping it out for security reasons.
    https://en.support.wordpress.com/code/

    Add Code to Your Site

  • Unknown's avatar

    I know wordpress.com does not allow javascript unless from an accepted source. Is there a possibility of adding this source to the list of accepted ones?

    The Ideas Forum is where to post your suggestion https://en.forums.wordpress.com/forum/ideas#postform
    However, the likelihood it will be approved is very very low.

  • The topic ‘Adding a Java widget’ is closed to new replies.