Add document.title to attribution javascript $10-30 USD Data postării: circa 9 ani în urmă
$10-30 USD Plata la predare
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>
ID-ul proiectului: 7186925
Despre proiect 5 propuneri
Proiect la distanță
Activ: 9 ani în urmă
Vrei să câștigi bani? Adresa de e-mail Aplică la proiecte similare Avantajele de a licita pe platforma Freelancer Stabilește bugetul și intervalul temporal
Îți primești plata pentru serviciile prestate
Evidențiază-ți propunerea
Te înregistrezi și licitezi gratuit pentru proiecte
5 freelanceri plasează o ofertă medie de $22 USD pentru proiect
HELLO, I CAN DO THIS TASK. LETS DISCUSS FURTHER. THANKS - VANAJA ..........................................................................................................
$25 USD în 1 zi
5,0 (8 recenzii) 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 în 1 zi
5,0 (4 recenzii) A proposal has not yet been provided
$25 USD în 1 zi
5,0 (1 recenzie) I can do the work in few minutes , please revert .
Thanks,
.....................................................................................
$20 USD în 1 zi
0,0 (1 recenzie)