LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-11-2012, 11:07 AM   #1
LAPIII
Member
 
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 350

Rep: Reputation: 7
Is there a WebKitGTK browser that will allow me to highlight text on a webpage?


Here are some WebKitGTK brows:

Cream
Dwb
Epiphany
Jumanji
Surf
UbuMonkey
Vimprobable2
xxxterm

I've never used one of these. I just hope that they may be faster with GTK basked DE, like Gnome & LXDE.
 
Old 02-11-2012, 01:18 PM   #2
Nominal Animal
Senior Member
 
Registered: Dec 2010
Location: Finland
Distribution: Xubuntu, CentOS, LFS
Posts: 1,723
Blog Entries: 3

Rep: Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948
Even the simplest possible webkit browser I know,
Code:
#!/usr/bin/env python

if __name__ == "__main__":
    import sys
    import gtk
    import webkit

    window = gtk.Window(gtk.WINDOW_TOPLEVEL)
    webview = webkit.WebView()
    window.add(webview)

    if (len(sys.argv) > 1):
        webview.open(sys.argv[1])
    else:
        webview.open("http://www.google.com/")

    window.show_all()
    gtk.main()
which requires only python and pywebkitgtk, allows selecting text on a webpage. The selection is automatically put onto the PRIMARY clipboard, too.

Edit: This is to say that this is all built-in to webkit. If a webkit browser does not allow this, it must have gone to pretty extraordinary lengths to specifically disallow it. I'd say it is safe to assume all webkit browsers allow it.

Last edited by Nominal Animal; 02-11-2012 at 01:19 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
text highlight color in openoffice mcd Linux - Software 4 07-28-2010 06:50 PM
DQ: how do you turn off auto-copy when you highlight text in KDE? jetblackz Linux - Newbie 7 05-10-2008 06:23 PM
Recommend a PDF to Highlight or Underline Text taurusx5 Linux - Software 1 04-02-2008 02:03 PM
highlight text of a file from specified line number tanveer Linux - General 9 12-06-2006 10:27 PM
How to highlight text in vi editor Gins Linux - General 17 07-25-2006 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration