CYW as a replacement for Platypus?

This forum contains topics for general questions about Customize Your Web

CYW as a replacement for Platypus?

Postby SilverWave » Sat May 29, 2010 4:17 am

Hi,

I have been using a combination of Full Greasemonkey scripts and Platypus but I am looking for a replacement for the upcoming Firefox 4.0 (aka 3.7a5+).

So is CYW a drop-in replacement or is some functionality missing?
(I have looked through the video's and it does look good. I am going to test it shortly).

As long as Greasemonkey is updated for FF4.0 then my old scripts will continue to work, so it will just be new stuff as I come across it or a web site changes and breaks my existing script.

I mainly use cut, relax, Isolate, Make BW and Fix Page.

Cheers.
Last edited by SilverWave on Sat May 29, 2010 3:28 pm, edited 1 time in total.
SilverWave
 
Posts: 3
Joined: Sat May 29, 2010 4:05 am

Re: CYW as a replacement for Platypus?

Postby rudolf.noe » Sat May 29, 2010 12:06 pm

Hi,
thanks for your feedback.

In my opition CYW is a replacement for Platypus as it has almost all of its functionality with the big advantage that you can re-edit your script at any time (which is not possible with Platypus).

Nevertheless some funtionality is missing or different:
Isolate is not implemented yet but will be available in the next version.
You can mimic the Relax feature by using the modify action and overwriting the size and positioning attributes (even this is not that comfortable)
Make BW can also be achieved using the Modify action.
I don't know what the fix page action is doing
Thanks & Regards
Rudolf
rudolf.noe
Site Admin
 
Posts: 16
Joined: Sat Sep 26, 2009 11:55 am

Re: CYW as a replacement for Platypus?

Postby SilverWave » Sat May 29, 2010 3:27 pm

rudolf.noe wrote:Hi,
thanks for your feedback.
...
Isolate is not implemented yet but will be available in the next version.
...
Thanks & Regards
Rudolf


Fantastic! I'm in :-)

I plan to now switch to CYW to create repeatable scripts in place of Platypus.
For one-off's Aardvark looks like it will do the job.

Thanks for the incredible amount of work you have invested in this project.

___
PS Thanks for making this available for Linux.
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.5pre) Gecko/20100528 Ubuntu/10.04 (lucid) Namoroka/3.6.5pre - Build ID: 20100528051616
SilverWave
 
Posts: 3
Joined: Sat May 29, 2010 4:05 am

Re: CYW as a replacement for Platypus?

Postby DaleStan » Sun Jun 20, 2010 1:44 pm

So, I am also trying to use CYW as a replacement for platypus, and I can't find the "execute arbitrary regex" option, nor a workable alternative.

There is (I believe) a reliable XPath to a page element that, if I can type my regexes correctly, matches the case-insensitive regex
/(\<img.*?src="(http.*?)_thumb(\.((jpg)|(jpeg)|(gif)))".*?\>/
(an IMG tag where the filename of the source ends with _thumb)
Once I find that element, I want surround it with an href as so:
"<a href=\"$2$3\">$1</a>"
(Turn the image into a link to the image, but without _thumb)

I can find the "Insert HTML" option, but it does not have any mention of any way to use the content of the element (to wit, the src attribute) to decide what HTML to generate.[0] Insert Javascript is even worse; I can't figure out how to insert an onclick action at all, much less an onclick action that does different things depending on an attribute of the element being modified.

So: Is this even possible with CYW? If so, what option should I be using, and/or what terms should I have searched for in the wiki? regex and "regular expression" both returned no results.

[0] It also doesn't have the unnecessary but reassuring "Insert around" or "Surround with" options
DaleStan
 
Posts: 1
Joined: Sun Jun 20, 2010 1:11 pm


Return to GENERAL

Who is online

Users browsing this forum: No registered users and 1 guest

cron