Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 12-26-2015, 11:50 AM   #1
Beta Member
 
Join Date: Mar 2015
Location: nowhere
Posts: 4
Default Putting HTML from outside sources into my blog

I've read that putting HTML/JAVASCRIPT codes from 3rd parties sites that are not integrated with (eg Paypal, Flickr,Amazon...) into my blog enables them to truck and hack my blog .
Sometimes I have to put html/javascript codes from 3rd parties sites because these codes are useful.
Please guys tell me if there's a way out there that let me know if the code from 3rd parties sites are risky or not?
Thank you in advance
My regards
__________________

happydz is offline   Reply With Quote
Old 12-27-2015, 08:14 AM   #2
Fully Optimized
 
Draygoes's Avatar
 
Join Date: Nov 2014
Location: United States
Posts: 1,653
Default Re: Putting HTML from outside sources into my blog

In most cases, you would not have anything to worry about.
However, I will state that you should learn at least enough to know a bit about what you are looking at.
I have never heard of an attack using this method, and I am not sure that it is possible but I have been wrong before.
__________________

__________________
Will have a youtube channel up soon. Link will be here if I remember.
Draygoes is offline   Reply With Quote
Old 12-27-2015, 02:05 PM   #3
Beta Member
 
Join Date: Mar 2015
Location: nowhere
Posts: 4
Default Re: Putting HTML from outside sources into my blog

Thank you for your feedback
Please note that I am on blogger.com (not hosted platform) and I usually put HTML/JAVASCRIPT from 3rd party sites and I don't have enough skills in programming so that I can be sure whether these codes are safe or not. For example, I copy and put html/javascript code of (related posts gadget or social media buttons ...else) or other codes of any gadget from 3rd party sites, take a look at the following code of a social media buttons and tell me what you think, although I tried to change the script but the code wont work eventually, so how to use this code and prevent 3rd party from trucking me with their script?

Here is the code of the gadget:
Code:
<div class="a2a_kit a2a_kit_size_50 a2a_floating_style a2a_vertical_style" style="left:80px; top:150px;">
    <a class="a2a_button_facebook"></a>
    <a class="a2a_button_twitter"></a>
    <a class="a2a_button_google_plus"></a>
    <a class="a2a_button_pinterest"></a>
    <a class="a2a_dd" href="https://www.addtoany.com/share"></a>
</div>

<script type="text/javascript" src="//static.addtoany.com/menu/page.js"></script>
happydz is offline   Reply With Quote
Reply

Tags
html, javascript

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 07:13 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0