Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

Automatic Inspect Element?

10Fold

New Coder
Hi,

I was wondering whether it is possible to set up code that automatically modifies a website (using inspect element) based on if statements. If so, how would I go about coding this? I'm very new to coding but I'm committed to learn and improve.
Thanks in advance.

- Ryan
 
Hey Ryan and welcome,

One really key question to this, Is this your site? or someone else?

If this is yours we could easy do some PHP if statements, if its someone elses you cannot edit it for the whole world to see but you could scrape the website then run it through some regex/If comands in PHP or python so you can see the changes.
 
Hey Ryan and welcome,

One really key question to this, Is this your site? or someone else?

If this is yours we could easy do some PHP if statements, if its someone elses you cannot edit it for the whole world to see but you could scrape the website then run it through some regex/If comands in PHP or python so you can see the changes.
Hi, it would be on someone else's site and modifications would only be seen by the user. My intention was to covert prices on sites to the hours it would take the user to earn the given amount. Unfortunately, there are already a few examples of this on the chrome web store such as "Time Is Money" (https://chrome.google.com/webstore/...pbnomdcjmoepangldchpmjhkeendl?ref=producthunt). Due to the saturated market, I've decided to abandon the project. Still, it was interesting to know how it can be done! Thank you for your help!
 
no worries, if you do decide to go ahead what i would maybe suggest to make you stand out is to scrape the data, do the changes then get users to login to your site to the see the changes :)
 

New Threads

Latest posts

Buy us a coffee!

Back
Top Bottom