Apr. 10th, 2009

dracodraconis: (Default)

Girl with Y chromosome sheds light on maleness - life - 09 April 2009 - New Scientist

A 7-year-old girl has Y-chromosome but none of the defects normally associated with it. Instead, doctors believe that she has a mutation in the CBX2 gene of chromosome 17. The gene's function is poorly understood, but they believe CBX2 shuts down SRY which is critical to male sexual development. Mice without CBX2 are normally sterile so time will tell if she will have the same problem.
dracodraconis: (Default)
I just arrived at Dreamwidth yesterday and have, so far, been rather impressed. One of the features I missed, however, was the bookmarklet javascript for auto-posting. I've gerry-rigged the LJ javascript function to perform the same function for dreamwidth:


javascript:void((function(){var%20u='http://www.dreamwidth.org/',w=window.open('','','toolbar=0,resizable=1,scrollbars=1,status=1,width=1000,height=500');if(window.LJ_bookmarklet){return%20LJ_bookmarklet(w,u)};var%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.onload=function(){LJ_bookmarklet(w,u)};e.setAttribute('src',u+'js/bookmarklet.js');document.getElementsByTagName('head').item(0).appendChild(e)})())


Create a bookmark in your browser and in the URL field cut-and-paste the above script. One of the biggest changes that is needed is to replace the http://www.livejournal.com/js/bookmarklet.js javascript code residing either locally or on a DW server rather than on the LJ server. I'll continue to play with this to see what I come up with.

If anyone makes any improvements to this script, please let me know and I'll update this post with appropriate cudos.

Edit:
Found a bug with the method; it only works if you have run the script to post to LJ at least once in this session. Not a big problem at the moment because I'm posting to both so I just post to LJ first, then to DW, but this is certainly not a long-term solution.

Edit 2: Now testing some locally-running javascript to attempt to perform the same function but so far no-go.

January 2010

S M T W T F S
     1 2
3456789
10111213141516
17181920212223
24252627282930
31      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags