Commit c8d2e0f0 authored by Matthias Cramer's avatar Matthias Cramer
Browse files

replaced append with html

parent d5f0ca99
......@@ -8,7 +8,7 @@ $.getJSON("https://ip6.ch/hostinfo.php?h="+domain, // +"&x=" + Math.random(),
function(data) {
var result = data;
//console.log("AS: " + result.asnum + " IP: "+ result.ip);
$('#__originASmainbox').append("AS: " + result.asnum +" ("+result.asname.name+")"+
$('#__originASmainbox').html("AS: " + result.asnum +" ("+result.asname.name+")"+
"<br/>IP: "+ result.ip +
"<br/>Location: " + result.location.country_name
);
......
{
"manifest_version": 2,
"name": "originAS",
"version": "2.0.0",
"version": "2.0.1",
"description": "Looks up the origin AS for the current Website.\nIt will insert a small box with the infos on the bottom right corner.",
"background": {
"scripts": ["index.js"],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment