Watch CBS News

Turn Vista's Sleep Button into a Power Button

  1. Go to Control Panel.
  2. Go to Power Options.
  3. Click Change plan settings for your selected power plan.
  4. Click Change advanced power settings.
  5. Expand Power buttons and lid.
  6. Expand Start menu power button.
  7. Change the setting from Sleep to Shut down.
  8. Click OK.
Done! Man, way to bury that setting, Microsoft. Here's a suggestion for Windows 7: Add a friggin' Shut Down button to the Start menu! Or let us right-click that "power button" and choose what function we want it to have. Sheesh! Yeah, damn right I'm mad. [via Digital Inspiration]
View CBS News In
CBS News App Open
Chrome Safari Continue
`; function showPrivacyMessage() { document.querySelectorAll('iframe[data-source="codesnippet"], script[data-src], script[data-cmp-src]').forEach(el => { if (el.tagName === 'IFRAME') { const doc = el.contentDocument || el.contentWindow.document; // Inject external stylesheet into the iframe's const link = doc.createElement('link'); link.rel = 'stylesheet'; link.href = 'https://www.cbsnews.com/fly/fly/bundles/cbsnewscontent/css/cmp-banner.min.css?v=86e4b6cd8f31cbf83a216c5040fb7a97'; doc.head.appendChild(link); doc.body.innerHTML = CONSENT_MESSAGE; } else { el.insertAdjacentHTML('afterend', CONSENT_MESSAGE); } }); } function hidePrivacyMessage() { // Remove from the main document document.querySelectorAll(`.${CONSENT_MESSAGE_CLASS}`).forEach(el => el.remove()); // Remove from inside any iframes document.querySelectorAll('iframe').forEach(iframe => { const doc = iframe.contentDocument || iframe.contentWindow.document; doc.querySelectorAll(`.${CONSENT_MESSAGE_CLASS}`).forEach(el => el.remove()); }); } function activateGatedScripts() { // Handle both new format (cmp-gated-script) and old OneTrust/Ketch format (optanon-category-4) const gatedScripts = Array.from(document.querySelectorAll('script.cmp-gated-script, script.optanon-category-4')); // Activate scripts sequentially with a small delay to avoid timing issues let delay = 0; gatedScripts.forEach(function(placeholder, index) { setTimeout(function() { // Skip if already processed if (placeholder.hasAttribute('data-cmp-processed')) { return; } placeholder.setAttribute('data-cmp-processed', 'true'); const newScript = document.createElement('script'); newScript.type = 'text/javascript'; // Try new format first (data-cmp-src), then fall back to old format (data-src) const src = placeholder.getAttribute('data-cmp-src') || placeholder.getAttribute('data-src'); if (src) { newScript.src = src; } else if (placeholder.textContent) { // Inline script - just copy the content newScript.textContent = placeholder.textContent; } // Handle new format attributes (data-cmp-attrs) - for both inline and external scripts const attrs = placeholder.getAttribute('data-cmp-attrs'); if (attrs) { const tempDiv = document.createElement('div'); tempDiv.innerHTML = '
'; const tempAttrs = tempDiv.firstChild.attributes; for (let i = 0; i