.

Firebug and javascript

<<

borsodas

Post Thu Feb 12, 2009 4:39 pm

Firebug and javascript

i know how to edit javascript and html and css, on the actual page just by going to inspect element, but what about external javascript files, or code in the DOM tag or in the javascript tag, i can't seem to edit that.  what if i want to edit a function? its easy to edit a specific instance of a funtion but what if i want to edit how that function is defined?
<<

jason

User avatar

Hero Member
Hero Member

Posts: 1013

Joined: Sat Jun 21, 2008 6:23 pm

Location: USA

Post Thu Feb 12, 2009 10:16 pm

Re: Firebug and javascript

Pull down a local copy and edit that.
<<

borsodas

Post Fri Feb 13, 2009 2:36 pm

Re: Firebug and javascript

thank you so much, cool thats what i was thinking.  ok so once i edited that how do i replace the file i edited with what is rendering in my browser. i believe there are some tutorials that show this but, you have a better idea of specifically what im talking about. 
<<

borsodas

Post Fri Feb 13, 2009 2:50 pm

Re: Firebug and javascript

oh i think i got it.  change the a href link to the external javascript on the main html page and link it to my own javascript?
<<

jason

User avatar

Hero Member
Hero Member

Posts: 1013

Joined: Sat Jun 21, 2008 6:23 pm

Location: USA

Post Fri Feb 13, 2009 3:15 pm

Re: Firebug and javascript

Yup, that should do the trick.
<<

borsodas

Post Fri Feb 13, 2009 4:36 pm

Re: Firebug and javascript

im working on a site in pligg and want to change anonymous vote to true, i want to allow people to vote on a site without logging in

here is a sample site im working on


ideabookmark.com





here are some resources that i have been reading that have been of only little help

http://getfirebug.com/console.html


www.digitalmediaminute.com/screencast/firebug-js/
Last edited by borsodas on Fri Feb 13, 2009 4:39 pm, edited 1 time in total.
<<

borsodas

Post Fri Feb 13, 2009 4:37 pm

Re: Firebug and javascript

if i was debugging this from my browser could i make changes to the page just with firebug to these external javascript files im not sure.

http://www.cncmachining.wordpress.com
Last edited by borsodas on Tue Feb 17, 2009 12:50 pm, edited 1 time in total.

Return to Web Applications

Who is online

Users browsing this forum: No registered users and 0 guests

cron
.
Powered by phpBB® Forum Software © phpBB Group.
Designed by ST Software