![]() |
Help with some code
This one should be quite simple but i'm struggling to get it right. I need a button with an input to take a number and store it into a domain. Like the ccbill thing you see where you put your number in and it will replace:
whateverdomain.com/xxxxxxalidland to whateverdomain.com/123456alidland Ive tried javascript getElementByID but as i'm storing the button input as a variable it always comes up wrong I keep getting value="whatever" replacing the whole domain I know I could use php to echo a variable into the code but i'm not sure if this can be implemented into a wordpress page can it? Would I have to build a plugin? Any help would be appreciated |
Code:
<p>So this would be the paragraph and<span id="your_paragraph">THIS</span>is the word to be changed</p> |
Quote:
. |
Quote:
|
What is the purpose? Hide the affiliate links?
Googlebot has been proven to read and execute JavaScript now -- if that is the purpose it is a waste of time. This may work for inserting php code -- not an endorsement -- use at your own risk. https://adinserter.pro/about |
Quote:
|
Quote:
Is that true ? Ive often wondered Sorry off topic i know |
Quote:
My old JS 'you better have my cookie' script was detected by Google and all of those pages ended up delisted (I think so) a couple of years ago when this news was disclosed. Harder to run googlebot in circles these days. Time to develop anti-googlebot warfare and lots of cheap new gTLD domains on cloud VPS servers that will have new ips. Today most big hosts are multinational with multi IP 'A - B' blocks -- problem is the AS blocks (ASN) are assigned to the Hosting Co. So does Google check AS blocks now? IDK. |
All times are GMT -7. The time now is 03:23 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc