Dynadot Black Friday and Cyber Monday 2026: save more on domains. See our sales.

JavaScript Question

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch

snike

Established Member
Impact
3
I wanted to make a thing where people put a code on their site and that code prints a page from my site. Can I do that using javascript?

I will be link a advertising site.
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
You could try the <iframe> tag. If the person is using .php (not so unlikely), the require(); tag is useful. for .shtml (very unlikely), #include does the job (i think)
 
0
Close
thats not exactly what i am looking for. I figured out the basics. I have this:
document.write("<a href=http://www.emeraldfeathers.com/>Emerald Feathers</a><br>hello");

how do i get it so that a randon banner shows up?
 
0
Close
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

New: watch any domain
You can now watch domains on NamePros. We check each one and notify you when something changes. Search for a domain and press Watch on...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back