webOS Nation Forums >  Homebrew >  webOS Patches > [Patch] Browser - Sharing Super Mix Patch [2.1.0]
[Patch] Browser - Sharing Super Mix Patch [2.1.0]
  Reply
Like Tree2Likes

 
Thread Tools Display Modes
Old 04/02/2011, 10:30 AM   #1 (permalink)
Member
 
Posts: 1,833
This patch is a combined version of the Bad Kitty/Twee/Tweed/Spaz Super Mix patches. It is based on work by Thomas Coe, fritos1406, @benyfish, @semicolonapps, and Micah N Gorrell.


It provides the following options:
  • Share Via:
    - Facebook (via status)
    - Bad Kitty
    - Spaz/Spaz Beta/Spaz Special Edition
    - Twee
    - Tweed
    - Carbon (Official only, Beta does not support crossapp)
    - SMS (auto-shortens URL)
    - Email
  • Page:
    - Add Bookmark
    - Add to Launcher
    - Send Via Neato!
    - Add to Spare Time
    - Add to Relego
    - Copy to Clipboard
    - Shorten URL (is.gd)
    - ReKindleIT! (opens in new window)
  • Browser Shortcuts:
    New Card: Gesture+N;
    Add Bookmark: Gesture+M;
    Add To Launcher: Gesture+L;
    Bookmarks: Gesture+B;
    History: Gesture+H;
    Share Via SMS: Gesture+S;
    Share Via Email: Gesture + E;
  • Private Browsing

To edit which options are shown, install the Tweaks app and flick the switches on and off in the Browser category.

If you would like to edit the files yourself, you can find the latest version here:
https://www.dropbox.com/s/dwhsw28qvivrpzm
__________________
screwdestiny
PSN Twitter Last.FM

Last edited by malpha; 04/12/2011 at 11:44 AM.
malpha is offline   Reply With Quote
Liked by VasTheGreek likes this.
Old 04/02/2011, 10:36 AM   #2 (permalink)
Member
 
Posts: 1,833
Move along, nothing to see here....
__________________
screwdestiny
PSN Twitter Last.FM

Last edited by malpha; 04/12/2011 at 09:38 AM.
malpha is offline   Reply With Quote
Old 04/02/2011, 01:26 PM   #3 (permalink)
Member
 
reidoreilly's Avatar
 
Posts: 21
Is their a patch for just to share via sms?
reidoreilly is offline   Reply With Quote
Old 04/02/2011, 02:10 PM   #4 (permalink)
Member
 
Posts: 1,833
Quote:
Originally Posted by reidoreilly View Post
Is their a patch for just to share via sms?
Just comment out the lines you don't want (Twitter, Neato, Facebook, Spare Time, Relego, Shorten) and leave the Share Via SMS line.

-- Sent from my Palm Pre using Forums
__________________
screwdestiny
PSN Twitter Last.FM
malpha is offline   Reply With Quote
Old 04/02/2011, 04:31 PM   #5 (permalink)
Member
 
Posts: 552
Brilliant. Exactly what I was looking for.

I noticed that your patch conflicts with the Private Browsing patch. It would seem that maybe your patch should incorporate that patch as well, because it modifies the Browser App menu. Any chance you could do that?

Thanks again.
huladaddy is offline   Reply With Quote
Thanked By: malpha
Old 04/02/2011, 06:53 PM   #6 (permalink)
Member
 
Posts: 178
Perfect, thanks! The default options are spot on for me.
yellowhammer is offline   Reply With Quote
Thanked By: malpha
Old 04/02/2011, 11:24 PM   #7 (permalink)
Member
 
Posts: 1,833
Quote:
Originally Posted by Ubuntite View Post
Brilliant. Exactly what I was looking for.

I noticed that your patch conflicts with the Private Browsing patch. It would seem that maybe your patch should incorporate that patch as well, because it modifies the Browser App menu. Any chance you could do that?

