Add document.title to attribution javascript $10-30 USD $10-30 USD Paid on delivery
I need to add [login to view URL] in this javascript that need to add a copyright notice to copied text. After "read more" I need to eho url and title of the page.
Here is the script to update:
<script type="text/javascript">
function addLink() {
var body_element = [login to view URL]('body')[0];
var selection;
selection = [login to view URL]();
var pagelink = "<br /><br /> Read more at: <a href='"+document.location.href+"'>"+document.location.href+"</a><br />Copyright © [login to view URL]"; // change this if you want
var copytext = selection + pagelink;
var newdiv = [login to view URL]('div');
newdiv.style.position='absolute';
newdiv.style.left='-99999px';
[login to view URL](newdiv);
[login to view URL] = copytext;
[login to view URL](newdiv);
[login to view URL](function() {
[login to view URL](newdiv);
},0);
}
[login to view URL] = addLink;
</script>
Project ID: 7186925
About the project 5 proposals
Remote project
Active 9 yrs ago
Looking to make some money? Email address Apply for similar jobs Benefits of bidding on Freelancer Set your budget and timeframe
It's free to sign up and bid on jobs
5 freelancers are bidding on average $22 USD for this job
HELLO, I CAN DO THIS TASK. LETS DISCUSS FURTHER. THANKS - VANAJA ..........................................................................................................
$25 USD in 1 day
5.0 (8 reviews) Hi. Hope you are fine, I have great experience in javascript and I can do this with perfection. You can have a look at my reviews. PM me further discussion. Thanks
$25 USD in 1 day
5.0 (4 reviews) A proposal has not yet been provided
$25 USD in 1 day
5.0 (1 review) I can do the work in few minutes , please revert .
Thanks,
.....................................................................................
$20 USD in 1 day
0.0 (1 review)