New answers tagged

2

The tab preview that you are noticing is a newly introduced feature made available in recently released Safari 14. Safari 14 is going to be made available with the upcoming release of macOS 11 Big Sur and has also been made available via a software update for the users of macOS Catalina 10.15 and macOS Mojave 10.14. As of this writing, there is no directly ...


0

I use my own bookmarklet to save other bookmarklets (ironically) on ipad right from safari. While this can be done by other ways (modify long touch menu) they require editing system files. So obviously js comes to help as links are in DOM. All we need is to extract href from tag. Here's the code of my simple bookmarklet, just copy and paste as any bookmark ...


1

Using the Ask Question button that's in the upper right hand corner of the page, like in this question, and having multiple windows each with multiple tabs to a Ask Different web page, as well as some non-related pages... The following example AppleScript code clicks the Ask Question button on every page having the button. It doesn't matter what window or ...


0

I still need to find a way to do that on every window but otherwise for a single window I found this : tell application "Safari" repeat repeat with i from (count of tabs of window 1) to 1 by -1 set thisTab to tab i of window 1 set current tab of window 1 to thisTab tell application "Safari" ...


0

Not the most eloquent way of doing it but still delivers results without any extension. Hover over link, open contextual menu (two finger press), select 'Inspect Element' (this will open split window and land you on selected element), double click on text between span tags (to make text field 'active'), copy needed part of text, close split window.


0

I'm not sure if this will work on certain macOS or configuration you're using. But on my setup I get a borderless PDF with these steps: Create a borderless paper size as described in the website you've mentioned. Have the borderless paper size set as the default one in System Preferences > Printers & Scanners > Default paper size. Now that when I ...


1

If you are just trying to set the value of the tab index of item 1 of t to a variable, then is there some reason you can not just use set theTabNumber to index of item 1 of t instead of set theTabNumber to item 1 of t? -- This code, set theTabNumber to index of item 1 of t returns an integer, representing the r/o index of the tab, ordered left to right in ...


0

"Solved" by rebooting! Sorry to waste your time... lesson for the next guy I guess! Cheers.


3

One thing that you could do is reinstall macos without removing personal files, or other applications. To do this, restart and hold ⌘ + R while booting. You should go into recovery mode then click reinstall macos, and follow the on-screen instructions. Should take 10 to 30 minutes.


0

The is to change the default coulor scheme for your dark mode in preview. MacOS Mojave and Dark Theme - Preview for .png file with transparent background not white


0

I am not sure what exactly are you trying to accomplish, but I have an AppleScript code to replace characters and maybe it can be a good way for you to start. This solution works no matter the program because it uses GUI scripting, you just need to select the text and invoke the Service. As you can see the code is changing all : for /, you can use it to ...


1

The browsing history is located in a database stored at ~/Library/Safari/History.db.1 This database can be accessed with sqlite3 via Terminal2: sqlite3 ~/Library/Safari/History.db At least on my device, the database has the following tables: history_client_versions history_items history_tombstones history_event_listeners ...


2

Any sandboxed app always has full access to anywhere in its own sandbox. Safari's sandbox is ~/Library/Containers/com.apple.Safari


1

Most issues with web browsers in general, including Safari, can be traced back to just a few things: Damaged/Corrupt cache Damaged/corrupt settings file(s) Damaged/misbehaving add-on/extension The first thing I would do is close all your tabs then go to the "Safari" menu and select "Clear history..." Change the pop-up menu to clear &...


1

I just had a Macbook Air with Safari that would immediately crash when trying to launch. This was on a Mojave system. To fix, I would up reinstalling OS (reboot and press and hold Command+R). Safari is now working fine.


-1

I would highly recommend an app cleaner or uninstaller. You ca usually use the free versions from the App Store.


Top 50 recent answers are included