Antoher solution found for an other script (Flickr Functional Suite) - I think it can help too...

in
Subscribe to Antoher solution found for an other script (Flickr Functional Suite) - I think it can help too... 1 post, 1 voice

decembre Scriptwright
FirefoxWindows

Here the solution for Flickr Functional Suite, read here :

Help : Inregration with AutoPager - by "teesoft forum" - Autopager Forum

Thanks to him!

[b]PS : (read the post to know more about the tweaks)[/b]

_____________________________________________________________________
_____________________________________________________________________________

The Solution : Just Install one of these 2 scripts on Firefox :
(it is not necessary to delete the oder, but i have made a backup before, because it's a pain to collect all these informations in "Flickr Fonctional Suite" and i don't want lost nothing).

- member.teesoft.info/autopager/flickr_functional_suite.use...

Explanation by teesoft :
" It includes two changes. Firstly :

window.addEventListener('AutoPagerAfterInsert', function (e) {CatFlickrSuite.init();}, false);

is append to the end of the script.

Secondly, add a random prefix to the id generated by the script. The old script generate ids like CatFlickrSuite1, CatFlickrSuite2, ... There will be duplicated ids after page merged.
The new script add an random prefix to it, CatFlickrSuite0.9124694761846248-1,CatFlickrSuite0.9124694761846248-2,.... There will no duplicated ids any more.
........

Or this one :

- member.teesoft.info/autopager/flickr_functional_suite_tun...

Explanation by teesoft :
" More tuning: Process only the added content in AutoPagerAfterInsert.".......

- The difference with the both ??? :

"I will prefer the second one if it function well.
The first one process the whole document each time AutoPager load a new page, but the second one is faster since it process only the new inserted contents imported by AutoPager."
And , these scripts work fine with Autopager ! I am a Happy - Flickr - Alcoholic !
_____________________________________________________________________

Not working.. solution :
[ I let it here for the "how to edit a script 'explanation"... but something don't work with it : If i can interact with the script to change the specific/color, now , i can't view the Specific/colors after 2 or 4 pages load, I try to change the "time to load after ..." parameter , 50, 100,1000, 2000, 5000, but i have not find the good setting. ]

- "AutoPager's solution doesn't need a call back but an event listener.
I think you can archive your goal append the following line to the script
":

- Open the Console of Greasemonkey script (Right-Click - on Monkey Face > "Gérer les scripts")

- Find and select "Flickr Functional Suite" in the Left panel .

- Edit it withNotePad++ ( Press "Edit" under the panel, you can chose the notepad you want but this one is very good).

- Change this code ( at the end, line 1094 ) :

window.addEventListener('load', function (e) {CatFlickrSuite.init();}, false);

by this one :

window.addEventListener('AutoPagerAfterInsert', function (e) {CatFlickrSuite.init();}, false);

- Save and refresh your page....

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel