Help - Search - Members - Calendar
Full Version: Smileys
Suggest A Fix PC Support Forums > General Computing > The Graphics Gallery
Webster
compute.gif Greetings,



I found a site with lots of smileys, but when I right click and do a (save picture as)

I get this message " Do you want to allow this page to paste information from your clipboard"

Am I flirting with a potential virus situation here? This is the site I am refering too. HERE

Thanks

LF from MC
First Webster, I would forget that site..I get the samething, I'm not sure what kind of site it is..it looks like it doesn't want you to save their Smilies, unless you give them something in return...there are a lot of good sites around, and I know Jim had a good one...Maybe I can find it.

Will be back.
Marcia
Must be the browser your using. I'm not getting anything like that. Are you using IE7? I use Firefox. I don't understand why its saying paste from your clipboard. Your clipboard is where you save things to. beatsme.gif Lorraine is right, though. There are lots of different smile sites out there.
LF from MC
Here is a link that Angus had giving us..Smilies

Will try to find another and add it here. This one is from Jim, you have to scroll down to see them...More Smilies

Sorry Marcia, I'm using IE7...I don't like the looks of that link, It could be ok, but not taking any chances.
Webster
Thanks Lorraine and Marcia, thanks.gif

I did have a funny feeling about the message saying "from your clipboard".

Not especially looking for trouble. I will try the links you gave Lorraine.

BTW Marcia, I did get the Solitaire game loaded, thanks.



Webster

Marcia
QUOTE(Webster @ Feb 5 2007, 07:13 PM) *

BTW Marcia, I did get the Solitaire game loaded, thanks.

Webster

Good! smile.gif
LF from MC
You're welcome Webster yes.gif
phzzz
Just so you understand, Webster...

The site you initially inquired about where you have suspicions/concerns about a virus, you need not be concerned about. They are using a script, that although intended to stop people from right-clicking to save smiley images, is incorrectly coded and does not stop people using non-IE browsers (eg: Firefox) from saving the images.

This is the incorrectly coded javascript in use on that page...

CODE
<script type="text/javascript" language="javascript">

  function traitesmiley(url) {
  
    var affalert = document.optionalert.alertbox.checked;
    var pastinfo = '[url=http:\/\/www.vegegifs.com][img]'+url+'[\/img][\/url]';
  
     var copyText = pastinfo;
     if (window.clipboardData) { // IE send-to-clipboard method.
          window.clipboardData.setData('Text', copyText);
          
     } else if (window.netscape) {
          // You have to sign the code to enable this or allow the action in about:config by changing user_pref("signed.applets.codebase_principal_support", true);
          netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');

          // Store support string in an object.
          var str = Components.classes["@mozilla.org/supports-string;1"].createInstance (Components.interfaces.nsISupportsString);
          if (!str) return false;
          str.data=copyText;
          
          // Make transferable.
          var trans = Components.classes["@mozilla.org/widget/transferable;1"].createInstance (Components.interfaces.nsITransferable);
          if (!trans) return false;
          
          // Specify what datatypes we want to obtain, which is text in this case.
          trans.addDataFlavor("text/unicode");
          trans.setTransferData("text/unicode",str,copyText.length*2);
          
          var clipid=Components.interfaces.nsIClipboard;
          var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
          if (!clip) return false;
          
          clip.setData(trans,null,clipid.kGlobalClipboard);
     }

    if (affalert == true) { alert('Le Lien a été copié, pour utiliser Edition/Coller ou Crtl-V \n'); }
    return true;
  }


</script>


There are 2 ways to overcome the problem with acquiring smiley images on that page, when using browsers that utilize the IE engine...

1) Use a 'good' browser instead of the crappy IE browser to visit that page (eg: Mozilla Firefox)

2) View the source code to the page by opening it in a text editor (eg: Windows Notepad or Editpad). Locate and then eliminate/delete the javascript code I posted above from the page source code, but also include a BASE HREF tag immediately following the beginning <html> tag, and immediately preceding the beginning <head> tag in the page source code, referencing the site source, like so...
<base href="http://www.vegegifs.com/">
Then save the page locally on your hard drive. Open the modified page in the IE browser (or any browser really). From that point forward, right-click 'Save as' or 'Save target as' or 'Save picture as' actions will be back to 'normal'.

The 2nd method will allow you to use the crappy IE browser to acquire smiley images from the source site, when you open your 'modified' page that you have saved locally on your hard drive (providing that you have an internet connection).

*Disclaimer: the 2nd method I described above is intended for reference only. Any images or other content located at http://www.vegegifs.com/ may/may not be copyrighted and all rights remain reserved by the respective authors.
Webster
compute.gif WOW !

Thank you so much Nunzio390, I sure got an eye excercise looking for the script to delete. How does anyone make sense out of all that jiber jabber? Good thing we have people like you to know this stuff.

I did what you suggested for the fun of it, sure was interesting, and it worked in IE. thumb up.gif

My question now is how do I know what smileys are copy protected? Will they just not save when I do a save as? I only wanted a few of them, not the whole collection.

Thanks again for taking the time to answer my post. thanks.gif

Webster
ps: I need to open that file each time I go to that site, is that how it is suppose to work, or did I do something wrong?


busterb
To save smilies from that page, you need a place to post, then right click and save as. The riight click just saves the code to link to smile. This link is to testing post, so I could see if it worked.
http://www.suggestafix.com/index.php?showt...pid=174620&
busterb
IPB Image
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.