URL box/custom javascript

General questions about scripts and buttons should be asked here. Development scripts and buttons may also be posted for feedback.

Moderators: Support Staff², Support Staff, AvantGuard, Developer

cApNhOwDy
Newbie
Newbie
Posts: 20
Joined: Thu May 01, 2008 6:33 am
Windows Version: XP Pro
Avant Version: current
IE Version: 6

Re: URL box/custom javascript

Post by cApNhOwDy » Thu Sep 04, 2008 3:16 am

Correct. But I dont think that it's the code's fault, because I found out that it does the same thing regardless of whether or not I have the exception code running. So what this leads me to believe is that I dont know how to get the exception code to work in the first place.

abfan123
Avantus Maximus
Avantus Maximus
Posts: 5624
Joined: Wed Jan 26, 2005 4:24 pm
Windows Version: Vista Ultimate x64 SP2
Avant Version: 11.7 build 43
IE Version: 8
Contact:

Re: URL box/custom javascript

Post by abfan123 » Thu Sep 04, 2008 9:42 am

Maybe you've not disabled the previous script?
IE8(Pro), Microsoft Security Essentials
Main PC:
Image
Secondary PC same as primary but with Windows 7 x64 Ultimate as the OS.

cApNhOwDy
Newbie
Newbie
Posts: 20
Joined: Thu May 01, 2008 6:33 am
Windows Version: XP Pro
Avant Version: current
IE Version: 6

Re: URL box/custom javascript

Post by cApNhOwDy » Thu Sep 04, 2008 5:21 pm

The previous script isnt supposed to be disabled, the current script that we're talking about should cause the other script to recognize exception sites to disable the script on.

abfan123
Avantus Maximus
Avantus Maximus
Posts: 5624
Joined: Wed Jan 26, 2005 4:24 pm
Windows Version: Vista Ultimate x64 SP2
Avant Version: 11.7 build 43
IE Version: 8
Contact:

Re: URL box/custom javascript

Post by abfan123 » Thu Sep 04, 2008 6:33 pm

Well, I'm a bit confused now. :? :oops:
Please go to Tools>Avant Browser Options...>Add-ons>Add-ons.
What do you have checked there?
IE8(Pro), Microsoft Security Essentials
Main PC:
Image
Secondary PC same as primary but with Windows 7 x64 Ultimate as the OS.

cApNhOwDy
Newbie
Newbie
Posts: 20
Joined: Thu May 01, 2008 6:33 am
Windows Version: XP Pro
Avant Version: current
IE Version: 6

Re: URL box/custom javascript

Post by cApNhOwDy » Thu Sep 04, 2008 7:30 pm

I had both scripts enabled.

abfan123
Avantus Maximus
Avantus Maximus
Posts: 5624
Joined: Wed Jan 26, 2005 4:24 pm
Windows Version: Vista Ultimate x64 SP2
Avant Version: 11.7 build 43
IE Version: 8
Contact:

Re: URL box/custom javascript

Post by abfan123 » Thu Sep 04, 2008 7:31 pm

Only 1 auto execute script should be checked.
IE8(Pro), Microsoft Security Essentials
Main PC:
Image
Secondary PC same as primary but with Windows 7 x64 Ultimate as the OS.

cApNhOwDy
Newbie
Newbie
Posts: 20
Joined: Thu May 01, 2008 6:33 am
Windows Version: XP Pro
Avant Version: current
IE Version: 6

Re: URL box/custom javascript

Post by cApNhOwDy » Fri Sep 05, 2008 4:31 am

I've got only one of them checked right now, the Blackify script, but the exception script isnt running automatically. That's a problem, because I want both of them to work together to recognize the exception sites. Are you saying that Avant Browser isnt capable of doing multiple auto-execute scripts?

User avatar
André
Administrator
Administrator
Posts: 5787
Joined: Sat Dec 14, 1901 3:19 am
Windows Version: Windows 7 x64
Avant Version:
Location: Baltimore and McHenry, Maryland, USA
Contact:

Re: URL box/custom javascript

Post by André » Fri Sep 05, 2008 6:38 am

I think you're confused as to how sulpherdragon's script works. It is meant to be a complete replacement for the original blackify script.
Formerly known as DrDrrae.
Image
I am not a member of the development team.
Please search the forum before posting questions.

Avant Force Wiki || Avant Force Blog
Desktop:
Intel C2Q Q9550 @ 3.7GHz || 8GiBs DDR2 800 @ 435MHz || Asus P5E
112 GiB SSD || 931 GiB HDD || 2x ATI 5770 in CrossfireX || Picture

NetBook:
ASUS Eee PC 1000HE || 1.66 GHz Atom N280 || 2 GiB DDR2 667 || 320 GiB HDD

NAS:
Intel E5200 @ 2.632 GHz || 4 GiB DDR2 800 @ 421 MHz || Foxconn G31MXP-K
5.45 TiB RAID 6

User avatar
sulpherdragon
Contributor
Contributor
Posts: 222
Joined: Sat Dec 15, 2007 9:51 pm
Windows Version: Windows 7
Avant Version: 2013 Build 23
Default engine: Firefox
IE Version:
Skin:
Contact:

Re: URL box/custom javascript

Post by sulpherdragon » Sat Sep 06, 2008 3:50 am

The exceptionlist is inside the Blackify plugin. If you go into Avant Options>Addons and select Blackify. Then click Edit, you can see inside it that there is some text like this:

exceptionSite[0]="avant"
exceptionSite[1]="google"
exceptionSite[2]="wikipedia.org"
...

This is where you type in your exceptions. Its possible to put it in a seperate plugin but theres no way to force one plugin to run before another. Hope this helps.
Image

cApNhOwDy
Newbie
Newbie
Posts: 20
Joined: Thu May 01, 2008 6:33 am
Windows Version: XP Pro
Avant Version: current
IE Version: 6

Re: URL box/custom javascript

Post by cApNhOwDy » Sun Sep 14, 2008 10:16 pm

I understand now, your code works perfectly. I've said it before, but thanks to everyone who made my internet browsing experience infinitely better. Now, I can surf the web with the light off without feeling as if I was staring into a lightbulb.

User avatar
sulpherdragon
Contributor
Contributor
Posts: 222
Joined: Sat Dec 15, 2007 9:51 pm
Windows Version: Windows 7
Avant Version: 2013 Build 23
Default engine: Firefox
IE Version:
Skin:
Contact:

Re: URL box/custom javascript

Post by sulpherdragon » Tue Sep 16, 2008 11:31 pm

Glad to help :)
Image

Post Reply