Very new to all this

53 views
Skip to first unread message

royzie

unread,
May 30, 2012, 11:21:47 AM5/30/12
to Firebug
I need to change the Google ad code on our home page. I'm on Firefox
and Mac. I followed the instructions and got Firebug downloaded,
clicked on 'Inspect elements' and got a split screen, with the website
in the top half and some html in the bottom half. It on;y shows the
top bit of the html, not as far down the page as the Google ad code.
There doesn't seem any way to view the rest of the page by scrolling
etc.

Any hints or tips?

Many thanks

royzie

unread,
May 30, 2012, 11:21:01 AM5/30/12
to Firebug

Jan Honza Odvarko

unread,
May 31, 2012, 3:13:58 AM5/31/12
to Firebug
What Firebug and Firefox version do you use?

Did you pick "Inspect Element with Firebug" or "Inspect Element"?

Can you attach a screenshot (or link to a screenshot)?

Honza

Sebastian Zartner

unread,
May 31, 2012, 7:02:01 AM5/31/12
to fir...@googlegroups.com
Also please note, we have a wiki, which explains a lot of things about Firebug.

Sebastian

Roy Comfort

unread,
Jun 3, 2012, 3:29:58 PM6/3/12
to fir...@googlegroups.com
Hello Jan.

I am not now getting the same split screen but otherwise am no further forward with my task.

I have Firefox 3.6.28. Being on a dual processor power PC Mac G5, I can't upgrade to Chrome, hence great value of Firebug, which is version 1.7.3.

My little objective is to remove the Google ad html text on the homepage, as I am transferring ownership of the account from the web person back to the organisation. If I click on 'view source', I can see all the html for the homepage, including the Google ads bit that I need to remove. However, when I go into Firebug to do so, it only shows the html down to the foot of the last word on the page, it doesn't go down as far as the Google ad code.

The Firebug documentation seems to suggest that I can do that with the little arrow in the console. But it doesn't go any further down the page. (It was also switched off and thinks I should 'reload' it, whatever that involves, ditto the DOM tab).

So basic problem one is that I can't get to the relevant code to edit it.

Basic problem two is that there is not really an explanation for any of this that I can find in the program or documentation. I have looked at the Wiki Sebastian and at Rob's video but am none the wiser!  I appreciate that you good folk are enthusiastic IT developers writing for other IT developers. For the weary layman just trying to change a bit of html, it is not so straightforward at all and the risk of crashing or dismembering my site is a lot higher.

Any ideas for how one reaches the html code at the foot of the page would be much appreciated.





--
You received this message because you are subscribed to the Google
Groups "Firebug" group.
To post to this group, send email to fir...@googlegroups.com
To unsubscribe from this group, send email to
firebug+u...@googlegroups.com
For more options, visit this group at
https://groups.google.com/forum/#!forum/firebug



--
_______________________________________________

Comfort-Faktor
Creative Marketing Communications
83b Crescent Lane Clapham London SW4 9PT
T:  020 7498 1884
E:  in...@comfort-faktor.com

Sebastian Zartner

unread,
Jun 3, 2012, 5:39:23 PM6/3/12
to fir...@googlegroups.com
I have Firefox 3.6.28. Being on a dual processor power PC Mac G5, I can't upgrade to Chrome, hence great value of Firebug, which is version 1.7.3.
You should update your Firefox. 3.6 is very much outdated. The current version is 12. Also the current version of Firebug version is 1.9.2.


My little objective is to remove the Google ad html text on the homepage, as I am transferring ownership of the account from the web person back to the organisation. If I click on 'view source', I can see all the html for the homepage, including the Google ads bit that I need to remove. However, when I go into Firebug to do so, it only shows the html down to the foot of the last word on the page, it doesn't go down as far as the Google ad code.

Firebug is just working on the client side. It can't change the HTML or scripts on the server.
When you need to remove the Google ad you need to have access to the files on the server and remove the parts there. The description how to add and remove Google adverts from your page can be found at their site. I don't have the name of the script in mind, but it must be one <script> tag you have to remove from the site.

Sebastian

royzie

unread,
Jun 4, 2012, 5:24:39 AM6/4/12
to Firebug
Thanks Sebastian

Sebastian Zartner wrote:
>
> "You should update your Firefox. 3.6 is very much outdated. The current version is 12".

Can't on a PowerPC processor Mac G5, Firefox recently stopped
supporting them. No upgrades beyond 3.6, no Chrome. However, doubt I
will junk $2500 worth of kit to fit in with Firefox!

