Hack Forums
Need Help Editing A Landing Page [HTML + CSS] - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Webmasters (https://hackforums.net/forumdisplay.php?fid=141)
+---- Forum: Website Construction (https://hackforums.net/forumdisplay.php?fid=50)
+---- Thread: Need Help Editing A Landing Page [HTML + CSS] (/showthread.php?tid=5659665)



Need Help Editing A Landing Page [HTML + CSS] - Cypical - Jul 1, 2017

Been ALL fking morning and I still can't fucking figure out what it is that's not allowing me to access script after "#document"

If anyone can help me, I've clearly showed everything here:

[Image: HTMLSpotify.png] [Image: HTMLSpotify2.png] [Image: HTMLSpotify3.png]


* - Mycroft Holmes - Jul 1, 2017

You may have a better lack if you post this in Website Construction sub-forum.

People will help you out there.


* - Lone - Jul 1, 2017

What you are trying to accomplish is not very clear to me


* - Rushax - Jul 1, 2017

view-source:[insert url]
Copy and paste into a text editor.
Find the snippet you want to edit and save?

You'll see all the code as it's being brought in through an iframe and not from the DOM.


* - Cypical - Jul 1, 2017

(Jul 1, 2017 03:16 PM)Rushax Wrote:  view-source:[insert url]
Copy and paste into a text editor.
Find the snippet you want to edit and save?

You'll see all the code as it's being brought in through an iframe and not from the DOM.

Crap.

Still doesn't show the iframe code :[


* - Nutsy - Jul 1, 2017

(Jul 1, 2017 03:27 PM)Cypical Wrote:  Crap.

Still doesn't show the iframe code :[

Still haven't contacted me about twitch prime


* - grady - Jul 1, 2017

It's in an iFrame, you literally cannot edit what's in it, but you can call functions within that iframe's page, given:
  • They're on the same domain

  • They're both on https or http



Source


* - Charger - Jul 1, 2017

(Jul 1, 2017 03:32 PM)๖ۣۜInfamy Wrote:  It's in an iFrame, you literally cannot edit what's in it, but you can call functions within that iframe's page, given:
  • They're on the same domain

  • They're both on https or http



Source

Actually you can edit the contents with jQuery.


* - Cypical - Jul 1, 2017

(Jul 1, 2017 03:36 PM)Charger Wrote:  Actually you can edit the contents with jQuery.

There's already a jQuery script in the website folder but there isn't anything about the style of the iframe.

Not sure if this is helpful at all.


* - grady - Jul 1, 2017

(Jul 1, 2017 03:36 PM)Charger Wrote:  Actually you can edit the contents with jQuery.

mb, didn't mean to phrase it like that
because of security policies, you can't edit it unless it follow the two conditions that I mentioned above**


* - Cypical - Jul 1, 2017

(Jul 1, 2017 03:32 PM)๖ۣۜInfamy Wrote:  It's in an iFrame, you literally cannot edit what's in it, but you can call functions within that iframe's page, given:
  • They're on the same domain

  • They're both on https or http



Source

What a legend. Such a cool dude.

If I had UB3R, I'd +3 you right away.

This user helped me solve my problem (which my retard self didn't notice) lmao.