The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features

See the new Forums

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

16. November 2011, 08:59:05

Moderator

Tamil

:-(|)

Posts: 115322

Problem with button code

The following code is shown as Block Ads button. This button worked before and now it is not working.
[url=opera:/button/Set preference, "Network|Enable Content Blocker=1",,"Content Blocker","Expand enabled" > Set preference, "Network|Enable Content Blocker=0",,"Content Blocker","Expand disabled"]Block Ads[/url]


When you click button the action is the following and makes it useless.
Set preference, "Network|Enable Content Blocker","Expand enabled" > Set preference, "Network|Enable Content Blocker","Expand disabled"

19. November 2011, 16:24:54

Moderator

Tamil

:-(|)

Posts: 115322

This is problem with My Opera parser.

19. November 2011, 17:25:58

Looks like a not too common issue - the last time I tried a button it was fine. So I think this has something to do with a specific type of button code.
Windows 7 SP1 x86 edition and Windows XP Service Pack 3.
If you need any help from me with regards to Opera, please make a comment on any of my blog posts.
Support Opera wishes

20. November 2011, 08:28:43

Moderator

sgunhouse

Volunteer

Posts: 66788

The problem seems restricted to the equals sign (and whatever follows it inside the quotes). When you hover the link, there is no "=" nor the equivalent escape code %3D and likewise the number 1 or 0 is missing. Which is the same results as Tamil posted.

20. November 2011, 08:47:34

Pesala

Reclining Buddha

Posts: 27343

Block Ads Does this work?
Skins Tips Buttons Backup Security User Scripts Language Forums
Browser JS Changelogs Opera Next Dragonfly Bugs FTP
My Website Opera Review My Fonts IrfanView Search Downloads
Opera 11.64 on Windows 7 64-bit • AMD A10-6800K, 8 Gbyte RAM specs idea
Rules of Conduct and Posting RulesPlease Don't ShoutEditing PostsOpera Config Links

20. November 2011, 09:01:22

Originally posted by Pesala:

Block Ads Does this work?

No, it doesn't.

20. November 2011, 10:35:13

Originally posted by Pesala:

Block Ads Does this work?



Yes it works and produces the correct code -

Set preference, "Network|Enable Content Blocker= 1",,"Content Blocker","Expand enabled" > Set preference, "Network|Enable Content Blocker= 0",,"Content Blocker","Expand disabled"


Great.

@Saskatchewan, it is working for me.
Windows 7 SP1 x86 edition and Windows XP Service Pack 3.
If you need any help from me with regards to Opera, please make a comment on any of my blog posts.
Support Opera wishes

20. November 2011, 11:57:47

Moderator

Tamil

:-(|)

Posts: 115322

Originally posted by Pesala:

Does this work?

20. November 2011, 11:59:42

It seems to produce the correct code, but... it doesn't work for me confused. I even checked it on a different Opera installation.

20. November 2011, 12:20:35

Moderator

Tamil

:-(|)

Posts: 115322

Originally posted by Saskatchewan:

It seems to produce the correct code, but... it doesn't work for me

This is due to a space between = and 1/0. Block Ads

20. November 2011, 12:54:48

Oh, I've seen that space, but I didn't think it could make a difference. Now it works smile.

Forums » My Opera » My Opera: Feedback, questions and discussions