webOS Nation Forums >  Homebrew >  webOS patches > [PATCH REQUEST] - Change Subject for shared urls
[PATCH REQUEST] - Change Subject for shared urls

  Reply
 
LinkBack Thread Tools Display Modes
Old 08/29/2011, 12:13 AM   #1 (permalink)
Member
 
Join Date: Aug 2005
Posts: 165
Likes Received: 9
Thanks: 24
Thanked 22 Times in 10 Posts
Default [PATCH REQUEST] - Change Subject for shared urls

Currently, when a link is shared from the browser the subject is listed as:

"Check out this web page...."

I would like to change that to something like:

--- Page Title of url being forwarded
or
--- Fwd: Page Title
or
--- A Fwd from {User Name}

__________________________________________

Also, the body of the message is automatically filled with:

"Here's a website I think you'll like: {Page Title}"

If we could change that to simply be:

"return
return
{Page Title}"

I think that will give people the option of easily clicking in front of the link to fill in text and will remove the generic text.

Thanks for looking into it!!!
__________________
intron is offline   Reply With Quote
Old 09/03/2011, 10:19 PM   #2 (permalink)
Member
 
Join Date: Aug 2005
Posts: 165
Likes Received: 9
Thanks: 24
Thanked 22 Times in 10 Posts
Default

pretty please?

or can someone point me to the file where this information is stored and I can try to figure out how to change it?
__________________
intron is offline   Reply With Quote
Old 09/06/2011, 10:21 PM   #3 (permalink)
Member
 
Join Date: Aug 2011
Posts: 108
Likes Received: 40
Thanks: 6
Thanked 84 Times in 29 Posts
Default

What device? Touchpad?

/usr/palm/applications/com.palm.app.browser/source/Browser.js

Look for shareLink:

Code:
    shareLink: function(inUrl, inTitle) {
        this.log(inUrl, inTitle);
        var msg = $L("Here's a website I think you'll like: <a href=\"{$src}\">{$title}</a>");
        msg = enyo.macroize(msg, {src: inUrl, title: inTitle || inUrl});
        var params = {
            summary: $L("Check out this web page..."),
            text: msg
        };
        this.log(params.text);
        this.$.launchApplicationService.call({id: "com.palm.app.email", params: params});
    },
GyroJoe is offline   Reply With Quote
Thanked By: intron
Old 11/18/2011, 07:18 AM   #4 (permalink)
Member
 
Join Date: Aug 2005
Posts: 165
Likes Received: 9
Thanks: 24
Thanked 22 Times in 10 Posts
Default

Yes, its thread necromancy!

Anyone know where this is located in webOS 2? Can't find it in my pre2. Would soooo love to change this.
__________________
intron is offline   Reply With Quote
Old 11/19/2011, 09:34 AM   #5 (permalink)
Member
 
Join Date: Aug 2005
Posts: 165
Likes Received: 9
Thanks: 24
Thanked 22 Times in 10 Posts
Default

See the following for a patch for this on webOS 2.1:

http://forums.precentral.net/webos-p...ml#post3247501
__________________
intron is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0