"Also the current version of Firebug version is 1.9.2."

I only downloaded the program from the Firebug site a week ago, it
says it's 1.7.3. I didn't see an option to load a newer version, was
there one?
>
>"Firebug is just working on the client side. It can't change the HTML or scripts on the server."

Thanks for that clarification. I was misled by the promotional text:
"Thanks Sebastian

Sebastian Zartner wrote:
>
> "You should update your Firefox. 3.6 is very much outdated. The current
> version is 12".

Can't on a PowerPC processor Mac, Firefox has stopped supporting them.
No upgrades beyond 3.6, no Chrome. Should I junk $2500 worth of kit to
fit in with Firefox? Maybe not!

"Also the current version of Firebug version is 1.9.2."

Well, I just downloaded the program from the Firebug site a week ago,
it says it's 1.7.3. I didn't see an option to load a newer version, is
there one?
>
>"Firebug is just working on the client side. It can't change the HTML or scripts on the server."

Thanks for that clarification. I must have been misled by the
promotional text: "Firebug integrates with Firefox to put a wealth of
web development tools at your fingertips while you browse. You can
EDIT, debug, and monitor CSS, HTML, and JavaScript live in any web
page." I am older and wiser, if wearier.

Thanks for the tip, I will see if I have better luck editing the
Adsense script tag on our server.



On Jun 3, 10:39 pm, Sebastian Zartner
<sebastianzart...@googlemail.com> wrote:
> > I have Firefox 3.6.28. Being on a dual processor power PC Mac G5, I can't
> > upgrade to Chrome, hence great value of Firebug, which is version 1.7.3.
>
> You should update your Firefox. 3.6 is very much outdated. The current
> version is 12. Also the current version of Firebug version is 1.9.2.
>
> My little objective is to remove the Google ad html text on the homepage,
>
> > as I am transferring ownership of the account from the web person back to
> > the organisation. If I click on 'view source', I can see all the html for
> > the homepage, including the Google ads bit that I need to remove. However,
> > when I go into Firebug to do so, it only shows the html down to the foot of
> > the last word on the page, it doesn't go down as far as the Google ad code.
>
> Firebug is just working on the client side. It can't change the HTML or
> scripts on the server.
> When you need to remove the Google ad you need to have access to the files
> on the server and remove the parts there. The description how to add and
> remove Google adverts from your page can be found at their site<http://www.google.com/intl/en/ads/>.

Sebastian Zartner

unread,
Jun 4, 2012, 7:02:47 AM6/4/12
to fir...@googlegroups.com
Sebastian Zartner wrote:
>
> "You should update your Firefox. 3.6 is very much outdated. The current
> version is 12".

Can't on a PowerPC processor Mac, Firefox has stopped supporting them.
No upgrades beyond 3.6, no Chrome. Should I junk $2500 worth of kit to
fit in with Firefox? Maybe not!
Well, there are thousands of cheaper alternatives. But that's nothing to discuss here.
 
"Also the current version of Firebug version is 1.9.2."

Well, I just downloaded the program from the Firebug site a week ago,
it says it's 1.7.3. I didn't see an option to load a newer version, is
there one?
I forgot to mention that Firefox 3.6 is just supporting Firebug up to 1.7.3, which is btw. also not supported by us anymore. Firebug 1.9.2 requires Firefox 5.0 or higher. See the version history.
 
>"Firebug is just working on the client side. It can't change the HTML or scripts on the server."

Thanks for that clarification. I must have been misled by the
promotional text: "Firebug integrates with Firefox to put a wealth of
web development tools at your fingertips while you browse. You can
EDIT, debug, and monitor CSS, HTML, and JavaScript live in any web
page." I am older and wiser, if wearier.
Well, you can edit the CSS and HTML of the page, but the changes are just local and will be gone as soon as you reload the page. Though there are some Firebug extensions like FireFile and cssUpdater, which let you at least synchronize CSS changes back to the server. But HTML output is normally dynamically created via a server-side script and the browser (and therefore Firebug) doesn't have access to these files.
Btw. that's the same for all web dev tools running inside the browser.

Thanks for the tip, I will see if I have better luck editing the Adsense script tag on our server.
It shouldn't be too hard to do that. If you have problems, though, I'm sure the Google support can help you out.

Sebastian
Reply all
Reply to author
Forward
0 new messages