![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
![]() For most of you this is likely useless but someone might find it handy.
Basically what this script does is alters what a user copies from your site. So lets say you have a news site or recipe site for example , and surfer comes and copies your text to repost on his blog etc, this script will alter what the user copies and add a linkback to your site in html code, or add whatever you want as a footnote. p.s. only works for i.e. users, other browsers copy is disabled Code:
<SCRIPT type="text/javascript"> var bResult; function fC(){ event.returnValue = false; var cstr=document.selection.createRange().text; bResult = window.clipboardData.setData("Text",cstr + " Courtesy of <a href='"+document.location.href+"'>"+document.title+"</a>"); } </script> <div oncopy="fC();"> this text is now protected, this text is now protected </div>
__________________
hatisblack at yahoo.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
aliasx
Join Date: Apr 2001
Posts: 19,010
|
Cool, thanks.
__________________
https://porncorporation.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: May 2006
Posts: 4,665
|
I've just copied and pasted in Firefox OK
Edit: And IE. Full text pasted as per the original and no 'contributed by' link added either. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Too lazy to set a custom title
Industry Role:
Join Date: Dec 2004
Location: Happy in the dark.
Posts: 93,007
|
This one needs a lil' bump...
__________________
FLASH SALE INSANITY! deal with a 100% Trusted Seller Buy Traffic Spots on a High-Quality Network 1 Year or Lifetime — That’s Right, Until the Internet Explodes! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
ICQ:649699063
Industry Role:
Join Date: Mar 2003
Posts: 27,763
|
Can "Viewing Source" be disabled, too?
__________________
Send me an email: [email protected] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Nov 2005
Location: Spain :)
Posts: 2,231
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Aug 2003
Location: Canada
Posts: 2,310
|
It doesn't work for Google Chrome..
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |