Questions tagged [web-browser]
The web-browser tag has no usage guidance.
53
questions
0
votes
1
answer
21
views
How can I trigger `browse-url-at-point` using C-c C-o on URLs within programs?
C-cC-o nicely opens the URL under the point in Emacs org-mode.
goto-address-mode can likewise be added as a minor mode to a program's major mode,
(add-hook 'python-mode-hook #'goto-address-mode)
That ...
1
vote
0
answers
52
views
How can I have `browse-url-firefox` give focus to my web browser?
I'm trying to customize WWW url browsing in one specific mode.
Looking at the documentation for browse-url led me to believe this could be achieved as follows with browse-url-browser-function:
(defun ...
0
votes
0
answers
22
views
Opening hyperlinks stops working when browser runs in sandbox (firejail)
Opening links (e.g. [[https://www.example.com][example]]) stops working when browser (librewolf) runs in a sandbox (firejail). The only output it gives is "nil". It works again when sandbox ...
3
votes
1
answer
171
views
How to toggle between browsers?
I set chromium as my default browser by putting the following lines in my init:
(setq browse-url-browser-function 'browse-url-generic
browse-url-generic-program "chromium")
Sometimes ...
0
votes
0
answers
18
views
Open URL in Org entry under cursor in agenda view and mark as done
I have a recurring task in my Org files for which I need to open a URL given in that entry.
Currently, from the agenda view I need to press enter to switch to the buffer containing that entry, then ...
1
vote
0
answers
209
views
Why EAF browser is opening outside emacs buffer?
I'm new to emacs, so excuse any naivety that you might see.
These are my sys and emacs config.
System Version: macOS 12.5 (21G72)
GNU Emacs 28.1
I've tried installing eaf and eaf-browser in emacs, i ...
0
votes
0
answers
92
views
Is there a way to create a emacs shotcut that runs a specific terminal command before opening emacs?
a friend of mine recomended that I use a program called obsidian to make notes,and I quite liked the idea, but i didn't like the program. I have been searching and it seeams to me that org-roam in ...
0
votes
1
answer
509
views
set Brave as default browser in DoomEmacs
I am new to DoomEmacs, I am on Ubuntu and I want to set Brave as my default web browser. How can I do this?
Currently Chrome is set to this but I do not know how to change it.
0
votes
1
answer
241
views
How can I run JavaScript in a browser console?
I am looking for a way to stream data, using Emacs, which is accessible through an API that requires the submission of JavaScript code to a browser console:
https://developer.tdameritrade.com/content/...
0
votes
1
answer
111
views
How can I make `helm-google-suggest` use DuckDuckGo?
I quite like helm-google-suggest, but I would like it even more if it didn't connect to Google. Once you have your candidate, searching for it in a better search engine is as simple as this:
(setq ...
1
vote
1
answer
123
views
How to debug Emacs to find out why Emacs doesn't open external browser?
In Emacs (27.1) on the orgmode when I RET on HTTP link, Emacs doesn't open it on any browser (chromium, firefox, ...).
I've set these variable in my spacemacs user config:
(setq browse-url-browser-...
0
votes
0
answers
54
views
GUI Emacs opens new session of firefox with strange border
I am using emacs27 on Elementary OS.
I had to tweak Exec=/usr/bin/env XLIB_SKIP_ARGB_VISUALS=1 emacs27 %F in .desktop file to be able to run it in GUI mode.
When I am in org mode and try to open a ...
1
vote
0
answers
87
views
Annoying error message when using Atomic Chrome
I'm using Atomic Chrome. Atomic Chrome lets one associate a text area in a browser page with an Emacs buffer, so that one can edit the browser text area directly within Emacs. This involves installing ...
1
vote
0
answers
394
views
EWW very slow opening of certain pages
This question was asked on stackoverflow. Just cross posting it here for better visibility. I am too facing the same issue.
I'm using EWW Emacs browser for opening various remote pages(mostly ...
0
votes
0
answers
71
views
Getting w3 to work
I want to get the package w3 working so I can view close to full web pages in terminal Emacs. I grabbed the old release tar from their ELPA page and used package-install-file to get the package ...
0
votes
0
answers
415
views
No server remain buffer to edit for org-capture-extension
Update: I have fixed it, seem like we need stranform-square-bracket-function to due with "p" protocal
(use-package org
:hook
(org-mode . turn-on-visual-line-mode)
:config
(setq org-...
2
votes
1
answer
145
views
Open the manuals in the default web browser without accessing the internet
I am talking about this to be precise.
Suppose there are an emacs installation and a web browser on an X session (desktop). I know you can open the manuals in emacs itself using M-x info, but is it ...
1
vote
1
answer
80
views
Is there a way to generally search package or language documentation within emacs?
In this case, I'm most interested in Rust's documentation, which lives at doc.rust-lang.org/std. eww is incompatible with JS, so the documentation doesn't play nice, thus my general current soln is to ...
2
votes
1
answer
362
views
run Emacs remotely in a webpage?
I am just curious:
Is there a way to run Emacs remotely from a webpage?
For example, one can set up a JupyterHub on a Ubuntu server so that many users can access server programs from a webpage. Can ...
1
vote
0
answers
633
views
CSS Stylesheets on EWW
Began here on using eww as web browser in Emacs, but felt that it misses CSS stylish, even loading simple HTML and CSS only.
Already managed to repair libxml2 error before running it, but now would ...
1
vote
1
answer
894
views
How can I open URLs from within Emacs?
When I ran GNOME, I used to be able to click on any link in Emacs, and it would open in my default web browser.
But now that I'm using i3, it doesn't work any more, even though I haven't changed any ...
1
vote
1
answer
421
views
What EWW Emacs Web Brower Would Be Used For [closed]
Managed here to run eww, despite its requirements of libxml2-dev package BEFORE compiling and installing Emacs itself.
Have already browsed some websites, including some simple ones, only with basic ...
0
votes
1
answer
466
views
Add browser bookmark to bookmark browser
What I mean is, can I add a URL to my Emacs bookmarks, such that selecting the bookmark runs the URL through browse-url?
Desired behavior
What I would like is a bookmark-set-url function that ...
0
votes
1
answer
39
views
wrong behavior of org-open-at-point with certain url
NOTE, this only happens on mac. Linux is fine.
For the given link, which is directly copied from chrome url bar,
https://lwn.net/Articles/262464/#Quick Quiz 5
org-open-at-point will open it as ...
3
votes
1
answer
102
views
How can I sign in using Google to Emacs StackExchange to post questions
I am able to browse the Emacs StackExchange site using Emacs with M-x w3m b URL RET
I wanted to try out posting questions and answers to the site using Emacs. The main hurdle I am facing is to sign ...
2
votes
1
answer
118
views
How to call lynx on URL inside a program
During my LaTeX typesetting I need to "visually" check if URLs point to reacheable pages. I'd like to do it with lynx in a separate emacs buffer so I wrote this function:
(defun urls-check-if-working-...
3
votes
0
answers
92
views
Inspect element in Firefox from within Emacs [duplicate]
In Firefox, when I right-click anywhere on a web page and select "Inspect Element" from the popup menu, Firefox will open its Developer Tools and show me the properties for that element and ...
0
votes
1
answer
72
views
Tell Emacs to use always the same browser
In my experience xhtml-mode's browse-url-of-buffer command uses different browsers depending, I guess, on the different desktop environments (or on their absence sometimes).
My question, how can I ...
1
vote
2
answers
421
views
Cannot open new chrome tab by `(browse-url "chrome://newtab")`
I can open a web page by (browse-url "http://www.google.com"), but cannot open new tab by (browse-url "chrome://newtab"). Any workaround? I would like to have an Emacs shortcut to open a new chrome ...
4
votes
3
answers
943
views
Emacs picking the wrong browser
I'm working under org-mode.
When I click on a [http://example.com] link, it opens a tab in Firefox as expected. The .emacs config is: '(browse-url-browser-function (quote browse-url-firefox))
...
4
votes
1
answer
1k
views
Org external link - can I indicate which browser/tab to be used
Suppose I have several browsers running at any given time.
Google Chrome
Google Chrome Canary
Chromium
Opera
Safari
How can I indicate in my org mode links
[[https://www.gnu.org/software/emacs/][...
2
votes
1
answer
818
views
browse-url-browser-function for Firefox Quantum
browse-url-firefox does not work with Firefox Quantum.
If Firefox Quantum is already running, then I am told:
Firefox is already running, but is not responding. To open a new window, you must ...
4
votes
2
answers
323
views
How to open multiple webpages from org mode?
I have a list of www addresses as a list like:
- https://www.nytimes.com
- https://www.foxnews.com
and so on. I can open single elements with the command org-open-at-point which is bound to the key ...
2
votes
1
answer
1k
views
In mu4e, how do you open a message in a web browser?
I'm using the mu4e layer in spacemacs on develop. When I press a (for action) and then V, it opens an email in Firefox. But I want it to open in a browser of my choosing (qutebrowser). The manual says,...
4
votes
1
answer
301
views
Pinboard website (i.e., non-Emacs) bookmark editing in Emacs
I recently switched over to pinboard.in for organizing website bookmarks. I'm looking for a way to organize my bookmarks in Emacs. I've installed the pinboard-api package but I can't seem to find any ...
6
votes
0
answers
1k
views
orgmode open link in system browser or eww
I want orgmode web links to open in my system browser with C-o, and to open in eww with C-u C-o. This seems in line with the function description for org-open-at-point but it doesn't seem to be ...
2
votes
1
answer
2k
views
How can I open an url file in emacs dired?
When using dired in emacs, how can I open an url file in a web browser outside emacs?
3
votes
1
answer
1k
views
Copy current URL from web browser from Emacs while editing
When editing code or org-mode, I often need the URL of the page I'm viewing in Google Chrome. Is there a way to do this from Emacs? Or with an external helper script if necessary?
An example use ...
7
votes
1
answer
5k
views
your emacs does not come with xwidget support... (Windows 10)
Just unzipped and started using Emacs 25.1, hoping to get a browser running in emacs. The instructions I found had me enter
"M-x xwidget-webkit-browse-url"
And then I'm asked to complete a command ...
2
votes
1
answer
290
views
How to start a specific Firefox profile with browse-url?
In command line I can start a specific firefox profile doing someting like that:
firefox -P my_specific_profile
Is it possible to configure emacs for use a specific Firefox profile when using browse-...
2
votes
1
answer
4k
views
display images in emacs w3m in terminal
I would like w3m in emacs (in a terminal) to show me pictures.
Showing pictures in emacs gui works:
Showing pictures in the terminal without emacs works:
But in emacs w3m running in a terminal, no ...
2
votes
0
answers
272
views
How to write a function to open real hyperlinks (Org Mode, Gnus Article, elfeed hyperlinks) in a specific browser?
First off, you can find my entire current config at https://gitlab.com/mordocai/emacs.d/tree/4cfdfd76368aa687a6277a22161b40624e32b8fe, just in case I miss including something.
I currently have my ...
1
vote
1
answer
158
views
Does "Edit with Emacs" saves a local file of current edit buffer?
I'm using Edit with Emacs to edit Stack Overflow and Stack Exchange sites.
Currently I'm doing it with this message ;-)
When I click on the button under the text area of Chrome browser, I get a new ...
6
votes
1
answer
778
views
How to make browse-url-of-buffer load the same html file in the same tab in Firefox?
When editing a html file (in an Emacs buffer in HTML mode), I often review the file in my default browser (Firefox) by C-c C-v (ie, running browse-url-of-buffer). But every time I run C-c C-v, Firefox ...
1
vote
0
answers
642
views
Suggestions for a well-thought structure, for instant results inside browser from buffers
Situation
First, I hope you will not mind my poor English. When you're working with websites/webapplications, there is a good chance that you will work with HTML/CSS files. When editing such files in ...
1
vote
2
answers
666
views
problem using surfraw with helm
I'm fairly new to emacs. I'm using OS X 10.10. I have been learning to use helm. I was interested in its integration with surfraw. I installed surfraw from teh source tarball following the ...
6
votes
2
answers
3k
views
Can org-mode open a link in external browser when using prefix key?
In my Emacs I have set browse-url-browser-function to eww and org-open-at-point (org-return) will open my links using eww as expected. However, I would like to configure org-mode so that when I press ...
8
votes
0
answers
165
views
Make browse-url follow URLs with line breaks?
How can I make browse-url follow URLs with line breaks?
Example from RFC 1738:
Yes, Jim, I found it under <URL:ftp://info.cern.ch/pub/www/doc;
type=d> but you can probably pick it up from <...
0
votes
1
answer
118
views
browse-url default to certain url
Whenever I use browse-url function inside of w3m I would like to have
a default URL displayed for me.
It happens that what I mostly do is google searches, so if I could
have https://google.com/search?...
2
votes
1
answer
346
views
Links open firefox with starting page, instead of link content (linux)
Problem:
For some mysterious reason, when I open a link in firefox, a new firefox instance opens. Also note instead of the content of the link, my home-page shows up.
Instead I would like a new tab ...