Thanks again.
Yeah, I forgot about that! I've updated the patch in the first post to include Private Browsing, also I rearranged some of the menu items to accomodate since I enabled it by default. The New Card command is now last, I figured that was maybe the least used command. But you can change it around, of course.

As a side note, the gesture commands for History and Bookmarks are still a bit off. They work, it's just that if you swipe back from the HIstory or Bookmark without selecting an item there, the location bar gets stuck and you can't type. You can refresh the page via the menu or Gesture+R and it will go back to normal, though.

EDIT: The Refresh page is now the last command...
__________________
screwdestiny
PSN Twitter Last.FM

Last edited by malpha; 04/03/2011 at 11:42 AM.
malpha is offline   Reply With Quote
Old 04/05/2011, 06:20 PM   #8 (permalink)
Member
 
Posts: 1,833
Updated first post with version that actually has the correct appid for Tweed...^^;;
__________________
screwdestiny
PSN Twitter Last.FM
malpha is offline   Reply With Quote
Old 04/07/2011, 04:34 PM   #9 (permalink)
Member
 
Posts: 137
I keep getting "patch installation failed. I AM modifying it according to parameters, but it doesn't seem to want to install. I ahve alse removed all other browser related patches. no joy.

--MGb

Update - the unmodified patch also failed.
__________________
http://www.twitter.com/DeadTechnology - All things geeky (mostly Palm)
http://www.twitter.com/oneminutecubs - All things Cubs

Last edited by mgbmusic; 04/07/2011 at 04:35 PM. Reason: Added update
mgbmusic is offline   Reply With Quote
Old 04/07/2011, 04:46 PM   #10 (permalink)
Member
 
Posts: 137
Here's a stupid idea - is this a webOS 2.0 patch by chance??

--MGb
__________________
http://www.twitter.com/DeadTechnology - All things geeky (mostly Palm)
http://www.twitter.com/oneminutecubs - All things Cubs
mgbmusic is offline   Reply With Quote
Old 04/07/2011, 04:46 PM   #11 (permalink)
Member
 
Posts: 1,833
Um, I dunno, what do your logs say? There's three different files that are modified: page-applicationmenu.js, page-assistant.js, and startpage-assistant.js. If there are no other patches, it's possible your patches didn't leave the original files like they were supposed to and you need to send the originals back to the device.

EDIT: It was made using 2.1.0 files....may work on 2.0, def won't work on 1.4.5
__________________
screwdestiny
PSN Twitter Last.FM
malpha is offline   Reply With Quote
Old 04/07/2011, 04:48 PM   #12 (permalink)
Member
 
Posts: 137
Ahh...I misread the title. I thought it meant patch version 2.1.0

In other words, I'm an *****...

--MGb
__________________
http://www.twitter.com/DeadTechnology - All things geeky (mostly Palm)
http://www.twitter.com/oneminutecubs - All things Cubs
mgbmusic is offline   Reply With Quote
Old 04/08/2011, 09:08 AM   #13 (permalink)
Member
 
Posts: 289
Quote:
Originally Posted by malpha View Post
As an example:



The above is a code snippet from the patch. All the lines that don't have a // after the + show up in the menu, in that order. Those that do, don't. If you want something to show up, remove the // (uncomment). If you want something to go away, add the // (comment) AFTER THE PLUS.

Do not uncomment the Page and Share Via labels.

Just search for the line START MODIFYING HERE and you can un/comment the following lines:
I'm a little confused here. When I open the file, NONE of these scripts have a + in front of it. The plus appears to be one line below it. And all of them appear to have the // in from of it. I think I'm missing something or just don't understand what it is that I'm doing....
kristoffer10 is offline   Reply With Quote
Old 04/08/2011, 09:59 AM   #14 (permalink)
Member
 
