Created
August 30, 2017 10:53
-
-
Save anonymous/747fb3b0be8e14dbaefad4e9273b9bf8 to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/poqakasure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | |
<link rel="stylesheet" href="https://codepen.io/dimaslanjaka/pen/prxYXz.css"> | |
<div class="container mt-2"> | |
<form action="javascript:getSearchForm();" class="form-inline" id="searchForm" method="POST"> | |
<div class="input-group"> | |
<input type="search" id="search" class="form-control" onClick="this.select();" value="Search"></input><input type="submit" id="submit" class="input-group-addon" onClick="removeBefore();" value=" Searching" class="icons"></input> | |
</div></form></div><br><hr> | |
<center><span class="success"></span></center> | |
<div class="embed-responsive embed-responsive-16by9"><div class="embed-responsive-item"></div></div> | |
<script id="jsbin-javascript"> | |
function getQueryVariable(variable) { | |
var query = window.location.search.substring(1); | |
var vars = query.split('&'); | |
for (var i = 0; i < vars.length; i++) { | |
var pair = vars[i].split('='); | |
if (pair[0] == variable) { | |
return pair[1]; | |
} | |
} | |
return (false); | |
} | |
var searchq = getQueryVariable('q'); | |
var loadMultipleCss = function(){ | |
loadCss('https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-beta/css/bootstrap.min.css'); | |
loadCss('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'); | |
} | |
var loadCss = function(cssPath){ | |
var cssLink = document.createElement('link'); | |
cssLink.rel = 'stylesheet'; | |
cssLink.href = cssPath; | |
var head = document.getElementsByTagName('head')[0]; | |
head.parentNode.insertBefore(cssLink, head); | |
}; | |
window.addEventListener('load', loadMultipleCss); | |
function proxyFr() | |
{ | |
var prx = [ | |
'https://hortelli.com.br/proxy.php/', | |
'https://www.fromasia.biz/ipk.php/' | |
]; | |
return prx[Math.floor(Math.random() * prx.length)]; | |
} | |
function getSearchForm(){ | |
var protocolHost = 'https'; | |
var hostblog = 'web-manajemen.blogspot.com'; | |
var maxItems = '10'; | |
var borderSearch = 'd4d0c8'; | |
var headerBG = '999999'; | |
var headerTxt = 'ffffff'; | |
var ItemTitleBG = 'f1eded'; | |
var ItemTitleTxt = '000000'; | |
var ItemBG = 'ffffff'; | |
var ItemTxt = '000000'; | |
var search = function(search){ | |
var getVal = document.getElementById("search").value; | |
if ( typeof search !== getVal ) | |
{ | |
return search = getVal; | |
} | |
} | |
$(".success").html("<b style='text-align:center !important; align:center !important'>Search Results of "+search()+"</b>"); | |
var txtsize = 'inherit'; | |
$('<iframe>', { | |
src: proxyFr()+'http://rssdog.com/index.htm?url='+protocolHost+'%3A%2F%2F'+hostblog+'%2Frss.xml%3Fredirect%3Dfalse%26max-results%3D9000&mode=html&showonly='+search()+'&maxitems='+maxItems+'&showdescs=0&desctrim=0&descmax=0&tabwidth=100%25&xmlbtn=1&utf8=1&linktarget=_blank&textsize='+txtsize+'&fullhtml=1&bordercol=%23'+borderSearch+'&headbgcol=%23'+headerBG+'&headtxtcol=%23'+headerTxt+'&titlebgcol=%23'+ItemTitleBG+'&titletxtcol=%23'+ItemTitleTxt+'&itembgcol=%23'+ItemBG+'&itemtxtcol=%23'+ItemTxt+'&ctl=0', | |
id: 'myFrame', | |
class: 'embed-responsive-item', | |
frameborder: 0, | |
height: '100%', | |
width: '100%', | |
//style: 'width:100%; height:500px', | |
scrolling: 'yes' | |
}).appendTo('.embed-responsive-item'); | |
} | |
function removeBefore(){ | |
$(".embed-responsive-item").html(""); | |
} | |
function success(){ | |
document.write('success'); | |
} | |
function prepareFrame() { | |
var ifrm = document.createElement("iframe"); | |
ifrm.setAttribute("src", "https://www.fromasia.biz/ipk.php/http://rssdog.com/index.htm?url=http%3A%2F%2Fweb-manajemen.blogspot.com%2Frss.xml%3Fredirect%3Dfalse%26max-results%3D1000&mode=html&showonly=adsense&maxitems=10&showdescs=0&desctrim=0&descmax=0&tabwidth=100%25&xmlbtn=1&utf8=1&linktarget=_blank&textsize=inherit&fullhtml=1&bordercol=%23d4d0c8&headbgcol=%23999999&headtxtcol=%23ffffff&titlebgcol=%23f1eded&titletxtcol=%23000000&itembgcol=%23ffffff&itemtxtcol=%23000000&ctl=0"); | |
ifrm.style.width = "640px"; | |
ifrm.style.height = "480px"; | |
document.body.appendChild(ifrm); | |
} | |
function button(){ | |
$(".embed").append(prepareFrame()); | |
} | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript"> function getQueryVariable(variable) { | |
var query = window.location.search.substring(1); | |
var vars = query.split('&'); | |
for (var i = 0; i < vars.length; i++) { | |
var pair = vars[i].split('='); | |
if (pair[0] == variable) { | |
return pair[1]; | |
} | |
} | |
return (false); | |
} | |
var searchq = getQueryVariable('q'); | |
var loadMultipleCss = function(){ | |
loadCss('https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-beta/css/bootstrap.min.css'); | |
loadCss('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'); | |
} | |
var loadCss = function(cssPath){ | |
var cssLink = document.createElement('link'); | |
cssLink.rel = 'stylesheet'; | |
cssLink.href = cssPath; | |
var head = document.getElementsByTagName('head')[0]; | |
head.parentNode.insertBefore(cssLink, head); | |
}; | |
window.addEventListener('load', loadMultipleCss); | |
function proxyFr() | |
{ | |
var prx = [ | |
'https://hortelli.com.br/proxy.php/', | |
'https://www.fromasia.biz/ipk.php/' | |
]; | |
return prx[Math.floor(Math.random() * prx.length)]; | |
} | |
function getSearchForm(){ | |
var protocolHost = 'https'; | |
var hostblog = 'web-manajemen.blogspot.com'; | |
var maxItems = '10'; | |
var borderSearch = 'd4d0c8'; | |
var headerBG = '999999'; | |
var headerTxt = 'ffffff'; | |
var ItemTitleBG = 'f1eded'; | |
var ItemTitleTxt = '000000'; | |
var ItemBG = 'ffffff'; | |
var ItemTxt = '000000'; | |
var search = function(search){ | |
var getVal = document.getElementById("search").value; | |
if ( typeof search !== getVal ) | |
{ | |
return search = getVal; | |
} | |
} | |
$(".success").html("<b style='text-align:center !important; align:center !important'>Search Results of "+search()+"</b>"); | |
var txtsize = 'inherit'; | |
$('<iframe>', { | |
src: proxyFr()+'http://rssdog.com/index.htm?url='+protocolHost+'%3A%2F%2F'+hostblog+'%2Frss.xml%3Fredirect%3Dfalse%26max-results%3D9000&mode=html&showonly='+search()+'&maxitems='+maxItems+'&showdescs=0&desctrim=0&descmax=0&tabwidth=100%25&xmlbtn=1&utf8=1&linktarget=_blank&textsize='+txtsize+'&fullhtml=1&bordercol=%23'+borderSearch+'&headbgcol=%23'+headerBG+'&headtxtcol=%23'+headerTxt+'&titlebgcol=%23'+ItemTitleBG+'&titletxtcol=%23'+ItemTitleTxt+'&itembgcol=%23'+ItemBG+'&itemtxtcol=%23'+ItemTxt+'&ctl=0', | |
id: 'myFrame', | |
class: 'embed-responsive-item', | |
frameborder: 0, | |
height: '100%', | |
width: '100%', | |
//style: 'width:100%; height:500px', | |
scrolling: 'yes' | |
}).appendTo('.embed-responsive-item'); | |
} | |
function removeBefore(){ | |
$(".embed-responsive-item").html(""); | |
} | |
function success(){ | |
document.write('success'); | |
} | |
function prepareFrame() { | |
var ifrm = document.createElement("iframe"); | |
ifrm.setAttribute("src", "https://www.fromasia.biz/ipk.php/http://rssdog.com/index.htm?url=http%3A%2F%2Fweb-manajemen.blogspot.com%2Frss.xml%3Fredirect%3Dfalse%26max-results%3D1000&mode=html&showonly=adsense&maxitems=10&showdescs=0&desctrim=0&descmax=0&tabwidth=100%25&xmlbtn=1&utf8=1&linktarget=_blank&textsize=inherit&fullhtml=1&bordercol=%23d4d0c8&headbgcol=%23999999&headtxtcol=%23ffffff&titlebgcol=%23f1eded&titletxtcol=%23000000&itembgcol=%23ffffff&itemtxtcol=%23000000&ctl=0"); | |
ifrm.style.width = "640px"; | |
ifrm.style.height = "480px"; | |
document.body.appendChild(ifrm); | |
} | |
function button(){ | |
$(".embed").append(prepareFrame()); | |
}</script></body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getQueryVariable(variable) { | |
var query = window.location.search.substring(1); | |
var vars = query.split('&'); | |
for (var i = 0; i < vars.length; i++) { | |
var pair = vars[i].split('='); | |
if (pair[0] == variable) { | |
return pair[1]; | |
} | |
} | |
return (false); | |
} | |
var searchq = getQueryVariable('q'); | |
var loadMultipleCss = function(){ | |
loadCss('https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-beta/css/bootstrap.min.css'); | |
loadCss('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'); | |
} | |
var loadCss = function(cssPath){ | |
var cssLink = document.createElement('link'); | |
cssLink.rel = 'stylesheet'; | |
cssLink.href = cssPath; | |
var head = document.getElementsByTagName('head')[0]; | |
head.parentNode.insertBefore(cssLink, head); | |
}; | |
window.addEventListener('load', loadMultipleCss); | |
function proxyFr() | |
{ | |
var prx = [ | |
'https://hortelli.com.br/proxy.php/', | |
'https://www.fromasia.biz/ipk.php/' | |
]; | |
return prx[Math.floor(Math.random() * prx.length)]; | |
} | |
function getSearchForm(){ | |
var protocolHost = 'https'; | |
var hostblog = 'web-manajemen.blogspot.com'; | |
var maxItems = '10'; | |
var borderSearch = 'd4d0c8'; | |
var headerBG = '999999'; | |
var headerTxt = 'ffffff'; | |
var ItemTitleBG = 'f1eded'; | |
var ItemTitleTxt = '000000'; | |
var ItemBG = 'ffffff'; | |
var ItemTxt = '000000'; | |
var search = function(search){ | |
var getVal = document.getElementById("search").value; | |
if ( typeof search !== getVal ) | |
{ | |
return search = getVal; | |
} | |
} | |
$(".success").html("<b style='text-align:center !important; align:center !important'>Search Results of "+search()+"</b>"); | |
var txtsize = 'inherit'; | |
$('<iframe>', { | |
src: proxyFr()+'http://rssdog.com/index.htm?url='+protocolHost+'%3A%2F%2F'+hostblog+'%2Frss.xml%3Fredirect%3Dfalse%26max-results%3D9000&mode=html&showonly='+search()+'&maxitems='+maxItems+'&showdescs=0&desctrim=0&descmax=0&tabwidth=100%25&xmlbtn=1&utf8=1&linktarget=_blank&textsize='+txtsize+'&fullhtml=1&bordercol=%23'+borderSearch+'&headbgcol=%23'+headerBG+'&headtxtcol=%23'+headerTxt+'&titlebgcol=%23'+ItemTitleBG+'&titletxtcol=%23'+ItemTitleTxt+'&itembgcol=%23'+ItemBG+'&itemtxtcol=%23'+ItemTxt+'&ctl=0', | |
id: 'myFrame', | |
class: 'embed-responsive-item', | |
frameborder: 0, | |
height: '100%', | |
width: '100%', | |
//style: 'width:100%; height:500px', | |
scrolling: 'yes' | |
}).appendTo('.embed-responsive-item'); | |
} | |
function removeBefore(){ | |
$(".embed-responsive-item").html(""); | |
} | |
function success(){ | |
document.write('success'); | |
} | |
function prepareFrame() { | |
var ifrm = document.createElement("iframe"); | |
ifrm.setAttribute("src", "https://www.fromasia.biz/ipk.php/http://rssdog.com/index.htm?url=http%3A%2F%2Fweb-manajemen.blogspot.com%2Frss.xml%3Fredirect%3Dfalse%26max-results%3D1000&mode=html&showonly=adsense&maxitems=10&showdescs=0&desctrim=0&descmax=0&tabwidth=100%25&xmlbtn=1&utf8=1&linktarget=_blank&textsize=inherit&fullhtml=1&bordercol=%23d4d0c8&headbgcol=%23999999&headtxtcol=%23ffffff&titlebgcol=%23f1eded&titletxtcol=%23000000&itembgcol=%23ffffff&itemtxtcol=%23000000&ctl=0"); | |
ifrm.style.width = "640px"; | |
ifrm.style.height = "480px"; | |
document.body.appendChild(ifrm); | |
} | |
function button(){ | |
$(".embed").append(prepareFrame()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment