Tag Info

Hot answers tagged

11

HTTP Header: Content-Disposition Have the server include an additional Content-Disposition header when serving the PDFs: Content-Disposition: attachment; filename="<MyPDF.pdf>" This provides the browser with a strong suggestion for the desired filename and suffix. See How to encode the filename parameter of Content-Disposition header in HTTP? for a ...


3

This is spam, introduced by an extension, through superfish.com. AdBlock is not the cause! AdBlock blocks the injected ad, so the extension inserts the text equivalent. Disabling AdBlock will remove the text, because it allows the original injection to take place, and will decrease page load time as the secondary text injection is no longer required. ...


2

If you had an alert dialog appearing with an OK button, then this AppleScript code would close it. tell application "System Events" to tell process "Safari" if exists (button "OK" of window 1) then click (button "OK" of window 1) end if end tell You'll likely need to customise this to fit your exact situation. If the alert dialog appears ...


2

Using OS X 10.9.4 and Safari 7.0.5, I've replicated the results of your shortcut alteration attempt. It seems that adding the new shortcut doesn't replace the old one. Removing everything from the Favorites Bar works for me. This is certainly not an ideal solution, but depending on how you assign value to the usefulness of the Favorites Bar and the ...


2

Just enable Show Developer Menu in Safari's Preferences, Advanced tab. It will enable the option Inspect Element when you right click the page. You can also start it with Cmd+Option+I. You can get more info about this option in Safari for Developers - Tools and Safari Web Inspector Guide: The Develop Menu.


2

Yes, Greasemonkey or "User scripts" were the ones that popularized this. For one option on Mac/Safari, please see http://www.macupdate.com/app/mac/20718/greasekit


1

Just a blind guess: On the Macs with the issue, install RCDefaultApp, and use it to check if the settings for the mime type and .pdf extension are correct. Could be that they're linked to a Windows VM, for instance.


1

Safari doesn't support this out of the box. You can do this with Keyboard Maestro using a macro such as this:


1

The way to determine what changed is to diff the current folder against a backup copy from when the code sign was valid. Why could be as simple and harmless as bit rot or a filesystem error and it could be that some other tool injected code. Unless you routinely list and checksum each file in /Applications/Safari.app and compare those results, your best ...



Only top voted, non community-wiki answers of a minimum length are eligible