Posts: 1,833
Quote:
Originally Posted by kristoffer10 View Post
I'm a little confused here. When I open the file, NONE of these scripts have a + in front of it. The plus appears to be one line below it. And all of them appear to have the // in from of it. I think I'm missing something or just don't understand what it is that I'm doing....
Make sure you're opening it in a decent text editor....not Microsoft Word/Notepad/Wordpad. If you're on Windows, try Notepad++. Just download the patch file myself and the +'s and //'s are where they should be.

Here's what the relevant part is supposed to look like (except there'll be tabs after the + that get condensed here):
Quote:

+ {label:$L('Add Bookmark'), shortcut:'m', command:'add-bookmark-cmd'},
+ {label:$L('Add To Launcher'), shortcut:'l', command:'add-launch-icon-cmd'},
+ MenuData.ApplicationMenu.NeatoThatUrl,
+ MenuData.ApplicationMenu.AddToSpareTime,
+ //MenuData.ApplicationMenu.AddToRelego,
+ MenuData.ApplicationMenu.CopyToClipboard,
+ //MenuData.ApplicationMenu.ShortenURL,
+ //MenuData.ApplicationMenu.ReKindleIt,
+ ]
+ },
+ {
+ label: $L("Share via..."),
+ items: [
+ MenuData.ApplicationMenu.ShareViaFacebook,
+ MenuData.ApplicationMenu.TweetViaBadKitty,
+ MenuData.ApplicationMenu.TweetViaSpaz,
+ //MenuData.ApplicationMenu.TweetViaTwee,
+ //MenuData.ApplicationMenu.TweetViaTweed,
+ //DOES NOT WORK: MenuData.ApplicationMenu.TweetViaCarbon,
+ {label:$L('SMS'), shortcut:'s', command:'share-sms-cmd'},
+ {label:$L('Email'), shortcut:'e', command:'share-email-cmd'},
+ ]
__________________
screwdestiny
PSN Twitter Last.FM
malpha is offline   Reply With Quote
Old 04/08/2011, 10:19 AM   #15 (permalink)
Member
 
Posts: 289
Ok, got it....I was reviewing it on Wordpad. I'll try to install Notepad++ on my laptop, that's probably the issue. Thanks!
kristoffer10 is offline   Reply With Quote
Old 04/12/2011, 03:17 AM   #16 (permalink)
Member
 
Posts: 1,833
I submitted this patch to Preware. It allows you configure options using the Tweaks app. You no longer have to edit the file manually.

Edit: If this patch is not working for you right now, it's cause I need to update it with the correct owner. Sorry. ^^;;
__________________
screwdestiny
PSN Twitter Last.FM

Last edited by malpha; 04/12/2011 at 09:56 AM.
malpha is offline   Reply With Quote
Old 04/12/2011, 10:12 AM   #17 (permalink)
Member
 
Posts: 271
Can't wait for the update in preware. I downloaded it and used it in tweaks but it didn't work. =(


-- Sent from my Palm Pre using Forums
__________________
- Skinneejay -
skinneejay is offline   Reply With Quote
Old 04/12/2011, 10:51 AM   #18 (permalink)
Member
 
peterlemonjello's Avatar
 
Posts: 1,527
The options I have enabled under the 'Page' & 'Share Via' groups in Tweaks aren't showing up in my browser menu. Anyone else have this problem
peterlemonjello is offline   Reply With Quote
Old 04/12/2011, 10:53 AM   #19 (permalink)
ght
Member
 
ght's Avatar
 
Posts: 772
Quote:
Originally Posted by peterlemonjello View Post
The options I have enabled under the 'Page' & 'Share Via' groups in Tweaks aren't showing up in my browser menu. Anyone else have this problem
Edit: If this patch is not working for you right now, it's cause I need to update it with the correct owner. Sorry. ^^;;


At least I hope that's what's up, as I am having the same issue.
ght is offline   Reply With Quote
Old 04/12/2011, 11:12 AM   #20 (permalink)
Member
 
minego's Avatar
 
Posts: 598
Currently you can't install this patch if you have the "View Source" patch installed. Is it possible that you can fix the conflict, or merge "View Source" into this patch?
minego is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0