|
|
I've been asking for a working version of the now obsolete Blogger Content Warning Autoskip script (http://userscripts.org/scripts/show/32033), for some time now. Someone has finally responded with a rather easy solution, but has not implemented it. May someone with the know how please follow through and upload a working version or maybe offer a better solution? See discussion:
Solution:
|
|
|
um... interesting site lol. including: https://www.blogger.com/blogin.g?blogspotURL=* might do it. |
|
|
It's already included in the old obsolete script:
var continueButton = document.getElementById('continueButton');
The problem with Blogger's new interstitial is that when it's redirected using the autoskip script, the blog loads within the iframe of the interstitial, thus the section outside the frame is cut off. When you scroll past the frame nothing but the blog's background is shown. The issue is caused by the auto redirect. If you refresh the page everything is back to normal. Here are two screen shots illustrating what happens: http://bayimg.com/paOOpaABD
The image on the right is the result of using the autoskip script. On the left is what the blog looks like normally. If you want to see it for yourself. Install the autoskip script (http://userscripts.org/scripts/show/32033) and visit a blog with the new interstitial like artnudes.blogspot.com. So, we need a script that works with both the new and old Blogger content warning interstitial.
|
|
|
This appears to do what you want, based on a successful test of the two test sites provided. It simulates a click on the continue link, avoiding the need to directly load the site. Tested with Firefox 3.0.7.
// ==UserScript==
// @name Blogger content warning autoskip
// @namespace http://blogger.com/
// @include https://www.blogger.com/blogin.g?blogspotURL=*
// ==/UserScript==
var continueButton = document.getElementById('continueButton');
if (continueButton)
{
var oEvent = document.createEvent("MouseEvents");
oEvent.initMouseEvent("click", true, true, window, 1, 1, 1, 1, 1, false, false, false, false, 0, null);
continueButton.dispatchEvent(oEvent);
}
|
|
|
Awesome! Can you please upload it. |
|
|
Never mind. I uploaded it myself. Hope you don't mind. It seems to be working perfectly. Thank you so much!
|